Ivan Levkivskyi
9228c0c923
Clarification based on python-dev discussion ( #480 )
2017-11-20 16:25:18 -08:00
Ivan Levkivskyi
530b527c02
Update PEP 562 following suggestions on python-dev ( #474 )
...
I didn't add any specification for helper functions. Also I think we don't need module __set_name__ (it was brought by Serhiy) since it is still very new and much less known compared to __getattr__.
2017-11-17 14:52:41 -08:00
Ivan Levkivskyi
8f2d854856
Updates following recent discussions ( #470 )
2017-11-14 11:57:23 -08:00
Guido van Rossum
d85cbb9264
Fix grammar nits
2017-11-10 12:01:01 -08:00
Ivan Levkivskyi
93e46775f0
Update PEP 562 with an example ( #418 )
...
This adds an example of module __getattr__ usage that implements lazy imports to Rationale of PEP 562.
2017-09-12 16:20:27 -07:00
Guido van Rossum
ae8a94b2fe
Rename PEP 562 to 0562 (add leading 0 to filename)
2017-09-10 11:26:34 -07:00