[issue1677] Ctrl-C will exit out of Python interpreter in Windows
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's not normal to hold down Ctrl-C, in practice that means pressing Ctrl-C to cancel a currently running script may just exit the interpreter. Python 3.1 seems really terrible in this regard where sometimes a single Ctrl-C will exit the interpreter. I have seen this issue fixed in Python 2.5.2 on Windows. It would never exit the interpreter no matter how long I pressed Ctrl-C. I don't see this issue in Linux. I don't have a Mac to test, but I'd like Mac users to test the signal handling in their terminals. -- assignee: -> ronaldoussoren components: +Interpreter Core, Windows versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue1677> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue571767] string.capitlize() documentation
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 versions: +Python 2.5, Python 2.6, Python 2.7 ___ Python tracker <http://bugs.python.org/issue571767> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1543] MSI installer needs to be updated to install x86 and x64 versions of Python on Vista 64 bit
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, I can't install Python 32 bit afterwards, because Vista's Window Installer says 'Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel' The converse of this is true, if you install Python 64 bit first, you cannot install Python 32 bit afterwards. The MSI packaging needs to be updated. -- components: Installation, Windows messages: 58095 nosy: Dude-X severity: normal status: open title: MSI installer needs to be updated to install x86 and x64 versions of Python on Vista 64 bit versions: Python 2.5, Python 2.6, Python 3.0 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1543> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1677] Ctrl-C will exit out of Python interpreter in Windows
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 interrupts before quitting, but the latest snapshot (Dec 20th) can not. Steps to reproduce: Run python.exe hold down ctrl-c, or press it many times. It will quit the interpreter eventually. -- components: Interpreter Core messages: 58933 nosy: Dude-X severity: normal status: open title: Ctrl-C will exit out of Python interpreter in Windows type: behavior versions: Python 3.0 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1677> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1677] Ctrl-C will exit out of Python interpreter in Windows
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 see if there's a way to make the interpreter bullet proof from Ctrl-C, or at least good enough so that a single Ctrl-c won't cause the interpreter to exit. -- versions: +Python 2.4, Python 2.5, Python 2.6 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1677> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1692] Syntax Error exception dosen't print string; not informative
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): pass File "", line 1 if (x=5): pass >>> if x File "", line 1 if x -- messages: 58977 nosy: Dude-X severity: normal status: open title: Syntax Error exception dosen't print string; not informative type: behavior versions: Python 3.0 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1692> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37443] Python Returns NoneType when convert a string to a list and using sort() method
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 following interpreter session will show this: >>> l = [3, 2, 1] >>> type(l.sort()) >>> print(l) [1, 2, 3] >>> new_list = [7, 5, 4] >>> sorted(new_list) [4, 5, 7] >>> new_list [7, 5, 4] -- assignee: -> terry.reedy components: +IDLE nosy: +Dude-X, terry.reedy -SilentGhost type: behavior -> compile error ___ Python tracker <https://bugs.python.org/issue37443> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7231] Windows installer does not add \Scripts folder to the path
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 System Variables, scroll down and find Path 5) Click on Edit 6) Add ;X:/PythonXX/Scripts where X is the appropriate drive letter and python version. 7) Click OK, and OK again. You might have to reboot, but now that it is added, you don't have to manually update it. -- nosy: +Dude-X ___ Python tracker <http://bugs.python.org/issue7231> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com