[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".

--
components: Installation
messages: 58968
nosy: mtvernon
severity: normal
status: open
title: Crash on cancellation of windows install
type: crash
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 concurrent affair.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: None
messages: 58973
nosy: eukaryot
severity: normal
status: open
title: feature request: methods that modify instances should return instance
type: behavior
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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)) wrapper. Python has
several wrappers like reversed() and sorted().

--
nosy: +tiran
resolution:  -> wont fix
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
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

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 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]>

__
___
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

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=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]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 source, and it seems to me that
in this case the Windows XP localtime function doesn't like a timestamp
value that was generated by the same platform's stat function.  It seems
like raising a ValueError is the correct thing for the time module to
do, since it relies on the platform to do the conversions; what should
zipfile.writestr do?  I don't like the idea of silently using some dummy
timestamp if the conversion of os.stat results fails, and I can't think
of an alternative at the moment.

--
nosy: +alanmcintyre

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 bug or a new 
design.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com