homepage

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 hfuru
Recipients hfuru
Date 2010年10月12日.11:24:19
SpamBayes Score 2.4232118e-05
Marked as misclassified No
Message-id <1286882661.81.0.431457664283.issue10070@psf.upfronthosting.co.za>
In-reply-to
Content
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))
History
Date User Action Args
2010年10月12日 11:24:21hfurusetrecipients: + hfuru
2010年10月12日 11:24:21hfurusetmessageid: <1286882661.81.0.431457664283.issue10070@psf.upfronthosting.co.za>
2010年10月12日 11:24:20hfurulinkissue10070 messages
2010年10月12日 11:24:19hfurucreate

AltStyle によって変換されたページ (->オリジナル) /