New submission from Isaul Vargas:
Problem:
I'd like to run Python 32 bit (for compatibility with extensions) and
Python 64 bit on Vista (for speed and 64 bit apps) on one machine.
However Vista has an 'improved' installer for MSI apps, where if I
install Python 64 bit first,
New submission from Isaul Vargas:
When running Python 2.5.1 stable in Windows, you can press Ctrl-C as
many times as you want and it will always output Keyboard Interrupt in
the interpreter.
Python 3.0a+ will quit if you press ctrl-c too many times. The last
release of 3.0a2 can handle many
Isaul Vargas added the comment:
I wanted to add that this issue also affects python 2.5.1 on the Mac.
Sometimes I may be writing something in the interpreter and I decide to
invalidate my input by pressing Ctrl-C. This will exit the interpreter
occasionally. I think it would be a good idea to
New submission from Isaul Vargas:
Python 3.0 doesn't print the string with the carat underneath when
there is a syntax error.
>>> if x
SyntaxError: invalid syntax (, line1)
>>> if (x=5):
SyntaxError: invalid syntax (, line 1)
Python 2.x behavior:
>>> if (x=5
Isaul Vargas added the comment:
For now you can modify the path yourself, and only once, by following
these instructions:
1) Open the System Properties either via the Control Panel or pressing
WinKey-Pause
2) Click on the tab that says Advanced
3) Click on Environment Variables
4) Under
Isaul Vargas added the comment:
Internal python docs need to be updated.
help(str.capitalize)
still has the old incorrect documentation.
I tested this on Python 2.6 on Windows, and Python 2.7 in Ubuntu 11.04 alpha.
--
nosy: +Dude-X -fdrake, mdcowles
type: -> behavior
versi
Isaul Vargas added the comment:
I tested this on a real Windows 7 machine (64 bit, Ultimate)
I open the command prompt, and I have the latest Pythons installed,
Python 2.6.6, Python 2.7 final, and Python 3.1.2
If I hold down Ctrl-C, it will eventually exit the interpreter.
Though it'
Isaul Vargas added the comment:
There is no bug.
It's a bit confusing that the method sort on a list object returns None, but it
is doing an in-place, (in memory) sort of the list, thus modifying the list.
The function sorted however, will return a new list object.
The foll