This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients brett.cannon, eric.snow, ncoghlan, rhettinger
Date 2014-04-06.10:26:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396780013.17.0.514882877474.issue20383@psf.upfronthosting.co.za>
In-reply-to
Content
No, the attribute level arguments won't go away - __name__ deliberately differs from __spec__.name in some cases (notably in __main__), __path__ may be manipulated after the module is loaded, and __name and __file__ are both used too heavily within module code for it to be worth the hassle of deprecating them in favour of something else.

I think Brett's push to simplify things as much as possible is good though - that's the main brake on creeping API complexity in the overall import system as we try to make the internals easier to comprehend and manipulate.
History
Date User Action Args
2014-04-06 10:26:53ncoghlansetrecipients: + ncoghlan, brett.cannon, rhettinger, eric.snow
2014-04-06 10:26:53ncoghlansetmessageid: <1396780013.17.0.514882877474.issue20383@psf.upfronthosting.co.za>
2014-04-06 10:26:53ncoghlanlinkissue20383 messages
2014-04-06 10:26:52ncoghlancreate