[issue8957] strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales

2011-01-14 Thread Eli Bendersky
Eli Bendersky added the comment: I'm attaching a patch for Lib/_strptime.py that handles the month differently in __calc_date_time. It cycles all months, trying to find one where the full and abbrev names are different and matches it against the timestamp created by strftime. This solution

[issue1227748] subprocess: inheritance of std descriptors inconsistent

2011-01-14 Thread Ross Lagerwall
Ross Lagerwall added the comment: I think all that is needed is a documentation patch. Attached is a doc patch which changes the doc to explicitly describe what happens on unix & windows (as described by Peter). -- components: +Documentation keywords: +patch nosy: +rosslagerwall Added

[issue10502] Add unittestguirunner to Tools/

2011-01-14 Thread Ned Deily
Ned Deily added the comment: FYI, as of 3.2rc1, Tools/ is now included in Mac OS X distributions in /Applications/Python 3.2/Extras/. -- nosy: +ned.deily ___ Python tracker ___

[issue8957] strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales

2011-01-14 Thread Eli Bendersky
Eli Bendersky added the comment: The problem for Hebrew appears to be the same as the one Victor stated for French. March in Hebrew is also a 3-letter word which means it's equal to its abbreviation. -- ___ Python tracker

[issue10842] Update third-party libraries for OS X installer builds

2011-01-14 Thread Ned Deily
Ned Deily added the comment: Committed (with release manager approval for 3.2) to py3k in r88006. Pending potential backport to 2.7. -- assignee: ronaldoussoren -> ned.deily priority: release blocker -> resolution: -> fixed stage: patch review -> committed/rejected status: open -> pe

[issue10843] OS X installer: install the Tools source directory

2011-01-14 Thread Ned Deily
Ned Deily added the comment: Committed (with release manager approval for 3.2) in r88005. -- assignee: ronaldoussoren -> ned.deily resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue1535504] CGIHTTPServer doesn't handle path names with embeded space

2011-01-14 Thread Ross Lagerwall
Ross Lagerwall added the comment: Shouldn't this be closed? CGIHTTPServer *has* been updated to use subprocess on windows and the dependency has been closed as wont fix. -- nosy: +rosslagerwall ___ Python tracker

[issue10907] OS X installer: warn users of buggy Tcl/Tk in OS X 10.6

2011-01-14 Thread Ned Deily
Ned Deily added the comment: Patch for items 2 and 3 committed (with release manager approval for 3.2) in r88003. Updated the OS X installer build instructions to better reflect current practices including use of A/S Tcl/Tk in r88004. Pending website changes and 2.7 backport (items 4 through

[issue1602] windows console doesn't print or input Unicode

2011-01-14 Thread Glenn Linderman
Glenn Linderman added the comment: Victor said: Why do you set the code page to 65001? In all my tests (on Windows XP), it always break the standard input. My response: Because when I searched Windows for Unicode and/or UTF-8 stuff, I found 65001, and it seems like it might help, and it does

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: Le vendredi 14 janvier 2011 à 19:11 +, R. David Murray a écrit : > Victor: we normally leave the patch file that was committed attached > to the issue for future reference. Sorry, but there were too much files. I was trying to figure out if there is somethi

[issue10912] PyObject_RichCompare differs in behaviour from PyObject_RichCompareBool ; difference not noted in documentation

2011-01-14 Thread Devin Jeanpierre
New submission from Devin Jeanpierre : PyObject_RichCoareBool is, according to the documentation in trunk (Doc\c-api\object.rst), exactly the same as PyObject_RichCompare, except it 1, 0, or -1 for error, false, and true respectively. However, it differs in behavior by both that, and also by a

[issue10817] urllib.request.urlretrieve never raises ContentTooShortError if no reporthook

2011-01-14 Thread Robert Siemer
Changes by Robert Siemer : -- nosy: +siemer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6771] Curses.wrapper: documentation/implementation error

