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

2011-01-14 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Committed to release27-maint r87992 -- resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10902 ___

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

2011-01-14 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: That's the wrong way of porting though... py3k first, then 2.7 and 3.1. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10902

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

2011-01-14 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com 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

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

2011-01-14 Thread Pierre Quentel
Changes by Pierre Quentel pierre.quen...@gmail.com: Removed file: http://bugs.python.org/file20387/cgi_32.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___

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

2011-01-14 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Committed to py3k r87993 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10902 ___ ___

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

2011-01-14 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Ah, true - I forgot svnmerge for 27-maint was based on the py3k branch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10902 ___

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

2011-01-14 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com 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

[issue9844] calling nonexisting function under __INSURE__

2011-01-14 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Backported to release31: r87994 (with svnmerge) -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9844

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

2011-01-14 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Committed to release31 in r87995 (with svnmerge) -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10902 ___

[issue10278] add time.wallclock() method

2011-01-14 Thread Matt Joiner
Matt Joiner anacro...@gmail.com 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

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

2011-01-14 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org 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

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

2011-01-14 Thread arindam
New submission from arindam arindampa...@gmail.com: 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

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

2011-01-14 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com 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

[issue10904] PYTHONIOENCODING is not in manpage

2011-01-14 Thread Peter Kleiweg
New submission from Peter Kleiweg pklei...@xs4all.nl: 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:

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

2011-01-14 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com 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

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

2011-01-14 Thread Pierre Quentel
Changes by Pierre Quentel pierre.quen...@gmail.com: Removed file: http://bugs.python.org/file20402/cgi_32.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___

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

2011-01-14 Thread Zhigang Wang
New submission from Zhigang Wang w1z...@gmail.com: 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

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

2011-01-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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 rep...@bugs.python.org

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Oh, I forgot to credit the author(s): who wrote the patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___

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

2011-01-14 Thread Zhigang Wang
Zhigang Wang w1z...@gmail.com 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

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

2011-01-14 Thread Zhigang Wang
Zhigang Wang w1z...@gmail.com 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

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

2011-01-14 Thread Andre Berg
Andre Berg andre.b...@email.de 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

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

2011-01-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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. --

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

2011-01-14 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com 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 rep...@bugs.python.org STINNER Victor victor.stin...@haypocalc.com added the comment:

[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 techto...@gmail.com: 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

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: TODO: Add more tests to test_cgi. What is the latest patch for test_cgi? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953

[issue8232] webbrowser.open incomplete on Windows

2011-01-14 Thread Dev Player
Dev Player devpla...@gmail.com 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

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

2011-01-14 Thread Pierre Quentel
Changes by Pierre Quentel pierre.quen...@gmail.com: Removed file: http://bugs.python.org/file20405/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___

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

2011-01-14 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com added the comment: My latest patch for test_cgi is in cgi_32.patch I will try to add more tests later -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-01-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file20403/cgi_32.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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? -- ___

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

2011-01-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file20269/cgi_plus_tests.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___

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

2011-01-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file12750/tmpav1vve.html ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___

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

2011-01-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file12751/tmpy44zj7.html ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Remove tmpy44zj7.html and tmpav1vve.html: a similar file is included in full_source_and_error.zip. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953

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

2011-01-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: -pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___ ___ Python-bugs-list mailing

[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 n...@acm.org: 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

[issue10908] Improvements to trace._Ignore

2011-01-14 Thread SilentGhost
New submission from SilentGhost ghost@gmail.com: 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

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

2011-01-14 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: #10908 is dealing with this and other issue re ignored dirs. -- status: open - closed superseder: - Improvements to trace._Ignore ___ Python tracker rep...@bugs.python.org

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

2011-01-14 Thread Ned Deily
Ned Deily n...@acm.org 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

[issue10278] add time.wallclock() method

2011-01-14 Thread Brian Curtin
Brian Curtin cur...@acm.org 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

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

2011-01-14 Thread Andre Berg
Andre Berg andre.b...@email.de 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

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

2011-01-14 Thread David Beazley
David Beazley d...@dabeaz.com 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

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

2011-01-14 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk 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*

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

2011-01-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Can you provide such a file? What system are you testing on? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10903 ___

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

2011-01-14 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

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

2011-01-14 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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.

[issue10909] thread hang, possibly related to print

2011-01-14 Thread Scott M
New submission from Scott M scott.m...@comcast.net: 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

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

2011-01-14 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Great. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10854 ___ ___

[issue10904] PYTHONIOENCODING is not in manpage

2011-01-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue10904] PYTHONIOENCODING is not in manpage

2011-01-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

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

2011-01-14 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

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

2011-01-14 Thread Peter
Peter p.j.a.c...@googlemail.com 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 rep...@bugs.python.org

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

2011-01-14 Thread Brian Curtin
Brian Curtin cur...@acm.org 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

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

2011-01-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2011-01-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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

[issue10904] PYTHONIOENCODING is not in manpage

2011-01-14 Thread Peter Kleiweg
Peter Kleiweg pklei...@xs4all.nl 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

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

2011-01-14 Thread Glenn Linderman
Changes by Glenn Linderman v+pyt...@g.nevcal.com: -- versions: +Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___ ___

[issue9527] Add aware local time support to datetime module

2011-01-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

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

2011-01-14 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com 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

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

2011-01-14 Thread ronnix
ronnix ronan.ami...@gmail.com 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

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

2011-01-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue9527] Add aware local time support to datetime module

2011-01-14 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- title: Add aware local time support to datetime module (issue9527) - Add aware local time support to datetime module ___ Python tracker rep...@bugs.python.org

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

2011-01-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org http://bugs.python.org/issue7322

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

2011-01-14 Thread David Beazley
David Beazley d...@dabeaz.com 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

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

2011-01-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: unit test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10694 ___ ___

[issue1170] shlex have problems with parsing unicode

2011-01-14 Thread Doug Hellmann
Changes by Doug Hellmann doug.hellm...@gmail.com: -- nosy: +doughellmann ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1170 ___ ___

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

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

[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 ber...@regeer.org: 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

[issue10911] cgi: add more tests

2011-01-14 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: 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:

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue2128] sys.argv is wrong for unicode strings

2011-01-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2128 ___ ___

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue6771] Curses.wrapper: documentation/implementation error

2011-01-14 Thread Radiant
Radiant abbconsult...@gmail.com 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 rep...@bugs.python.org

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

2011-01-14 Thread Robert Siemer
Changes by Robert Siemer robert.siemer-python@backsla.sh: -- nosy: +siemer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10817 ___ ___

[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 jeanpierr...@gmail.com: 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

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

2011-01-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-01-14 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com 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

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

2011-01-14 Thread Ned Deily
Ned Deily n...@acm.org 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

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

2011-01-14 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com 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

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

2011-01-14 Thread Ned Deily
Ned Deily n...@acm.org 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

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

2011-01-14 Thread Ned Deily
Ned Deily n...@acm.org 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:

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

2011-01-14 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com 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

[issue10502] Add unittestguirunner to Tools/

2011-01-14 Thread Ned Deily
Ned Deily n...@acm.org 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 rep...@bugs.python.org http://bugs.python.org/issue10502

[issue1227748] subprocess: inheritance of std descriptors inconsistent

2011-01-14 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com 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

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

2011-01-14 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com 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.