[issue1739648] zipfile.testzip() using progressive file reads

2007-08-26 Thread Grzegorz Adam Hankiewicz
Grzegorz Adam Hankiewicz added the comment: Any progress report on this issue, please? _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1739648

[issue1760357] ZipFile.write fails with bad modification time

2007-08-26 Thread Grzegorz Adam Hankiewicz
Grzegorz Adam Hankiewicz added the comment: Any progress report on this issue, please? _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1760357

[issue1014] cgi: parse_qs and parse_qsl misbehave on empty strings

2007-08-26 Thread Senthil
Senthil added the comment: Can query strings be empty? I am unable to find an instance. -- nosy: +orsenthil __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1014 __ ___

[issue1027] uudecoding (uu.py) does not supprt base64, patch attached

2007-08-26 Thread Gregory Dudek
Changes by Gregory Dudek: -- components: Extension Modules severity: normal status: open title: uudecoding (uu.py) does not supprt base64, patch attached type: behavior versions: Python 2.4 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1027

[issue1027] uudecoding (uu.py) does not supprt base64, patch attached

2007-08-26 Thread Gregory Dudek
New submission from Gregory Dudek: The uu.py library for uuencoding and uudecoding does not support base64 encodins. The patch addached here adds base64 decoding, but does not add encoding support. -- nosy: +dudek __ Tracker [EMAIL PROTECTED]

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser
New submission from Kurt B. Kaiser: The control-spacebar binding is used in IDLE to force open the completions window. It's causing IDLE to exit with a utf8 decode error. Attached is a Tkinter cut-down exhibiting the problem and a patch. The cutdown runs ok on 2.6 but not on py3k because

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: Heh, I see we have the same damn problem SF had: when a comment is edited, it doesn't re-wrap properly when submitted. You have to remove the returns manually after editing. __ Tracker [EMAIL PROTECTED]

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: Nope, you have to make sure not to type too wide. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1028 __ ___ Python-bugs-list mailing list

[issue1030] py3k: Adapt _winreg.c to the new buffer API

2007-08-26 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc: -- components: Windows files: winreg.diff severity: normal status: open title: py3k: Adapt _winreg.c to the new buffer API type: compile error versions: Python 3.0 __ Tracker [EMAIL PROTECTED]

[issue1031] py3k: compilation with VC2005

2007-08-26 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc: This patch is necessary to compile inside the PCBuild8 directory -- components: Windows files: vc2005.diff messages: 55315 nosy: amaury.forgeotdarc severity: normal status: open title: py3k: compilation with VC2005 type: compile error versions:

[issue1031] py3k: compilation with VC2005

2007-08-26 Thread Neal Norwitz
Neal Norwitz added the comment: Thanks for the patch. I tried to apply this patch, but almost everything failed. Could you make sure to do a svn update and then generate the patch? The only part of the patch that applied cleanly was to rmpyc.py. That was checked in as: Committed revision

[issue1032] Improve the hackish runtime_library_dirs support for gcc

2007-08-26 Thread Alexandre Vassalotti
New submission from Alexandre Vassalotti: In distutils.unixccompiler, there is a hack to passing correctly the -R option to gcc (and a few other compilers). However, there is a small bug that causes gcc to not be detected correctly if the compiler name does not start with gcc (e.g.,

[issue1030] py3k: Adapt _winreg.c to the new buffer API

2007-08-26 Thread Neal Norwitz
New submission from Neal Norwitz: Thanks! I can't test this, but I applied the change. It makes sense to me. Committed revision 57528. -- assignee: - nnorwitz nosy: +nnorwitz resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED]

[issue1031] py3k: compilation with VC2005

2007-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Sorry, it's probably because I somehow converted the line endings. Attached a new version of the patch. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1031 __ vc2005-2.diff

[issue1032] Improve the hackish runtime_library_dirs support for gcc

2007-08-26 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1032 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1031] py3k: compilation with VC2005

2007-08-26 Thread Neal Norwitz
Neal Norwitz added the comment: Hmmm, the patch was out of date (I had already removed cPickle). However, I don't think that was the reason for everything failing. I manually applied the changes to the files and python version. Things should be pretty good now. I didn't add the libraries.

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser
Changes by Kurt B. Kaiser: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1028 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: Well, maybe someday Tk will send a multibyte unicode character. Update the patch. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1028 __Index: Modules/_tkinter.c

[issue1031] py3k: compilation with VC2005

2007-08-26 Thread Neal Norwitz
Neal Norwitz added the comment: I thought it might be line endings so I tried changing them, but that didn't help. I couldn't apply the new version of the patch either. I'm not sure if the problem is on your side or mine. :-( I missed some files from the original checkin. The new one

[issue1029] py3k: io.StringIO.getvalue() returns \r\n

2007-08-26 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: As far as I know, StringIO should not do any string transformations. From PEP-3116 New I/O, last paragraph of the section Text I/O: Another implementation, StringIO, creates a file-like TextIO implementation without an underlying Buffered I/O object.

[issue1029] py3k: io.StringIO.getvalue() returns \r\n

2007-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: As far as I know, StringIO should not do any string transformations. (Not sure if you agree with the patch or not) That's why the current behaviour is not correct: When I write('\n'), getvalue() currently returns '\r\n'.

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Neal Norwitz
Neal Norwitz added the comment: I can confirm the problem and that your patch fixes the problem. Go ahead and check it in. Thanks! -- assignee: nnorwitz - kbk nosy: +nnorwitz resolution: - accepted __ Tracker [EMAIL PROTECTED]

[issue1031] py3k: compilation with VC2005

2007-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Yes, everything compiles now. I discovered that the additional libraries not necessary if I update my VC 2005 Express installation as in this post: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=133236SiteID=1 The problem is that the default

[issue1031] py3k: compilation with VC2005

2007-08-26 Thread Neal Norwitz
Neal Norwitz added the comment: Awesome! I'm going to close this patch. Let me know if you have any more problems. Feel free to send messages to python-3000. I would like py3k to build on Windows for the alpha which will be coming out in about a week hopefully. -- assignee: -

[issue1033] Support for newline and encoding in tempfile module

2007-08-26 Thread Adam Hupp
New submission from Adam Hupp: It would be useful for tempfile.TemporaryFile and friends to pass newline and encoding arguments to the underlying io.open call. For example, several tests in test_csv use TemporaryFile and need to handle unicode file output or preserve exact newlines. This is

[issue1033] Support for newline and encoding in tempfile module

2007-08-26 Thread Adam Hupp
Adam Hupp added the comment: One change I forgot to mention that may need discussion. I've changed the 'bufsize' arguments in tempfile to 'buffering', since that is consistent with the same change in os.fdopen. __ Tracker [EMAIL PROTECTED]

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: OK, thanks for the review! I suppose Tk is sending a bad string. r57540 -- status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1028 __

[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2007-08-26 Thread Adrian Holovaty
New submission from Adrian Holovaty: Per a Python-3000 mailing list discussion here -- http://mail.python.org/pipermail/python-3000/2007-August/009835.html -- I have implemented an addition to the 2to3 utility that enables warnings to be output as comments in Python source code instead of being

[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2007-08-26 Thread Adrian Holovaty
Adrian Holovaty added the comment: I'm also attaching 2to3_comment_warnings.diff, which is an example of how we could integrate the insert_comment() method from the first patch to replace the current functionality of fixes.basefix.BaseFix.warning(). __ Tracker