|
|
|
Lol!
Thomas Heller |
06/08/31 - 7:37 am | #
|
|
>>> from __future__ import life
SyntaxError: future feature life is not defined
Peter |
06/08/31 - 10:39 am | #
|
|
Excellent !
And it even works with Python 2.5 on Vms, so the Vms port can be rated as quite good 
Python 2.5b2 (trunk, Jul 25 2006, 22:12:00) [DECC] on OpenVMS
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import braces
File "", line 1
SyntaxError: not a chance
>>>
I always wonder how many gems like this one are hidden.
For Vms, see
http://groups.google.com/group/
c...68f970102d6d576
about
tcpip sh bug, which gave (no longer true)
%TCPIP-W-IFIONLYKNEW, If I could do that, Robert, you'd be out of a job
and tcpip sh crash, which gave
%TCPIP-I-THINKING, Thinking ...
%TCPIP-I-THINKING, Thinking ...
%TCPIP-I-THINKING, Thinking ...
%TCPIP-S-EUREKA, Solution: User error
Labadie |
Homepage |
06/08/31 - 11:59 am | #
|
|
Also try "import __hello__"
Andrew Dalke |
Homepage |
06/08/31 - 12:46 pm | #
|
|
Subversion says it was added in r19713 by jhylton on 2001-02-28 as "Improve SyntaxErrors for bad future statements". I see nothing else like it in future.c.
Andrew Dalke |
Homepage |
06/08/31 - 12:51 pm | #
|
|
|
Commenting by HaloScan
|