2011-01-14 Thread Radiant
Radiant added the comment: Adding version=3.2 and component=Documentation. -- assignee: -> docs@python components: +Documentation nosy: +Radiant, docs@python versions: +Python 3.2 ___ Python tracker __

[issue1602] windows console doesn't print or input Unicode

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: > ..., because right now, I'm including instructions for the use to > (1) choose Lucida or Consolas font if they can't figure out > any other font that gets rid of the square boxes > (2) chcp 65001 > (3) set PYTHONIOENCODING=UTF-8 Why do you set the cod

[issue1602] windows console doesn't print or input Unicode

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: Here are some results of my test of unicode2.py. I'm testing py3k on Windows XP, OEM: cp850, ANSI: cp1252. Raster fonts With a fresh console, unicode2.py displays "?". input() accepts characters encodable to the OEM code page. I

[issue2128] sys.argv is wrong for unicode strings

2011-01-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10833] Replace %.100s by %s in PyErr_Format(): the arbitrary limit of 500 bytes is outdated

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: belopolsky> Limiting field width when formatting error messages is belopolsky> a good safety measure. The problem is that PyUnicode_FromFormatV() doesn't support %.100s format (it ignores .100). If we truncate at 100 bytes, it may truncate an UTF-8 string in

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: Because I'm unable to read the whole history and analyze each file attached to this issue, I opened #10911 to ask to write more tests for the cgi module. -- ___ Python tracker ___

[issue10911] cgi: add more tests

2011-01-14 Thread STINNER Victor
New submission from STINNER Victor : cgi was recently fixed just before Python 3.2 final, but the module has few tests. More tests should be written. You can find some examples attached to #4953. -- components: Library (Lib), Tests messages: 126300 nosy: haypo priority: normal severity

[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation

2011-01-14 Thread Bert JW Regeer
New submission from Bert JW Regeer : I was recently attempting to get Botan (http://botan.randombit.net) working with Python 2.6.6 on FreeBSD when it failed to compile, I filled a bug with Botan (http://bugs.randombit.net/show_bug.cgi?id=135) and first thought it was a compiler issue, and then

[issue10874] test_urllib2 shouldn't use is operator for comparing strings

2011-01-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Łukasz, please close issues when they are fixed. -- nosy: +pitrou resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue1170] shlex have problems with parsing unicode

2011-01-14 Thread Doug Hellmann
Changes by Doug Hellmann : -- nosy: +doughellmann ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10694] zipfile.py end of central directory detection not robust

2011-01-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: unit test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue7322] Socket timeout can cause file-like readline() method to lose data

2011-01-14 Thread David Beazley
David Beazley added the comment: Just wanted to say that I agree it's nonsense to continue reading on a socket that timed out (I'm not even sure what I might have been thinking when I first submitted this bug other than just experimenting with edge cases of the socket interface).It's stil

[issue7322] Socket timeout can cause file-like readline() method to lose data

2011-01-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks good and simple enough. I would probably shift the timeout test after the closed test, but that's almost a detail. -- ___ Python tracker

[issue9527] Add aware local time support to datetime module

2011-01-14 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- title: Add aware local time support to datetime module (issue9527) -> Add aware local time support to datetime module ___ Python tracker ___

[issue9527] Add aware local time support to datetime module (issue9527)

