]> granicus.if.org Git - python/commit
Issue #27366: Implement PEP 487
authorNick Coghlan <ncoghlan@gmail.com>
Sat, 30 Jul 2016 06:26:03 +0000 (16:26 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sat, 30 Jul 2016 06:26:03 +0000 (16:26 +1000)
commitd78448e912126410117723c7d240bbdfff06df16
tree73490ec91133beb78ecacda68510e3552b80e3b1
parentf6daa690e4ee8581e0e5aa87764c0562a16c9330
Issue #27366: Implement PEP 487

- __init_subclass__ called when new subclasses defined
- __set_name__ called when descriptors are part of a
  class definition
Doc/reference/datamodel.rst
Doc/whatsnew/3.6.rst
Lib/test/test_builtin.py
Lib/test/test_descrtut.py
Lib/test/test_pydoc.py
Lib/test/test_subclassinit.py [new file with mode: 0644]
Misc/ACKS
Misc/NEWS
Objects/typeobject.c