cpython/Misc
Nick Coghlan 19d246745d Issue #23722: improve __classcell__ compatibility
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.
2016-12-05 16:47:55 +10:00
..
ACKS Merge 3.5, fix for #24142 2016-11-26 14:02:48 -08:00
HISTORY Issue #28394: Spelling and typo fixes in code comments and changelog 2016-10-10 00:24:34 +00:00
NEWS Issue #23722: improve __classcell__ compatibility 2016-12-05 16:47:55 +10:00
Porting Issue #10708: Add a link to devguide in Misc/Porting. 2015-08-25 07:18:21 +03:00
README merge 3.3 2015-02-18 08:55:38 -05:00
README.AIX
README.coverity
README.valgrind Add PYTHONMALLOC env var 2016-03-14 12:04:26 +01:00
SpecialBuilds.txt remove ceval timestamp support 2016-09-09 14:57:58 -07:00
coverity_model.c merge 3.5 (#28184) 2016-09-19 22:17:16 -07:00
gdbinit Removed unintentional trailing spaces in text files. 2015-03-29 19:12:58 +03:00
indent.pro
python-config.in - Issue #18096: Fix library order returned by python-config. 2014-10-02 02:00:14 +02:00
python-config.sh.in - Issue #25440: Fix output of python-config --extension-suffix. 2015-10-19 14:07:57 +02:00
python-wing3.wpr
python-wing4.wpr
python-wing5.wpr Issue 17457: extend test discovery to support namespace packages 2013-11-23 13:29:23 +00:00
python.man Issue #28532: Show sys.version when -V option is supplied twice 2016-11-21 20:57:14 +09:00
python.pc.in
svnmap.txt
valgrind-python.supp Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read 2013-11-08 20:18:09 +01:00
vgrindefs

README

Python Misc subdirectory
========================

This directory contains files that wouldn't fit in elsewhere.  Some
documents are only of historic importance.

Files found here
----------------

ACKS                    Acknowledgements
gdbinit                 Handy stuff to put in your .gdbinit file, if you use gdb
HISTORY                 News from previous releases -- oldest last
indent.pro              GNU indent profile approximating my C style
NEWS                    News for this release (for some meaning of "this")
Porting                 Mini-FAQ on porting to new platforms
python-config.in        Python script template for python-config
python.man              UNIX man page for the python interpreter
python.pc.in            Package configuration info template for pkg-config
python-wing*.wpr        Wing IDE project file
README                  The file you're reading now
README.AIX              Information about using Python on AIX
README.coverity         Information about running Coverity's Prevent on Python
README.valgrind         Information for Valgrind users, see valgrind-python.supp
SpecialBuilds.txt       Describes extra symbols you can set for debug builds
svnmap.txt              Map of old SVN revs and branches to hg changeset ids
valgrind-python.supp    Valgrind suppression file, see README.valgrind
vgrindefs               Python configuration for vgrind (a generic pretty printer)