Message143425
If import from __future__ is written in multiple lines, then a parser internally used by 2to3 recognizes only the first line. (However Python interpreter properly supports multi-line imports from __future__.)
test1.py contains multi-line import from __future__.
test2.py contains single-line import from __future__.
2to3 properly handles test2.py and improperly handles test1.py. |
|
| Date |
User |
Action |
Args |
| 2011-09-02 17:52:26 | Arfrever | set | recipients:
+ Arfrever, benjamin.peterson, eric.araujo, lunaryorn |
| 2011-09-02 17:52:25 | Arfrever | set | messageid: <[email protected]> |
| 2011-09-02 17:52:25 | Arfrever | link | issue12873 messages |
| 2011-09-02 17:52:25 | Arfrever | create | |
|