Cool. Thanks. 2.6.5 works for me. Should be good enough.
Regards
Richard Tew schrieb:
On Sat, Mar 27, 2010 at 10:49 AM, neil.young <[email protected]> wrote:
Hi list,
new here. I just wanted to give Stackless Python a try. I started with
2.6.5, because my latest "ordinary" Python installation was a 2.6.1. I'm a
Windows user. Download and installation went fine. I started to write a
small script, copied from the stackless page. Strange enough, it had some
problems with types, ending with a "?" (never seen that before in Python).
If you copied that script from a wiki, then you may have gotten wiki
formatting in the script. The ? means that some word is interpreted
as a possible link and not a part of a script.
However, I thought I had an issue with 2.6.5, deinstalled it all, downloaded
3.1.1 and installed it. Now the things are getting really worse: This is the
trace of a small console:
Python 3.1.1 Stackless 3.1b3 060516 (release31-maint, Oct 3 2009, 16:29:47)
[MS
C v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import stackless
def print_x(x):
... print x
File "<stdin>", line 2
print x
^
SyntaxError: invalid syntax
Hmm. What the hell is wrong with "print x"? By the way: Every print command
ends up in "Invalid syntax". That's really fun :)
Look into the difference between Python 2.x and Python 3.x. This and
similar changes is kind of the point of Python 3.x, that print is a
function not a statement any more.
Cheers,
Richard.
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless