[issue8068] OS X Installer: merge python2 and python3 build-installer.py script

2010-03-19 Thread Ned Deily
Ned Deily n...@acm.org added the comment: This does not need to be a release blocker for 2.6.5; it can safely be applied post-release. The 2.6 version of the installer script has had the most attention paid to it since the most recent Python releases - and the only ones since OS X 10.6 was

[issue8068] OS X Installer: merge python2 and python3 build-installer.py script

2010-03-19 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Barry: these patches affect 2.6, but can easily wait for 2.6.6: its basically sync-ing the OSX package-building infrastructure between the 4 active Python branches. This does not directly affect anything seen by users. --

[issue7643] What is a Unicode line break character?

2010-03-19 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: -Chris.Carter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7643 ___ ___

[issue8151] [patch] convenience links for subprocess.call()

2010-03-19 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- versions: +Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8151 ___ ___

[issue8024] upgrade to Unicode 5.2

2010-03-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Florent Xicluna wrote: Florent Xicluna florent.xicl...@gmail.com added the comment: Reverted in 3.x: it triggers some failures. Symptoms: * repr('\uaaa') gives an empty string * test_bigmem fails repr() for Unicode doesn't use

[issue3690] sys.getsizeof wrong for Py3k bool objects

2010-03-19 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I don't think there's anything worth fixing here. It's true that getsizeof is sometimes going to return results that are too small, because there are a good few places in the longobject internals where it's not predictable in advance

[issue8024] upgrade to Unicode 5.2

2010-03-19 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: The bug was a side-effect of the update. Code point \u is now assigned to a printable character: ;TAI VIET LETTER LOW VO;Lo;0;L;N; And test_bigmem relies on this code point being non-printable. I changed it for a

[issue8048] doctest assumes sys.displayhook hasn't been touched

2010-03-19 Thread Noam Yorav-Raphael
Noam Yorav-Raphael noamr...@gmail.com added the comment: Here is a better and much shorter patch: I use sys.__displayhook__ instead of implementing it in Python, which has the nice side effect of not changing pdb behaviour. -- Added file: http://bugs.python.org/file16581/patch

[issue3690] sys.getsizeof wrong for Py3k bool objects

2010-03-19 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Closing this as won't fix, then. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3690 ___

[issue8024] upgrade to Unicode 5.2

2010-03-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Looking closer at the patch, you also changed the unicodetype mappings and since this removes a lot of entries, it looks like the Unicode consortium either moved some mappings out of the UCD file into a separate file or made some

[issue8024] upgrade to Unicode 5.2

2010-03-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Florent Xicluna wrote: Florent Xicluna florent.xicl...@gmail.com added the comment: The bug was a side-effect of the update. Code point \u is now assigned to a printable character: ;TAI VIET LETTER LOW

[issue8024] upgrade to Unicode 5.2

2010-03-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Amaury Forgeot d'Arc wrote: Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Looking closer at the patch, you also changed the unicodetype mappings and since this removes a lot of entries, it looks like the Unicode

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-19 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- versions: +Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8089 ___ ___

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-19 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Per discussion with Ronald and Benjamin, attaching a revised patch (issue-sl-configure-32-31-rev3.txt) for 3.1 which ports the changes committed in r78813 and r78816 along with the Mac/README changes. In the process of producing the revised 3.1 patch,

[issue8175] 2.6.5 OS X 10.5 --with-universal-archs=all (4-way) fails building pythonw-64

2010-03-19 Thread Ned Deily
New submission from Ned Deily n...@acm.org: A change made to Mac/Makefile in r78813 for 2.6.5 does not work correctly when the --with-universal-archs=all (4-way) framework configure option is selected. The build of pythonw-64 fails with an incorrect gcc command: gcc-4.0 64 -arch x86_64.

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-19 Thread Ned Deily
Ned Deily n...@acm.org added the comment: (2.6.5 - Issue8175) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8089 ___ ___ Python-bugs-list

[issue8176] Interpreter crash with double free or corruption message

