errno 22 instead of errno 2

2009-01-27 Thread Glenn Linderman
open("c:\abc","rb") This simple one-line script, produces errno 22 on Python 2.6, but errno 2 on Python 2.5.2 Is this an unintentional regression? Or is this an intentional bug fix? The file doesn't exist (errno 2) but I guess on Windows it is also somewhat an invalid file name (errno 22).

Re: Exec woes

2009-01-27 Thread Hendrik van Rooyen
Stephen Hansen wrote: >Hendrik van Rooyen wrote: >>IDLE 1.1.3 No Subprocess > help(exec) >>SyntaxError: invalid syntax > >>Its the same under Linux SuSe, Python 2.5.1. >> >>I think this is a BUG. > >Exec is a statement, not a function nor an object: even though you can enc

<    1   2   3