2011-01-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Forwarding Rietveld conversation to the tracker. It looks like Rietveld integration has a bug and sends reviews to n...@psf.upfronthosting.co.za rather than to rep...@bugs.python.org. Forwarded conversation Subject: Add aware local time support to dateti

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-01-14 Thread ronnix
ronnix added the comment: The regex 0.1.20110106 package fails to install with Python 2.6, due to the use of 2.7 string formatting syntax in setup.py: print("Copying {} to {}".format(unicodedata_db_h, SRC_DIR)) This line should be changed to: print("Copying {0} to {1}".format(unicode

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Glenn Linderman
Glenn Linderman added the comment: Thanks to Pierre for producing patch after patch and testing testing testing, and to Victor for committing it, as well as others that contributed in smaller ways, as I tried to. I look forward to 3.2 rc1 so I can discard all my temporary patched copies of c

[issue9527] Add aware local time support to datetime module

2011-01-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Following Anatoly's review, I renamed datetime argument and a local variable, added comments and expanded docstring. I am uploading a new patch: datetime-localtime-proto-1.diff. Martin, I could not figure out how to add the new patch to rietveld and I

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Glenn Linderman
Changes by Glenn Linderman : -- versions: +Python 3.2 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10904] PYTHONIOENCODING is not in manpage

2011-01-14 Thread Peter Kleiweg
Peter Kleiweg added the comment: Ah, I see it's fixed in the latest version. The variable PYTHONIOENCODING was present at least since Python 2.6.4, but not documented in the manpage of versions 2.6.4, 2.7 and 3.1.1. I thought I had recent versions, but I see now versions 2.7.1 and 3.1.3, and

[issue9257] cElementTree iterparse requires events as bytes; ElementTree uses strings

2011-01-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: r78942 is quite large unfortunately. But just patching _elementree.c::xmlparser_setevents() should be possible. This would at least fix the "invalid event tuple" error. -- ___ Python tracker

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread R. David Murray
R. David Murray added the comment: Victor: we normally leave the patch file that was committed attached to the issue for future reference. The _plus_tests file was just the original patch plus the existing cgi tests adjusted to pass in bytes instead of strings to cgi, if I recall correctly.

[issue1602] windows console doesn't print or input Unicode

2011-01-14 Thread Brian Curtin
Brian Curtin added the comment: I think we even agreed to drop 2000, although the PEP hasn't been updated and I couldn't find the supposed email where this was said. For implementing functionality that isn't supported on all Windows versions or architectures, you can look at PC/winreg.c for a

[issue9257] cElementTree iterparse requires events as bytes; ElementTree uses strings

2011-01-14 Thread Peter
Peter added the comment: This wasn't fixed in Python 3.1.3 either. Is the trunk commit Amaury identified from py3k branch (r78942) suitable to back port to Python 3.1.x? -- ___ Python tracker

[issue1602] windows console doesn't print or input Unicode

2011-01-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: http://www.python.org/dev/peps/pep-0011/ says Name: Win9x, WinME, NT4 Unsupported in: Python 2.6 (warning in 2.5 installer) Code removed in: Python 2.6 Only xp+ now. email sent to webmaster@... Even if the best fix only applies to win7,

[issue10904] PYTHONIOENCODING is not in manpage

2011-01-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On the second thought, maybe "de manpage" is not a misspelling of "the manpage", but a reference to a German locale manpage? I don't think python.org releases include manpage translations. You may need to report it to your system vendor. --

[issue10904] PYTHONIOENCODING is not in manpage

2011-01-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: What "manpage" are you reporting? In py3k branch, $ groff -Tascii -man Misc/python.man .. PYTHONIOENCODING If this is set before running the interpreter, it overrides the encoding used for stdin/stdout/stderr, in th

[issue10854] Output .pyd name in error message of ImportError when DLL load fails

2011-01-14 Thread anatoly techtonik
anatoly techtonik added the comment: Great. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue10909] thread hang, possibly related to print

2011-01-14 Thread Scott M
New submission from Scott M : New to Python; be gentle if I've simply missed something. i'M running on Windows XP, using a recently downloaded 2.7.1. I'm running by hitting F5 in IDLE. The attached .py creates 2 threads, one which updates a Tkinter label 10 times a second forever, and one whi

[issue10854] Output .pyd name in error message of ImportError when DLL load fails

2011-01-14 Thread Nick Coghlan
Nick Coghlan added the comment: Sorry, I missed that the request had changed to just the .pyd name. That at least is useful, since you then know where to start with depends.exe. It should be fairly straightforward to implement as well. Adjusted issue title accordingly. -- resolution:

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-14 Thread Nick Coghlan
Nick Coghlan added the comment: As Martin says, we aren't inclined to implement or maintain the equivalent of depends.exe in order to provide a slightly better error message. If anyone wants to reopen this issue, provide a patch. Otherwise devs are just going to close it again. Optionally, c

