[issue23126] Add Python hook function to replace NameError

2019-03-28 Thread Inada Naoki
Inada Naoki added the comment: PEP 562 is implemented. -- nosy: +inada.naoki resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.7 -Python 3.5 ___ Python tracker

[issue23126] Add Python hook function to replace NameError

2019-03-15 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23126] Add Python hook function to replace NameError

2015-03-21 Thread Mark Lawrence
Mark Lawrence added the comment: See the thread starting here https://mail.python.org/pipermail/python-ideas/2014-December/030521.html -- nosy: +BreamoreBoy type: -> enhancement ___ Python tracker ___

[issue23126] Add Python hook function to replace NameError

2014-12-28 Thread Chris Angelico
New submission from Chris Angelico: Creating an issue to keep track of a patch, but this probably wants to be discussed on python-ideas. The attached patch allows a Python function to be put into sys.__getglobal__, which then works like __getattr__ but for global names. This allows interactive