<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/enum.py, branch misc-acks-comment</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-38045: Improve the performance of _decompose() in enum.py (GH-16483)</title>
<updated>2019-11-26T22:36:02+00:00</updated>
<author>
<name>HongWeipeng</name>
<email>961365124@qq.com</email>
</author>
<published>2019-11-26T22:36:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0b41a922f95f62b620d5a197b9f2ed8e4bb70730'/>
<id>0b41a922f95f62b620d5a197b9f2ed8e4bb70730</id>
<content type='text'>
* Improve the performance of _decompose() in enum.py

Co-Authored-By: Brandt Bucher &lt;brandtbucher@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Improve the performance of _decompose() in enum.py

Co-Authored-By: Brandt Bucher &lt;brandtbucher@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove binding of captured exceptions when not used to reduce the chances of creating cycles (GH-17246)</title>
<updated>2019-11-19T21:34:03+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-11-19T21:34:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=293dd23477eef6e7c1b1e26b5bb2c1e0d79ac3c2'/>
<id>293dd23477eef6e7c1b1e26b5bb2c1e0d79ac3c2</id>
<content type='text'>
Capturing exceptions into names can lead to reference cycles though the __traceback__ attribute of the exceptions in some obscure cases that have been reported previously and fixed individually. As these variables are not used anyway, we can remove the binding to reduce the chances of creating reference cycles.

See for example GH-13135</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Capturing exceptions into names can lead to reference cycles though the __traceback__ attribute of the exceptions in some obscure cases that have been reported previously and fixed individually. As these variables are not used anyway, we can remove the binding to reduce the chances of creating reference cycles.

See for example GH-13135</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Fix spelling errors of 'initial' in enum.py (GH-16314)</title>
<updated>2019-09-21T05:22:54+00:00</updated>
<author>
<name>HongWeipeng</name>
<email>hongweichen8888@sina.com</email>
</author>
<published>2019-09-21T05:22:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bb16fb2cb8dca1fa1d67621c3175793eda7dbdc2'/>
<id>bb16fb2cb8dca1fa1d67621c3175793eda7dbdc2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34443: Use __qualname__ instead of __name__ in enum exception messages. (GH-14809)</title>
<updated>2019-07-18T18:37:13+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2019-07-18T18:37:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=323842c2792a81e87917790506ec3457832c84b3'/>
<id>323842c2792a81e87917790506ec3457832c84b3</id>
<content type='text'>
* Use __qualname__ instead of __name__ in enum exception messages.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use __qualname__ instead of __name__ in enum exception messages.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37479: on Enum subclasses with mixins, __format__ uses overridden __str__ (GH-14545)</title>
<updated>2019-07-04T18:28:37+00:00</updated>
<author>
<name>thatneat</name>
<email>thatneat@users.noreply.github.com</email>
</author>
<published>2019-07-04T18:28:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2f19e82fbe98ce86bcd98a176328af2808b678e8'/>
<id>2f19e82fbe98ce86bcd98a176328af2808b678e8</id>
<content type='text'>
* bpo-37479: on Enum subclasses with mixins, __format__ uses overridden __str__</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-37479: on Enum subclasses with mixins, __format__ uses overridden __str__</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34282: Remove deprecated enum _convert method (GH-13823)</title>
<updated>2019-06-04T21:03:10+00:00</updated>
<author>
<name>Zachary Ware</name>
<email>zach@python.org</email>
</author>
<published>2019-06-04T21:03:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=19a1e1eb86115db66c1faae5927f87e3a12692fc'/>
<id>19a1e1eb86115db66c1faae5927f87e3a12692fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35899: Fix Enum handling of empty and weird strings (GH-11891)</title>
<updated>2019-03-03T22:09:11+00:00</updated>
<author>
<name>Brennan D Baraban</name>
<email>34765317+bdbaraban@users.noreply.github.com</email>
</author>
<published>2019-03-03T22:09:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8b914d2767acba3a9e78f1dacdc2d61dbfd7e304'/>
<id>8b914d2767acba3a9e78f1dacdc2d61dbfd7e304</id>
<content type='text'>
Co-authored-by: Maxwell &lt;maxwellpxt@gmail.com&gt;
Co-authored-by: Stéphane Wirtel &lt;stephane@wirtel.be&gt;





https://bugs.python.org/issue35899</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Maxwell &lt;maxwellpxt@gmail.com&gt;
Co-authored-by: Stéphane Wirtel &lt;stephane@wirtel.be&gt;





https://bugs.python.org/issue35899</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35717: Fix KeyError exception raised when using enums and compile (GH-11523)</title>
<updated>2019-01-24T19:43:13+00:00</updated>
<author>
<name>Rémi Lapeyre</name>
<email>remi.lapeyre@henki.fr</email>
</author>
<published>2019-01-24T19:43:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1fd06f1eca80dcbf3a916133919482a8327f3da4'/>
<id>1fd06f1eca80dcbf3a916133919482a8327f3da4</id>
<content type='text'>
https://bugs.python.org/issue17467</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue17467</pre>
</div>
</content>
</entry>
<entry>
<title>Speed-up building enums by value, e.g. http.HTTPStatus(200) (#11318)</title>
<updated>2018-12-26T18:45:33+00:00</updated>
<author>
<name>Andrew Svetlov</name>
<email>andrew.svetlov@gmail.com</email>
</author>
<published>2018-12-26T18:45:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=34ae04f74dcf4ac97d07c3e82eaf8f619d80cedb'/>
<id>34ae04f74dcf4ac97d07c3e82eaf8f619d80cedb</id>
<content type='text'>
bpo-35585: Speed up enum by-value lookup</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpo-35585: Speed up enum by-value lookup</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34909: keep searching mixins until base class is found (GH-9737)</title>
<updated>2018-10-06T06:29:36+00:00</updated>
<author>
<name>Ethan Furman</name>
<email>ethan@stoneleaf.us</email>
</author>
<published>2018-10-06T06:29:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cd45385ffad8910293e5659cfe7ab036e70613b7'/>
<id>cd45385ffad8910293e5659cfe7ab036e70613b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
