Message71668
| Author |
benjamin.peterson |
| Recipients |
benjamin.peterson, brett.cannon |
| Date |
2008年08月21日.18:45:15 |
| SpamBayes Score |
1.6966454e-06 |
| Marked as misclassified |
No |
| Message-id |
<1afaf6160808211145t1f5d2ab4i7fce0c43fcd2a12c@mail.gmail.com> |
| In-reply-to |
<bbaeab100808211121p16b8ffdby183124d8b209b987@mail.gmail.com> |
| Content |
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.
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue2356>
> _______________________________________
> |
|