[issue10903] ZipExtFile:_update_crc fails for CRC >= 0x80000000

2011-01-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you provide such a file? What system are you testing on? -- nosy: +pitrou ___ Python tracker ___ __

[issue10907] OS X installer: warn users of buggy Tcl/Tk in OS X 10.6

2011-01-14 Thread Michael Foord
Michael Foord added the comment: This looks good Ned. My main concern is that we make it clear from the *Download* page that users who want IDLE to "just work" (even on 10.6) they should install the 32 bit version. Noting that Activestate Tcl/Tk 8.5 is a *requirement* for Tkinter/IDLE with th

[issue10907] OS X installer: warn users of buggy Tcl/Tk in OS X 10.6

2011-01-14 Thread David Beazley
David Beazley added the comment: A comment from the training world: The instability of IDLE on the Mac makes teaching introductory Python courses a nightmare at the moment. Sure, one might argue that students should install an alternative editor, but then you usually end up with two proble

[issue3978] ZipFileExt.read() can be incredibly slow; patch included

2011-01-14 Thread Andre Berg
Andre Berg added the comment: "Decryption is extremely slow as it is implemented in native Python rather than C" Right, of course, I missed this when reading the docs. I have a habit of jumping straight to the point. As I was asked to try it with a non-password protected zip file here's the

[issue10278] add time.wallclock() method

2011-01-14 Thread Brian Curtin
Brian Curtin added the comment: > In Windows, it should probably use GetTickCount64 if available, > otherwise GetTickCount with logic to handle wrapping. I think > QueryPerformanceCounter is problematic as a general-purpose timer: > depending on the hardware and Windows version, it can be offse

[issue10907] OS X installer: warn users of buggy Tcl/Tk in OS X 10.6

