[issue11656] Debug builds for Windows would be very helpful

2011-03-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: But for a debug build to be really useful, the source code must be available to the debugger. Compiling these source files is really a matter of minutes... provided that external dependencies are all present and also compiled in debug

[issue11656] Debug builds for Windows would be very helpful

2011-03-23 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: I believe there was a previous request for this which was rejected, likely for reasons Amaury listed. -- nosy: +brian.curtin, loewis ___ Python tracker rep...@bugs.python.org

[issue11656] Debug builds for Windows would be very helpful

2011-03-23 Thread Jack Jansen
Jack Jansen jackjan...@users.sourceforge.net added the comment: Sorry, I think I wasn't clear in my original message. I don't want to debug Python, I want to debug only my own code. But because it embeds Python I cannot debug my own code, because it needs to link to Python. Indeed, if it was

[issue6811] add a filename argument to marshal.load*

2011-03-23 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 5deb2094f033 by Brett Cannon in branch 'default': Make importlib compatible with __import__ by fixing code.co_filename http://hg.python.org/cpython/rev/5deb2094f033 -- nosy: +python-dev

[issue8754] ImportError: quote bad module name in message

2011-03-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I patched import.c to use repr() instead of str() (%R instead of %U) to format module names because they might contain surrogate characters. Surrogate characters are not encodable to any encoding, except UTF-16 and UTF-32. And so

[issue6811] add a filename argument to marshal.load*

2011-03-23 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: I went with a different solution as backwards-compatibility dictates a solution that is not as complete as one might do with an argument to marshal. -- resolution: - wont fix stage: test needed - committed/rejected status: open - closed

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Antoine New changeset 9aa6097131ef by Antoine Pitrou in branch '3.2': Antoine Issue #11653: fix -W with -j in regrtest Antoine http://hg.python.org/cpython/rev/9aa6097131ef Antoine New changeset c381b35e4f31 by Antoine Pitrou in

[issue11647] function decorated with a context manager can only be invoked once

2011-03-23 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: The former sounds like fixing the bug, the latter like removing functionality. So yes, I prefer the former... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11647

[issue11656] Debug builds for Windows would be very helpful

2011-03-23 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Jack: what's the issue with the external dependencies? Just run Tool/buildbot/external.bat (or external-amd64.bat, or external-common.bat), and be done. If you merely want to debug your extension modules, I recommend *not* to turn on

[issue11652] urlib{, 2} returns a pair of integers as the content-length value

2011-03-23 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: One way I can think of is by resorting so some list of exceptions. Not quite elegant, but it works... -- keywords: +patch Added file: http://bugs.python.org/file21365/issue11652.patch ___

[issue11657] multiprocessing_{send,recv}fd fail with fds 256

2011-03-23 Thread Ben Darnell
New submission from Ben Darnell ben.darn...@gmail.com: Line 125 of multiprocessing.c is *CMSG_DATA(cmsg) = fd;. CMSG_DATA returns an unsigned char*, while fd is an int, so this code does not support file descriptors 256 (additionally, I'm not sure if the buffer is guaranteed to be

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: The import failures are because you didn't rebuild (I added a new function to imp). Re-build and the import issues will go away. -- ___ Python tracker rep...@bugs.python.org

[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-03-23 Thread Davide Rizzo
Davide Rizzo sor...@gmail.com added the comment: I couldn't get an automated test to fail on the bug with subprocess. Apparently an interpreter launched with Popen is not subject to the bug as it is when launched directly from the shell (i.e. fgets is not interrupted by a SIGSTOP sent by the

[issue11652] urlib{, 2} returns a pair of integers as the content-length value

2011-03-23 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Yes, this is good enough for a non-standard behavior. However, I would be curious to know what curl did. Did it do something on based on the value or sequence in which it was obtained or just over-wrote it. -- title: urlib{,2}

[issue11658] complex sqrt error

2011-03-23 Thread João Bernardo
New submission from João Bernardo jbv...@gmail.com: With Python 3, the ** operator is supposed to do math with complex numbers, but look what is happening: Python 3.2 (r32:88445, Feb 20 2011, 21:30:00) [MSC v.1500 64 bit (AMD64)] on win32 Type copyright, credits or license() for more

[issue11549] Rewrite peephole to work on AST

2011-03-23 Thread Eugene Toder
Eugene Toder elto...@gmail.com added the comment: Is anyone looking or planing to look at the patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___

[issue11549] Rewrite peephole to work on AST

2011-03-23 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I suspect someone will sometime. There is bit of a backlog of older issues. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___

[issue11658] complex sqrt error

2011-03-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: (-1)**.5 is the same than complex(-1,0)**.5, but it is computed differently than cmath.sqrt(-1). -1.**0.5 computes: vabs = math.hypot(-1, 0) len = pow(vabs, 0.5) at = math.atan2(0, -1) phase = at * 0.5 return

[issue6715] xz compressor support

2011-03-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov -Christophe Simonis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___

[issue6715] xz compressor support

2011-03-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___

[issue6715] xz compressor support

2011-03-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +Christophe Simonis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___ ___

[issue10883] urllib: socket is not closed explicitly

2011-03-23 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 2e5aff2a9e54 by Senthil Kumaran in branch '3.2': issue10883 - Silence some ftp related ResourceWarnings in test_urllib2net. Patch by Nadeem Vawda. http://hg.python.org/cpython/rev/2e5aff2a9e54 New changeset 0937b3618b86 by Senthil

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Brett The import failures are because you didn't rebuild (I added a new Brett function to imp). Re-build and the import issues will go away. An easy mistake to make. I'm used to running make test which would have guaranteed python.exe was

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-03-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11236 ___ ___

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2011-03-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7839 ___ ___ Python-bugs-list

[issue11647] function decorated with a context manager can only be invoked once

2011-03-23 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: The former sounds like fixing the bug, the latter like removing functionality. So yes, I prefer the former... The reason I'm reluctant is that it makes for a fundamental change in behaviour between the use of an @contextmanager definition as

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Skip, what parameters are you using with ./configure ? -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11653 ___

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: You have a build problem, Skip. On my system and at least all of the stable buildbots for 3.3 there are no test failures from imp._fix_co_filename(). -- ___ Python tracker rep...@bugs.python.org

[issue11659] Fix ResourceWarning in test_subprocess

2011-03-23 Thread Ben Hayden
New submission from Ben Hayden hayden...@gmail.com: Adding in a cleanup to close Popen stdout in the function test_select_unbuffered in test_subprocess file in Lib/test dir. There are several tickets about different resource warnings mentioning test_subprocess - but I couldn't find any

<    1   2