]> granicus.if.org Git - python/commit
bpo-32225: Implementation of PEP 562 (#4731)
authorIvan Levkivskyi <levkivskyi@gmail.com>
Thu, 14 Dec 2017 10:59:44 +0000 (11:59 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Dec 2017 10:59:44 +0000 (11:59 +0100)
commit5364b5cd7571f2dfa75acd37b388c14ac33fef73
tree43b89bf162a571e979946d2d9dcfda82b4e0f4c8
parent9e7c136ad8bc8e8eec50c2a8ae5ff02752f695a2
bpo-32225: Implementation of PEP 562 (#4731)

Implement PEP 562: module __getattr__ and __dir__.
The implementation simply updates module_getattro and
module_dir.
Doc/reference/datamodel.rst
Doc/whatsnew/3.7.rst
Lib/test/bad_getattr.py [new file with mode: 0644]
Lib/test/bad_getattr2.py [new file with mode: 0644]
Lib/test/bad_getattr3.py [new file with mode: 0644]
Lib/test/good_getattr.py [new file with mode: 0644]
Lib/test/test_module.py
Misc/NEWS.d/next/Core and Builtins/2017-12-05-21-33-47.bpo-32225.ucKjvw.rst [new file with mode: 0644]
Objects/moduleobject.c