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 brett.cannon
Recipients benjamin.peterson, brett.cannon
Date 2008-08-21.18:51:35
SpamBayes Score 1.5306607e-06
Marked as misclassified No
Message-id <bbaeab100808211151g5fd93e0du17ad67f96775024d@mail.gmail.com>
In-reply-to <1afaf6160808211145t1f5d2ab4i7fce0c43fcd2a12c@mail.gmail.com>
Content
On Thu, Aug 21, 2008 at 11:45 AM, Benjamin Peterson
<report@bugs.python.org> wrote:
>
> Benjamin Peterson <musiccomposition@gmail.com> added the comment:
>
> On Thu, Aug 21, 2008 at 1:21 PM, Brett Cannon <report@bugs.python.org> wrote:
>>
>> So for every sys import you are going to add an "import atexit"? That
>> doesn't seem reasonable. And if the call is in an expression context
>> you definitely cannot add the import.
>
> You're right; it's not going to be perfect, but 2to3 could warn when
> it couldn't insert the import statement.
>>

OK, I can live with that.
History
Date User Action Args
2008-08-21 18:51:36brett.cannonsetrecipients: + brett.cannon, benjamin.peterson
2008-08-21 18:51:35brett.cannonlinkissue2356 messages
2008-08-21 18:51:35brett.cannoncreate