Message118411
It would be nice with some official way to tell 2to3, "Leave
this code chunk alone. This is 2.* code, that is 3.* code":
try: # Python 2.6
from urlparse import urlparse, urlunparse
except ImportError: # Python 3
from urllib.parse import urlparse, urlunparse
Could 2to3 without -p notice more cases of print(single argument),
to avoid slapping another () around them? For example:
print(2*3)
print(", ".join(dir)) |
|
Date |
User |
Action |
Args |
2010-10-12 11:24:21 | hfuru | set | recipients:
+ hfuru |
2010-10-12 11:24:21 | hfuru | set | messageid: <1286882661.81.0.431457664283.issue10070@psf.upfronthosting.co.za> |
2010-10-12 11:24:20 | hfuru | link | issue10070 messages |
2010-10-12 11:24:19 | hfuru | create | |
|