Oh no, my code is being published ... help!

J. Clifford Dyer jcd at sdf.lonestar.org
Fri Nov 30 15:57:41 CET 2007


On Fri, Nov 30, 2007 at 12:25:25PM -0200, Eduardo O. Padoan wrote regarding Re: Oh no, my code is being published ... help!:
> 
> On Nov 30, 2007 11:36 AM, Hrvoje Niksic <hniksic at xemacs.org> wrote:
> > "Eduardo O. Padoan" <eduardo.padoan at gmail.com> writes:
> >
> > > No, writing this way will confound the 2to3 tool.
> >
> > Why?  print("foo") is a perfectly valid Python 2 statement.  Maybe
> > it's simply a matter of fixing the tool.
> >
> 
> print("foo") -> print(("foo"))
> 

And more to the point

(2.5) print(foo, bar) != (3.0) print(foo, bar)




More information about the Python-list mailing list