Message71670
| 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. |
|