2011-01-14 Thread Ned Deily
Ned Deily added the comment: (I'll plan to commit to py3k later today pending any review comments and submit expanded pydotorg changes.) -- nosy: +michael.foord, ronaldoussoren stage: -> commit review Added file: http://bugs.python.org/file20408/pydotorg_10_6_tk.patch ___

[issue10896] trace module compares directories as strings (--ignore-dir)

2011-01-14 Thread SilentGhost
SilentGhost added the comment: #10908 is dealing with this and other issue re ignored dirs. -- status: open -> closed superseder: -> Improvements to trace._Ignore ___ Python tracker __

[issue10908] Improvements to trace._Ignore

2011-01-14 Thread SilentGhost
New submission from SilentGhost : In the course of fixing #10896 I've noticed a few things: 1. --ignore-dir='$prefix' doesn't work on windows. I don't know if it has to, there is no information in docs regarding it at all. It does work on Unix. 2. The way module check is done is inefficient.

[issue10907] OS X installer: warn users of buggy Tcl/Tk in OS X 10.6

2011-01-14 Thread Ned Deily
New submission from Ned Deily : With 2.7 and now 3.2, we have been supplying two variants of OS X installers: the traditional 32-bit only version dynamically linked with Tk 8.4, the only version available across all supported OS X releases; and a new 64-bit/32-bit version dynamically linked wi

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: Remove tmpy44zj7.html and tmpav1vve.html: a similar file is included in full_source_and_error.zip. -- ___ Python tracker ___ __

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12751/tmpy44zj7.html ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12750/tmpav1vve.html ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file20269/cgi_plus_tests.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: Remove cgi_plus_tests.diff: it looks to be an old version of cgi_32.patch. @r.david.murray: Did you write cgi_plus_tests.diff, or is it based on the work on Pierre Quentel? -- ___ Python tracker

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file20403/cgi_32.patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: haypo>> What is the latest patch for test_cgi? quentel> My latest patch for test_cgi is in cgi_32.patch Ok, but cgi_32.patch doesn't add any test. I only adapt existing tests for your other changes. I remove cgi_32.patch because it was commited. --

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Pierre Quentel
Pierre Quentel added the comment: My latest patch for test_cgi is in cgi_32.patch I will try to add more tests later -- ___ Python tracker ___ __

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Pierre Quentel
Changes by Pierre Quentel : Removed file: http://bugs.python.org/file20405/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue8232] webbrowser.open incomplete on Windows

2011-01-14 Thread Dev Player
Dev Player added the comment: Don't forget to check if the MS Internet Explorer's advanced option to open new URLS in a seperate windows effects this. Users can have this advanced setting set differently on different computers(or even accounts). Also different browser versions call that opti

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: TODO: Add more tests to test_cgi. What is the latest patch for test_cgi? -- ___ Python tracker ___ _

[issue10906] wsgiref should mention that CGI scripts usually expect HTTPS variable to be set to 'on'

2011-01-14 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/library/wsgiref.html#wsgiref.util.guess_scheme The documentation says servers typically set HTTPS variable to a value of “1” or “yes”, when a request is received via SSL, but CGI tutorials, IIS and Apache set this to “on”. Mislead

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Pierre Quentel
Pierre Quentel added the comment: Thanks a lot Victor ! I wrote the patch : Pierre Quentel (pierre.quen...@gmail.com) with many inputs by Glenn Linderman 2011/1/14 STINNER Victor > > STINNER Victor added the comment: > > Oh, I forgot to credit the author(s): who wrote the patch? > > ---

[issue3978] ZipFileExt.read() can be incredibly slow; patch included

2011-01-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I am still seeing the same performance as the OP when I use > extractall() with a password protected ZIP of size 287 MB (containing > one compressed movie file of size 297 MB). Please try with a non-password protected file. -- __

[issue3978] ZipFileExt.read() can be incredibly slow; patch included

2011-01-14 Thread Andre Berg
Andre Berg added the comment: If I may chime in, as I don't know where else to put this. I am still seeing the same performance as the OP when I use extractall() with a password protected ZIP of size 287 MB (containing one compressed movie file of size 297 MB). The total running time for ext

[issue10905] zipfile: fix arcname with leading '///' or '..'

2011-01-14 Thread Zhigang Wang
Zhigang Wang added the comment: Yes, in zipfile, we just overwrite it. Actually, ZipFile.extract() overwrite existing files already. If we want it more powerful, we can add a 'overwrite' parameter. But turning zipfile a full featured zip/unzip tool needs much more extra work... -- _

[issue10905] zipfile: fix arcname with leading '///' or '..'

2011-01-14 Thread Zhigang Wang
Zhigang Wang added the comment: $ unzip -l t.zip Archive: t.zip Length DateTimeName - -- - 3 01-14-2011 21:11 ../foo 3 01-14-2011 21:11 foo - --- 6 2 files [zhigang@loca

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot to credit the author(s): who wrote the patch? -- ___ Python tracker ___ ___ Python-bugs

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread STINNER Victor
STINNER Victor added the comment: r87996+r87997 adds encoding and errors argument to parse_qs() and parse_qsl() of urllib.parse. It is needed to decoded correctly %XX syntax in cgi. r87998 is the patch on the cgi module. Changes with cgi_32.patch: * Use TextIOWrapper instead of TextIOBase,

[issue10905] zipfile: fix arcname with leading '///' or '..'

2011-01-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: What happens when the archive contains both 'foo' and '../foo'? They seem to be extracted at the same place. -- nosy: +amaury.forgeotdarc ___ Python tracker ___

[issue10905] zipfile: fix arcname with leading '///' or '..'

2011-01-14 Thread Zhigang Wang
New submission from Zhigang Wang : We only support arcname with one leading '/', but not more. This patch fixes it. We don't support arcname with '..' well. The default behavior of unzip and 7z is to ignore all '..'. This patch does the same. Also updated the doc. If there are other security r

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Pierre Quentel
Changes by Pierre Quentel : Removed file: http://bugs.python.org/file20402/cgi_32.patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Pierre Quentel
Pierre Quentel added the comment: Glenn, you read my mind ;-) Thanks for mentioning the O_BINARY thing. New (last !) patch attached -- Added file: http://bugs.python.org/file20403/cgi_32.patch ___ Python tracker _

[issue10904] PYTHONIOENCODING is not in manpage

2011-01-14 Thread Peter Kleiweg
New submission from Peter Kleiweg : The environment variable PYTHONIOENCODING should be documented in de manpage -- assignee: docs@python components: Documentation, IO messages: 126252 nosy: docs@python, pebbe priority: normal severity: normal status: open title: PYTHONIOENCODING is not

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Glenn Linderman
Glenn Linderman added the comment: Pierre, Thank you for the new patch, with the philosophy of "it's broke, so let's produce something the committers like to get it fixed". I see you overlooked removing the second use of O_BINARY. Locally, I removed that also, and tested your newest patch, a

[issue10903] ZipExtFile:_update_crc fails for CRC >= 0x80000000

2011-01-14 Thread arindam
New submission from arindam : File: zipfile.py Function: _update_crc statement: if eof and self._running_crc != self._expected_crc: Due to comparison of long with int, "if eof and self._running_crc != self._expected_crc:" fails when _expected_crc is negative (0x8000 or more). Type of _runn

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Etienne Robillard
Etienne Robillard added the comment: +1 thanks for this input. I agree for the most part. However if the io semantics in python 3 is radically different than on python 2, I could have expected that WSGI scripts would similarly depend on a newer type of file descriptor access using the ``sys`` m

[issue10278] add time.wallclock() method

2011-01-14 Thread Matt Joiner
Matt Joiner added the comment: This is sorely needed. IMO the current behaviour of time.clock works for Windows, and clock_gettime(CLOCK_MONOTONIC) on POSIX or clock_gettime(CLOCK_MONOTONIC_RAW) on Linux>=2.6.28. There are some related discussions on StackOverflow that may contain useful ide

[issue10902] Doc type: "run_*" instead of "run*" on http://docs.python.org/library/pdb.html

2011-01-14 Thread Eli Bendersky
Eli Bendersky added the comment: Committed to release31 in r87995 (with svnmerge) -- status: open -> closed ___ Python tracker ___ __

[issue9844] calling nonexisting function under __INSURE__

2011-01-14 Thread Eli Bendersky
Eli Bendersky added the comment: Backported to release31: r87994 (with svnmerge) -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue10902] Doc type: "run_*" instead of "run*" on http://docs.python.org/library/pdb.html

