LWN.net Logo

Advertisement

Front, Kernel, Security, Distributions, Development. See your byline here on LWN.net.

Advertise here

Python 3.0 released

Python 3.0 released

Posted Dec 4, 2008 8:40 UTC (Thu) by sbergman27 (subscriber, #10767)
In reply to: Python 3.0 released by kbob
Parent article: Python 3.0 released

from __future__ import python

Which should be no surprise to anyone, these days:

http://xkcd.com/353/


(Log in to post comments)

Python 3.0 released

Posted Dec 4, 2008 9:38 UTC (Thu) by alexl (subscriber, #19068) [Link]

That strip needs to be upgraded for Python 3.0. "print" changed from a statement to a function.

Python predicted the economic crisis

Posted Dec 5, 2008 0:26 UTC (Fri) by nix (subscriber, #2304) [Link]

I knew it was coming years ago when I asked my Python oracle:

>>> from __future__ import money
File "<stdin>", line 1
SyntaxError: future feature money is not defined

Then I *knew* we were in trouble.

Python predicted the economic crisis

Posted Dec 5, 2008 0:59 UTC (Fri) by sbergman27 (subscriber, #10767) [Link]

Verify that it's working right by importing something you know is there.

Try "from __future__ import viagra_spam"

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds