<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_super.py, branch 3.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_super.py?h=3.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_super.py?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2016-12-16T18:00:15Z</updated>
<entry>
<title>Remove unused imports.</title>
<updated>2016-12-16T18:00:15Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-16T18:00:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=70d28a184c42d107cc8c69a95aa52a4469e7929c'/>
<id>urn:sha1:70d28a184c42d107cc8c69a95aa52a4469e7929c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #23722: improve __classcell__ compatibility</title>
<updated>2016-12-05T06:47:55Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2016-12-05T06:47:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=19d246745d9d013c12e9560dd020d778381780fb'/>
<id>urn:sha1:19d246745d9d013c12e9560dd020d778381780fb</id>
<content type='text'>
Handling zero-argument super() in __init_subclass__ and
__set_name__ involved moving __class__ initialisation to
type.__new__. This requires cooperation from custom
metaclasses to ensure that the new __classcell__ entry
is passed along appropriately.

The initial implementation of that change resulted in abruptly
broken zero-argument super() support in metaclasses that didn't
adhere to the new requirements (such as Django's metaclass for
Model definitions).

The updated approach adopted here instead emits a deprecation
warning for those cases, and makes them work the same way they
did in Python 3.5.

This patch also improves the related class machinery documentation
to cover these details and to include more reader-friendly
cross-references and index entries.
</content>
</entry>
<entry>
<title>Issue #23722: Initialize __class__ from type.__new__()</title>
<updated>2016-09-11T04:45:49Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2016-09-11T04:45:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=944368e1cc90a0bebaaf1a0a6f4346a81d8f46ad'/>
<id>urn:sha1:944368e1cc90a0bebaaf1a0a6f4346a81d8f46ad</id>
<content type='text'>
The __class__ cell used by zero-argument super() is now initialized
from type.__new__ rather than __build_class__, so class methods
relying on that will now work correctly when called from metaclass
methods during class creation.

Patch by Martin Teichmann.
</content>
</entry>
<entry>
<title>Issue #26718: super.__init__ no longer leaks memory if called multiple times.</title>
<updated>2016-04-13T12:27:33Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-04-13T12:27:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3d7497608ba8dd0b82d69944f484febdad7dc507'/>
<id>urn:sha1:3d7497608ba8dd0b82d69944f484febdad7dc507</id>
<content type='text'>
NOTE: A direct call of super.__init__ is not endorsed!
</content>
</entry>
<entry>
<title>Issue #21741: Update 147 test modules to use test discovery.</title>
<updated>2015-04-13T20:00:43Z</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2015-04-13T20:00:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38c707e7e0322f9139bb51ad73ede1e3b46985ef'/>
<id>urn:sha1:38c707e7e0322f9139bb51ad73ede1e3b46985ef</id>
<content type='text'>
I have compared output between pre- and post-patch runs of these tests
to make sure there's nothing missing and nothing broken, on both
Windows and Linux.  The only differences I found were actually tests
that were previously *not* run.
</content>
</entry>
<entry>
<title>reset __class__, so multiple runs don't fail (closes #17999)</title>
<updated>2013-05-17T16:33:26Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2013-05-17T16:33:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a29ac45200ba89c474b7b5c7f2973b4d38116fe7'/>
<id>urn:sha1:a29ac45200ba89c474b7b5c7f2973b4d38116fe7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hide the __class__ closure from the class body (#12370)</title>
<updated>2013-05-15T20:26:42Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2013-05-15T20:26:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=312595ce3a75e91d53222e486dfdd6f3668422ca'/>
<id>urn:sha1:312595ce3a75e91d53222e486dfdd6f3668422ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>when an argument is a cell, set the local copy to NULL (see #17927)</title>
<updated>2013-05-12T23:16:06Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2013-05-12T23:16:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=159ae41da68ff1f1d85ed66fa6410bd9ba62ed5b'/>
<id>urn:sha1:159ae41da68ff1f1d85ed66fa6410bd9ba62ed5b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make super() internal errors RuntimeError instead of SystemError (closes #15839)</title>
<updated>2012-09-02T03:04:38Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2012-09-02T03:04:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6a42bd67d7dc251ea96784c77dfc130a8456a486'/>
<id>urn:sha1:6a42bd67d7dc251ea96784c77dfc130a8456a486</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue</title>
<updated>2012-05-27T08:17:07Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2012-05-27T08:17:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0b43bcf5287d9494e3332b391350fcd32fe93f2c'/>
<id>urn:sha1:0b43bcf5287d9494e3332b391350fcd32fe93f2c</id>
<content type='text'>
</content>
</entry>
</feed>