2011-01-14 Thread Eli Bendersky
Eli Bendersky added the comment: Georg, thanks - will keep that in mind. Here I started with 2.7 since this is what the user reported on. I plan to have it committed to all 3 branches today anyhow. -- ___ Python tracker

[issue10902] Doc type: "run_*" instead of "run*" on http://docs.python.org/library/pdb.html

2011-01-14 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, true - I forgot svnmerge for 27-maint was based on the py3k branch. -- ___ Python tracker ___ ___

[issue10902] Doc type: "run_*" instead of "run*" on http://docs.python.org/library/pdb.html

2011-01-14 Thread Eli Bendersky
Eli Bendersky added the comment: Committed to py3k r87993 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Pierre Quentel
Changes by Pierre Quentel : Removed file: http://bugs.python.org/file20387/cgi_32.patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Pierre Quentel
Pierre Quentel added the comment: @Victor Thanks for the comments "- I don't understand why FieldStorage changes sys.stdout and sys.stderr (see remarks about IOMix above): please remove the charset argument (it is also confusing to have two encoding arguments). it should be done somewhere el

[issue10902] Doc type: "run_*" instead of "run*" on http://docs.python.org/library/pdb.html

2011-01-14 Thread Georg Brandl
Georg Brandl added the comment: That's the wrong way of porting though... py3k first, then 2.7 and 3.1. -- nosy: +georg.brandl ___ Python tracker ___ ___

[issue10902] Doc type: "run_*" instead of "run*" on http://docs.python.org/library/pdb.html

2011-01-14 Thread Eli Bendersky
Eli Bendersky added the comment: Committed to release27-maint r87992 -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-