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 habnabit
Recipients dstufft, eric.snow, gvanrossum, habnabit, hawkowl, ncoghlan, ned.deily, r.david.murray, serhiy.storchaka
Date 2017-10-13.17:09:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507914552.36.0.213398074469.issue31742@psf.upfronthosting.co.za>
In-reply-to
Content
>Storing the marker attribute in __main__ [...]

Can I request please not using __main__ for this? setuptools console_scripts are very common, which is a case where __main__ will be a generated (i.e. not user-controllable) file. Making application code import __main__ to set the flag would be brittle.
History
Date User Action Args
2017-10-13 17:09:12habnabitsetrecipients: + habnabit, gvanrossum, ncoghlan, ned.deily, r.david.murray, eric.snow, serhiy.storchaka, dstufft, hawkowl
2017-10-13 17:09:12habnabitsetmessageid: <1507914552.36.0.213398074469.issue31742@psf.upfronthosting.co.za>
2017-10-13 17:09:12habnabitlinkissue31742 messages
2017-10-13 17:09:12habnabitcreate