[issue1658] "RuntimeError: dictionary changed size during iteration" in Tkinter

2007-12-23 Thread Kurt B. Kaiser
Changes by Kurt B. Kaiser: -- nosy: +kbk __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue1647] IDLE messes around with sys.exitfunc

2007-12-23 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: It was done for VPython support, as described in the docstring in run.py:exit(). What are you doing, removing sys.exitfunc from 2.6? The 3.0 run.py code was changed to use atexit._clear(). __ Tracker <[EMAIL PROTECTED]>

[issue1650] IDLE: help() displays output on the wrong shell

2007-12-23 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: Yes, and it does on linux, also. Someone changed the way help() works. Since the help listing is often extensive and clutters up the shell, I'm thinking that the best solution would be to pop up a new window. I haven't got around to addressing either the bu

[issue1760357] ZipFile.write fails with bad modification time

2007-12-23 Thread Alan McIntyre
Alan McIntyre added the comment: At the moment I don't have a Windows machine available, but on my Mac, time.localtime doesn't seem to mind interpreting negative input values. So I doubt that forcing timestamps to be non-negative is the way to fix this. I poked around a bit in the current 2.6

[issue1692] Syntax Error exception dosen't print string; not informative

2007-12-23 Thread Isaul Vargas
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

[issue1677] Ctrl-C will exit out of Python interpreter in Windows

2007-12-23 Thread Isaul Vargas
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 s

[issue1691] feature request: methods that modify instances should return instance

2007-12-23 Thread Christian Heimes
Christian Heimes added the comment: No, it's too confusing for users and it might hide bugs. The core types either change an object in place and return None *OR* the method returns a modified object. It's a design decision we won't change. In your case you can use the reversed(range(10)) wrappe

[issue1691] feature request: methods that modify instances should return instance

2007-12-23 Thread Peter Farson
New submission from Peter Farson: Here's an example: I'd like to be able to reverse a list for iterating... for i in range(10).reverse() This could work if reverse method returned self, but currently it doesn't return anything. I think the overhead is slight and worth it. -- components

[issue1676] Fork/exec issues with Tk 8.5/Python 2.5.1 on OS X

2007-12-23 Thread Adam Olsen
Changes by Adam Olsen: -- nosy: +rhamphoryncus __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue1684] CGIHTTPServer does not chdir prior to executing the CGI script

2007-12-23 Thread Fazal Majid
Fazal Majid added the comment: MT-safety has nothing to do with this. The os.chdir() is invoked from the new child process that is forked just prior to calling execve() to run the CGI script, after which it exits. The parent CGIHTTPServer may be multithreaded, but invoking the CGI script is not a

[issue1684] CGIHTTPServer does not chdir prior to executing the CGI script

2007-12-23 Thread Christian Heimes
Christian Heimes added the comment: A small note from me: Your proposed patch is no good and is going to lead to strange, hard to debug bugs in your app. os.chdir() isn't safe in a threaded environment. You must protect the entire section with a global lock. -- nosy: +tiran ___

[issue1690] Crash on cancellation of windows install

2007-12-23 Thread Martin v. Löwis
Martin v. Löwis added the comment: What do you mean by "Crash"? -- nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing

[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2007-12-23 Thread Martin v. Löwis
Martin v. Löwis added the comment: Would you like to work on a patch? -- nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list ma

[issue1690] Crash on cancellation of windows install

2007-12-23 Thread mtvernon
New submission from mtvernon: Steps to reproduce the bug: 1) Download the "Python 2.5.1 Windows installer (Windows binary -- does not include source)". 2) Select "Install for all users" and click Next. 3) Click Next. 4) Click "Advanced". 5) Click Cancel. 6) Click "Yes". -- compon