2010-03-19 Thread Carlos Ribeiro
New submission from Carlos Ribeiro carribe...@gmail.com: I was running Django in development mode (python manage.py runserver 0.0.0.0:8002). I saved a python source file; Django automatically detected the change and reloaded the module (that's the usual behavior). Then a backtrace from glibc

[issue8176] Interpreter crash with double free or corruption message

2010-03-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Python was displaying an error: did you saw the error? I don't know where Django logs stderr. Could you also run Python in verbose mode? Set PYTHONVERBOSE=2 environment variable. It should write useful informations before the

[issue8142] libffi update to 3.0.9

2010-03-19 Thread Ned Deily
Ned Deily n...@acm.org added the comment: (Adding Ronald for OS X.) -- nosy: +ned.deily, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8142 ___

[issue8176] Interpreter crash with double free or corruption message

2010-03-19 Thread Carlos Ribeiro
Carlos Ribeiro carribe...@gmail.com added the comment: I know I have little information but unfortunately I couldn't reproduce the crash. Seems like a racing condition or something similar. I'll see what I can do about it. On Fri, Mar 19, 2010 at 07:46, STINNER Victor

[issue6081] str.format_from_mapping()

2010-03-19 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I believe this patch fixes the issue. Tests and documentation are still needed, of course. -- Added file: http://bugs.python.org/file16585/issue6081.diff ___ Python tracker rep...@bugs.python.org

[issue6081] str.format_from_mapping()

2010-03-19 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Added a comment to explain the change. -- Added file: http://bugs.python.org/file16586/issue6081.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6081

[issue6081] str.format_from_mapping()

2010-03-19 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: Removed file: http://bugs.python.org/file16585/issue6081.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6081 ___

[issue3135] inspect.getcallargs()

2010-03-19 Thread George Sakkis
Changes by George Sakkis george.sak...@gmail.com: Removed file: http://bugs.python.org/file16579/getcallargs.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3135 ___

[issue3135] inspect.getcallargs()

2010-03-19 Thread George Sakkis
George Sakkis george.sak...@gmail.com added the comment: Renamed the Testcase classes to conform with the rest in test_inspect.py, added a few more tests for tuple args and patched against the latest trunk (r79086). -- Added file: http://bugs.python.org/file16587/getcallargs.patch

[issue3135] inspect.getcallargs()

2010-03-19 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: The patch will also need docs in inspect.rst. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3135 ___

[issue8024] upgrade to Unicode 5.2

2010-03-19 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Merged with r79093 -- resolution: accepted - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8024

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-19 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: commited to the trunk, commit to the 2.6 branch pending -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8154 ___

[issue8142] libffi update to 3.0.9

2010-03-19 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: On 18.03.2010 16:44, Thomas Heller wrote: Thomas Hellerthel...@ctypes.org added the comment: the ports which are maintained separately still need an update: libffi_msvc libffi trunk now has a port to x86/msvc. might require some

[issue7860] 32-bit Python on 64-bit Windows reports incorrect architecture

2010-03-19 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: #7347 depends on this for proper testing, and arch_misrepresented.diff seems to have been labeled as acceptable. Would anyone be willing to check it in? -- ___ Python tracker rep...@bugs.python.org

[issue8177] Incoherent error with keyword argument follow by unpacking argument lists

2010-03-19 Thread Ghislain Hivon
New submission from Ghislain Hivon jahe...@hotmail.com: Take a fonction with a parameter and *args def foo(bar, args*) pass then call it like this myargs = [1, 2, 3, 4, 5] foo(bar=1, *myargs) The call produce this error : TypeError: foo() got multiple values for keyword argument 'bar'

[issue8151] [patch] convenience links for subprocess.call()

2010-03-19 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: This was fixed in r78206 for trunk, but it doesn't look like it made it's way into any of the other branches. -- nosy: +brian.curtin priority: - low type: - behavior ___ Python tracker

[issue6474] Inconsistent TypeError message on function calls with wrong number of arguments

2010-03-19 Thread George Sakkis
George Sakkis george.sak...@gmail.com added the comment: Which version are you running ? I don't get the positional word in 2.6 and 2.7a4. In my opinion it should report how many required arguments are passed, regardless of how they are passed (positionally or by name). So in your example it

[issue8142] libffi update to 3.0.9

2010-03-19 Thread Thomas Heller
Thomas Heller thel...@ctypes.org added the comment: We should revert the following chunk for configure.ac to generate the Makefile's again, so that we are able to run the testsuite at least with dejagnu: -AC_CONFIG_FILES(include/Makefile include/ffi.h Makefile testsuite/Makefile

[issue8173] test_subprocess leaks

2010-03-19 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: py3k r79097 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8173 ___

[issue6474] Inconsistent TypeError message on function calls with wrong number of arguments

2010-03-19 Thread George Sakkis
George Sakkis george.sak...@gmail.com added the comment: Attached patch for displaying the number of missing required arguments. -- keywords: +patch Added file: http://bugs.python.org/file16589/6474.patch ___ Python tracker rep...@bugs.python.org

[issue8142] libffi update to 3.0.9

2010-03-19 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: Can you make this change, run autoconf, and commit please? done, and updated the patch for the merge from the trunk. -- Added file: http://bugs.python.org/file16590/libffi-update3.diff ___ Python

[issue8142] libffi update to 3.0.9

2010-03-19 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: Removed file: http://bugs.python.org/file16588/libffi-update2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8142 ___

[issue3135] inspect.getcallargs()

2010-03-19 Thread George Sakkis
George Sakkis george.sak...@gmail.com added the comment: - Added docs in inspect.rst - Fixed TypeError message for zero-arg functions (takes no arguments instead of takes exactly 0 arguments) + added test. -- Added file: http://bugs.python.org/file16591/getcallargs2.patch

[issue8142] libffi update to 3.0.9

2010-03-19 Thread Thomas Heller
Thomas Heller thel...@ctypes.org added the comment: done, and updated the patch for the merge from the trunk. -- Added file: http://bugs.python.org/file16590/libffi-update3.diff This patch passes the ctypes tests and libffi testsuite on this system: Linux tubu64

[issue8133] test_imp fails on OS X 10.6; filename normalization issue.

2010-03-19 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - brett.cannon priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8133 ___

[issue3135] inspect.getcallargs()

2010-03-19 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Would you upload this patch to Rietveld for review? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3135 ___

[issue6081] str.format_from_mapping()

2010-03-19 Thread Filip Gruszczyński
Filip Gruszczyński grusz...@gmail.com added the comment: Could you point me, where to add tests and documentation? I would happily add those. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6081

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-19 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed 3.1 in r79117. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8089 ___

[issue8133] test_imp fails on OS X; filename normalization issue.

2010-03-19 Thread Ned Deily
Ned Deily n...@acm.org added the comment: (BTW, the problem exists on other versions of OS X, not just 10.6.) -- title: test_imp fails on OS X 10.6; filename normalization issue. - test_imp fails on OS X; filename normalization issue. ___ Python

[issue8068] OS X Installer: merge python2 and python3 build-installer.py script

2010-03-19 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I applied the update in r79119. Thanks! -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8068

[issue6081] str.format_from_mapping()

2010-03-19 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: http://docs.python.org/library/stdtypes.html#str.format, for starters. This is in Doc/library/stdtypes.rst. For tests, probably in Lib/test/test_unicode.py. I'm not sure if we should add this to 2.7 (or even 3.2, for that matter), but if so,

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-19 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Done for 3.1.x in r79121. I am now waiting for 3.1.2 to be taggued, then I'll revert the 3.x branch into a state the closest possible to 3.1.x. Next, Distutils will be feature-frozen in 3.x like it is in 2.x, as things are now happening in

[issue3135] inspect.getcallargs()

2010-03-19 Thread George Sakkis
George Sakkis george.sak...@gmail.com added the comment: Uploaded at http://codereview.appspot.com/659041/show -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3135 ___

[issue6081] str.format_from_mapping()

2010-03-19 Thread Filip Gruszczyński
Filip Gruszczyński grusz...@gmail.com added the comment: Ok, unfortunately this code won't work for certain tests. Take those: self.assertEqual(My name is {0}.format('Fred'), My name is Fred) We pass only one argument, which is a dict and this won't satisfy such test. We need to think

[issue4892] Sending Connection-objects over multiprocessing connections fails

2010-03-19 Thread Stein Magnus Jodal
Changes by Stein Magnus Jodal stein.mag...@jodal.no: -- nosy: +jodal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4892 ___ ___ Python-bugs-list

[issue7755] copyright clarification for audiotest.au

2010-03-19 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- priority: deferred blocker - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7755 ___

[issue3928] os.mknod missing on Solaris

2010-03-19 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- priority: deferred blocker - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3928 ___

[issue8178] test_thread fails on POSIX

2010-03-19 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: The test fails randomly on POSIX platforms since r78527 (fixing issue #7242). The failure is in the new TestCase: TestForkInThread. $ ./python -m test.regrtest -uall -R :: test_thread test_thread beginning 9 repetitions 123456789

[issue8178] test_thread fails on POSIX

2010-03-19 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed with r79127 and r79128. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue7860] 32-bit Python on 64-bit Windows reports incorrect architecture

2010-03-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I think it is actually pretty straightforward to write a *unit* test for this. We just need to check that the logic works correctly given the expected presence or absence of the environment variables. That doesn't test whether or not

[issue2548] Undetected error in exception handling

2010-03-19 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: The final word on this seems to be this: - Wait until when we aren't in a beta release. (DONE) - Quoting: Well, For Py3K at least we might need to consider going through the C API and fixing it so that these incorrect

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-19 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: committed to the 2.6 branch as well -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8154 ___

[issue7443] test.support.unlink issue on Windows platform

2010-03-19 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: Andrew: There have been changes committed within the last week to #7712, which Florent suggested might be related. Can you please re-test this to see if it still exists, and if it does, bug me and I'll try to get some more movement on

[issue4961] Inconsistent/wrong result of askyesno function in tkMessageBox

2010-03-19 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: committed to the 2.6 branch as well -- assignee: gpolo - status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4961 ___

[issue7356] parsing of ldconfig output in ctypes/utils.py depends on the locale

2010-03-19 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: committed to the 2.6 branch as well -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7356 ___

[issue2356] fixer for sys.exitfunc - atexit

2010-03-19 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: I've posted to python-dev asking for a reviewer for this, the thread is at http://mail.python.org/pipermail/python-dev/2010-March/098597.html -- nosy: +jafo ___ Python tracker

[issue2356] fixer for sys.exitfunc - atexit

2010-03-19 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Sean, are you referring to the warning or the 2to3 fixer? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2356 ___

[issue2356] fixer for sys.exitfunc - atexit

2010-03-19 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: collinwinter - benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2356 ___

[issue8179] Test failure in test_macpath.py test_realpath (Mac OS X)

2010-03-19 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: On Mac OS X 10.6.2 == ERROR: test_realpath (__main__.MacCommonTest) -- Traceback (most recent call

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-19 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: I'm *assuming* this is a Mac OS X issue. (10.6.2) ./python.exe Lib/test/test_pep277.py test_directory (__main__.UnicodeFileTests) ... ok test_failures (__main__.UnicodeFileTests) ... ok test_listdir (__main__.UnicodeFileTests) ... FAIL

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-19 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- stage: - needs patch versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8180 ___

[issue7832] assertSameElements([0, 1, 1], [0, 0, 1]) does not fail

2010-03-19 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Committed in revision 79132. For Python 2.7 I renamed assertSameElements to assertItemsEqual (assertSameElements has never been released on 2.X). In 3.2 assertItemsEqual will be new and assertSameElements will be de-documented /

[issue5649] OS X Installer: only include PythonSystemFixes package if target includes 10.3

2010-03-19 Thread Ned Deily
Ned Deily n...@acm.org added the comment: With the installer build updates referenced by Issue8068, PythonSystemFixes is now only included in installers targeted for 10.3. -- status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7347] Add {Create|Delete}KeyEx to _winreg, doc and test updates

2010-03-19 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Why the *Ex names? Can't we just add additional arguments to the original names? The Python names do not necesarily have to match the API calls. Having QueryValue and QueryValueEx was a mistake in the first place, and I would prefer