[issue1345] Fix for test_netrc on Windows

2007-10-28 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1347] BaseHTTPServer writing strings to bytes interface

2007-10-28 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1349] more uses of ord() in plat-mac/ic.py

2007-10-28 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-10-28 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1351] Add getsize() to io instances

2007-10-28 Thread Christian Heimes
New submission from Christian Heimes: I always missed a getsize() method on file objects. The patch adds a method getsize() to all io instances. The method returns a SizeInfo object which can print a human readable name or the bare size in bytes. The method is using os.fstat and falls back to the

[issue1348] httplib closes socket, then tries to read from it

2007-10-28 Thread Bill Janssen
Bill Janssen added the comment: I still think the semantics are wrong here, but someone needs to close this connection at some point, and right now the reference-counting semantics of socket.close() are the only thing preventing a leak. So I think my patch should not be applied. Instead, a l

[issue1223] httplib does not handle ssl end of file properly

2007-10-28 Thread Bill Janssen
Bill Janssen added the comment: I have a slightly different version of this patch in the new SSL code. It (optionally, but defaulting to True) catches SSL_ERROR_EOF and returns None, but allows other ssl errors to go through. -- nosy: +janssen Added file: http://bugs.python.org/file86

[issue1352] Preliminary stderr patch

2007-10-28 Thread Christian Heimes
New submission from Christian Heimes: Here is another patch related to stdio from me. It creates and sets up a very dumb and easy stderr writer until the new io infrastructure is initialized. It makes debugging problems in the init phase much easier. -- components: Interpreter Core files

[issue1340] correction for test_tempfile in py3k on Windows

2007-10-28 Thread Guido van Rossum
Changes by Guido van Rossum: -- assignee: -> gvanrossum __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1340] correction for test_tempfile in py3k on Windows

2007-10-28 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 58699. (My own interpretation of the patch, with comment :-) I expect this will fix a bunch Windows failures; I've seen complaints inmplicating doubled newlines in a few places, and this mught just be the cause. Thanks! -- resolut

[issue1329] Different 3.0a1 exit behavior

2007-10-28 Thread Jean Brouwers
Jean Brouwers added the comment: One more argument. Without a fix, 3.0 would not even print a C debug message from a destructor function nor from any function installed with atexit or Py_AtExit. The dlibtest shows that for 2 of these 3. __ Tracker <[EMAIL PROT

[issue1340] correction for test_tempfile in py3k on Windows

2007-10-28 Thread Guido van Rossum
Guido van Rossum added the comment: D'oh, I submitted to the wrong branch. The py3k branch will have to wait until after my son's birthday party. ;-) -- status: closed -> open __ Tracker <[EMAIL PROTECTED]>

[issue1340] correction for test_tempfile in py3k on Windows

2007-10-28 Thread Christian Heimes
Christian Heimes added the comment: Guido van Rossum wrote: > Guido van Rossum added the comment: > > D'oh, I submitted to the wrong branch. The py3k branch will have to > wait until after my son's birthday party. ;-) Have a nice party! How old is he? IIRC he was about 4 on the pictures you sh

[issue1329] Different 3.0a1 exit behavior

2007-10-28 Thread Christian Heimes
Christian Heimes added the comment: Can you try this patch, please? It has the same effect as the other patch from Neal but it doesn't loose ref counts. I've patched the dealloc function of _FileIO to keep fd 1 and fd 2 open. Index: Modules/_fileio.c =

[issue1329] Different 3.0a1 exit behavior

2007-10-28 Thread Jean Brouwers
Jean Brouwers added the comment: I could not try Neal's patch since it does not seem to apply to the 3.0a1 source I have. But the Modules/_fileio.c patch works just fine on my Linux and MacOS X. Here is the Linux result: $ env LD_PRELOAD=./dlibtest4.so ~/Python-3dbg/python *** ctor called

[issue1351] Add getsize() to io instances

2007-10-28 Thread Martin v. Löwis
Martin v. Löwis added the comment: I'm skeptical: - If you add getsize, why not getlastchangeddate, getowner, getpermissions? - in general, streams (which really is the interface for file-like objects) don't have the notion of "size"; only some do. - what is the purpose of the f.tell fragment?

[issue1351] Add getsize() to io instances

2007-10-28 Thread Christian Heimes
Christian Heimes added the comment: Martin v. Löwis wrote: > I'm skeptical: > > - If you add getsize, why not getlastchangeddate, getowner, getpermissions? getowner() etc. work only with file based streams and not with memory buffers. getsize() works with every concrete class in io.py > - in g

[issue1717170] "Really print?" Dialog

2007-10-28 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: r58700. Thanks for the patch! (Used OK/Cancel and simplified message.) -- assignee: -> kbk nosy: +kbk resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]>

[issue1329] Different 3.0a1 exit behavior

2007-10-28 Thread Jean Brouwers
Jean Brouwers added the comment: Perhaps, the proper behavior is the following. After calling all functions/methods installed at the Python level with atexit.register and all C functions installed with Py_AtExit, the objects sys.stdin, sys.stdout and sys.stderr are destroyed. However, the C l

[issue1262] IDLE does not start if windows environment variable containing 'German Umlaute: äöü' exists

2007-10-28 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: I believe this is a duplicate of http://bugs.python.org/issue1342 and not related to IDLE. -- nosy: +kbk resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue1183] race in SocketServer.ForkingMixIn.collect_children

2007-10-28 Thread Ralf Schmitt
Ralf Schmitt added the comment: I've had the exact same error - but only when I used a subclass of XMLRPCServer, which installed signal handlers for SIGCHLD (which then called collect_children). Does your code install such a signal handler? (I found mine somewhere on the web). Do you start any su

[issue1356720] Ctrl+C for copy does not work when caps-lock is on

2007-10-28 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: On systems other than Windows, people generally prefer to leave as much flexibility as possible by not binding various combinations of modifiers to the callback associated with a . If you need this change, add a binding as noamr suggests. -- resol

[issue1004696] translate Windows cr-lf when installing scripts on Linux

2007-10-28 Thread Kurt B. Kaiser
Changes by Kurt B. Kaiser: -- assignee: kbk -> _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1717170] "Really print?" Dialog

2007-10-28 Thread Tal Einat
Tal Einat added the comment: :) Minor note - shouldn't there be a question mark at the end of the message? _ Tracker <[EMAIL PROTECTED]> _ __

[issue1334] IDLE - Fix several highlighting bugs

2007-10-28 Thread Kurt B. Kaiser
Changes by Kurt B. Kaiser: -- assignee: -> kbk keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscrib

[issue1612746] Enhanced tabbed pane widget

2007-10-28 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: Can I ask you for an update? This no longer applies cleanly with the recent changes to configDialog.py, and I suspect you might have some further cleanup. -- assignee: -> kbk nosy: +kbk resolution: -> out of date

[issue1329] Different 3.0a1 exit behavior

2007-10-28 Thread Guido van Rossum
Guido van Rossum added the comment: Right. I think the right solution is to add an option to _FileIO that says "don't close the filedescriptor when close() is called". This option should only be allowed when the "filename" argument is an integer file descriptor. It should be passed when stdin/out

[issue1247] PEP 3137 patch (repr, names, parser)

2007-10-28 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- nosy: +gregory.p.smith __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/