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

2010-03-18 Thread Ned Deily
Ned Deily added the comment: Test failing on 3.1.2rc1. Should this be considered a release blocker? Perhaps just disable temporarily? -- nosy: +benjamin.peterson, ned.deily ___ Python tracker ___

[issue8118] PYTHON_API_VERSION needs to be bumped?

2010-03-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: But should PYTHON_API_VERSION be increased for the 2.7 release? I think it should because of the binary incompatible differences between 2.5 and 2.6. In a perfect world that would have resulted in an increase of PYTHON_API_VERSION for the 2.6.0 release, bu

[issue8118] PYTHON_API_VERSION needs to be bumped?

2010-03-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: > But should PYTHON_API_VERSION be increased for the 2.7 release? Sounds like a good idea. -- ___ Python tracker ___

[issue8167] test_tk, test_ttk_guionly, and test_ttk_textonly crash when run from install directory

2010-03-18 Thread Ned Deily
New submission from Ned Deily : When installation tests are run on a user system using the OS X installer, the three tests fail with a crash. Similar results would be expected on other unix-y platforms when tests are run from the install destination, and not the source or build directories (w

[issue8168] python3 py_compile does not ignore UTF-8 BOM characters

2010-03-18 Thread Ned Deily
New submission from Ned Deily : $ cat bom3.py # coding: utf-8 print("BOM BOOM!") $ file bom3.py bom3.py: UTF-8 Unicode (with BOM) text $ python3.1 Python 3.1.1+ (r311:74480, Jan 20 2010, 00:37:31) [GCC 4.4.3 20100108 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for m

[issue8169] SyntaxError messages during install due to compilation of lib2to3 test files

2010-03-18 Thread Ned Deily
New submission from Ned Deily : On Python 3.1.2rc1 and py3k, "make install" results in two identical spurious error messages: Compiling /path/to/lib/python3.1/lib2to3/tests/data/bom.py ... *** File "/usr/local/lib/python3.1/lib2to3/tests/data/bom.py", line 1 # coding: utf-8 ^ Synta

[issue8170] Wrong Paths for distutils build --plat-name=win-amd64

2010-03-18 Thread Robin Becker
New submission from Robin Becker : When building extensions on win32 distutils with --plat-name=win-amd64 adds PCBuild/AMD64 in the wrong place. This patch ensures the AMD64 location comes first -- assignee: tarek components: Distutils files: patch.txt messages: 101259 nosy: rgbecker,

[issue8171] bdist_wininst builds wrongly for --plat-name=win-amd64

2010-03-18 Thread Robin Becker
New submission from Robin Becker : I notice this from win32 setup.py bdist_wininst --plat-name=win-amd64 > running bdist_wininst > running build > running build_py > creating build > creating build\lib.win32-2.6 > creating build\lib.win32-2.6\reportlab > copying src\reportlab\rl_config.py -> bui

[issue8135] urllib.unquote doesn't decode mixed-case percent escapes

2010-03-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed this in r79047. If we are to backport this to release26-maint, we need barry's approval. Barry, any thoughts? The change is a minor improvement, we have lived with normal case percent escape for long, mixed case would be bonus in release26. --

[issue8172] Documentation of Property needs example

2010-03-18 Thread Mitchell Model
New submission from Mitchell Model : Strangely, the extensive documentation of the property function in the "Built-in Functions" of the documentation has no example of the use of a property. Readers unfamiliar with properties should be told that obj.x invokes the getter, obj.x=value the setter

[issue8142] libffi update to 3.0.9

2010-03-18 Thread Thomas Heller
Thomas Heller 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 > extra updates from libffi. I'll take care of this one. Would it be a good idea to upgrade to libffi trunk in Mo

[issue8142] libffi update to 3.0.9

2010-03-18 Thread Florent Xicluna
Florent Xicluna added the comment: > no access to solaris hardware. please could you run the libffi > testsuite on this machine? make sure that expect is installed. I don't have access to such hardware. I noticed the buildbot failures since libffi was upgraded. -- keywords: +buildbot n

[issue6081] str.format_from_mapping()

2010-03-18 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: I have created a small patch, that adds method that formats using a dict. It's the first time I have written anything in python implementation, so I would very appreciate any advice. Change allows the following: >>> m = Mapping(a='b') >>> '{a} {c}'.format

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

2010-03-18 Thread Bill Janssen
Bill Janssen added the comment: I'm seeing this on Python 2.6.4 on Windows XP with the latest MinGW/msys. -- nosy: +janssen ___ Python tracker ___ ___

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

2010-03-18 Thread Bill Janssen
Bill Janssen added the comment: Re-opening. -- keywords: +26backport priority: high -> normal resolution: invalid -> status: closed -> open ___ Python tracker ___ __

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

2010-03-18 Thread Bill Janssen
Bill Janssen added the comment: My bad. Adding --compiler=mingw32 eliminates this error. -- resolution: -> rejected status: open -> closed ___ Python tracker ___ __

[issue6081] str.format_from_mapping()

2010-03-18 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the patch. It would be nice if you could include unit tests too. -- priority: -> normal stage: -> test needed ___ Python tracker ___

[issue7713] implement ability to disable automatic search path additions

2010-03-18 Thread Jesus Rivero
Changes by Jesus Rivero : -- nosy: +Neurogeek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2010-03-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Crash reproduced under Mandriva Linux 2010.0 (glibc-2.10.1-6.2mnb2). Stack trace is as follows: (gdb) bt #0 0x7fb59f2eba9a in strrchr () from /lib64/libc.so.6 #1 0x004010ae in ?? () #2 0x00400ff3 in ?? () #3 0x7fb59f29091d in __libc

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

2010-03-18 Thread Thomas Heller
Thomas Heller added the comment: > Thomas, > > Do you remember why your patch for issue1039 was not backported? Probably an oversight only. -- ___ Python tracker ___ __

[issue6081] str.format_from_mapping()

2010-03-18 Thread R. David Murray
R. David Murray added the comment: I don't think this patch satisfies Raymond's request. It is explicitly checking for a __missing__ attribute, but Raymond was talking about a more general facility whereby you can pass in an arbitrary object that implements the mapping interface. Using the

[issue6081] str.format_from_mapping()

2010-03-18 Thread Eric Smith
Eric Smith added the comment: I agree with David. Although it's not clear to my why the code doesn't just work with the addition of do_string_format_using_mapping and without the other code. It's possible the existing code is too dict-specific and should be calling a more generic PyObject in

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

2010-03-18 Thread R. David Murray
R. David Murray added the comment: I agree that this should be fixed, since we presumably want to be "strictly conforming" to the posix standards, but it looks like this is a regression in either linux or glibc. From the standard's rational section: Early proposals required that the value of

[issue8156] pybsddb 4.8.3+ integration

2010-03-18 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: issue7975 finally reproduced. Solved in pybsddb 4.8.3+, and added relevant testcases. -- ___ Python tracker ___ __

[issue7975] dbshelve.py throws exception: AttributeError: 'DB' object has no attribute '__iter__'

2010-03-18 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: This bug was introduced in pybsddb 4.7.2, when migration to ABC (Abstract Base Classes). I have solved it in 4.8.3+, and added relevant testcases. I plan to integrate 4.8.3+ in Python 2.7. See issue8156. -- ___ P

[issue8155] Incompatible change to test.test_support.check_warnings behaviour

2010-03-18 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79049 and r79050. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.2 ___ Python tracker __

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

2010-03-18 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Thu, Mar 18, 2010 at 3:32 PM, R. David Murray wrote: .. > I agree that this should be fixed, since we presumably want to be "strictly > conforming" to the posix standards, > but it looks like this is a regression in either linux or glibc.  From the >

[issue8166] hashlib constructors for sha224, sha256, sha384, sha512 missing in Python 3.1.2rc1 with openssl 0.9.7

2010-03-18 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-03-18 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Florent you are right, good catch. I can not use context managers because "with" is invalid syntax in python 2.3 and 2.4, that I must support for a while. I have implemented a context manager manually, following the description in PEP 343. This change is ava

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-03-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/o

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-03-18 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Florent you are right, good catch. I can not use context managers because "with" is invalid syntax in python 2.3 and 2.4, that I must support for a while. I have implemented a context manager manually, following the description in PEP 343. This change is ava

[issue1083] Confusing error message when dividing timedelta using /

2010-03-18 Thread Miki Tebeka
Miki Tebeka added the comment: I see the same problem when "from __future__ import division" on the 2.x series. Seem like the timedelta objects is missing the __truediv__ method. -- nosy: +tebeka versions: +Python 2.7 ___ Python tracker

[issue8156] pybsddb 4.8.3+ integration

2010-03-18 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8169] SyntaxError messages during install due to compilation of lib2to3 test files

2010-03-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: Hopefully fixed in r79051. Can you try the 3.1 branch? -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue8166] hashlib constructors for sha224, sha256, sha384, sha512 missing in Python 3.1.2rc1 with openssl 0.9.7

2010-03-18 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- priority: -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6081] str.format_from_mapping()

2010-03-18 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: My first intention was simply to push mapping from args to kwargs, just like Eric suggested, but that didn't help with __missing__, only with accepting a dict instead of pushing keyword arguments. I didn't like explicitly asking for __missing__ either, bu

[issue8166] hashlib constructors for sha224, sha256, sha384, sha512 missing in Python 3.1.2rc1 with openssl 0.9.7

2010-03-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: Nice catch! Reverted in r79054. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue8167] test_tk, test_ttk_guionly, and test_ttk_textonly crash when run from install directory

2010-03-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r79056. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Pytho

[issue8173] test_subprocess leaks

2010-03-18 Thread Antoine Pitrou
New submission from Antoine Pitrou : test_subprocess has been leaking since the recent changes in py3k: test_subprocess leaked [2, 2] references, sum=4 -- assignee: gregory.p.smith components: Library (Lib), Tests messages: 101286 nosy: gregory.p.smith, pitrou priority: normal severity:

[issue8024] upgrade to Unicode 5.2

2010-03-18 Thread Florent Xicluna
Florent Xicluna added the comment: Done with r79059 and r79062. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue8168] python3 py_compile does not ignore UTF-8 BOM characters

2010-03-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r79068. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue8169] SyntaxError messages during install due to compilation of lib2to3 test files

2010-03-18 Thread Ned Deily
Ned Deily added the comment: 'bad_coding' is still needed in the -x regexp. BTW, it's easy enough to test by doing something like: make install DESTDIR=/tmp/p/ -- ___ Python tracker ___

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15806/issue7643_remove_deprecation.diff ___ Python tracker ___ ___ Python

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Michael Foord
Changes by Michael Foord : -- nosy: -michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue8169] SyntaxError messages during install due to compilation of lib2to3 test files

2010-03-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/3/18 Ned Deily : > > Ned Deily added the comment: > > 'bad_coding' is still needed in the -x regexp.  BTW, it's easy enough to test > by doing something like: >   make install DESTDIR=/tmp/p/ Ok. :) Refixed in r79076. --

[issue6837] Mark the compiler package as deprecated

2010-03-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: Promoted warning to full DeprecationWarning in r79078. -- resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue8166] hashlib constructors for sha224, sha256, sha384, sha512 missing in Python 3.1.2rc1 with openssl 0.9.7

2010-03-18 Thread Ned Deily
Ned Deily added the comment: Fix verified. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2010-03-18 Thread Craig McQueen
Craig McQueen added the comment: This bug was confirmed to no longer be present for Python 2.6.4, however it is still present for Python 3.1.1. Could someone with "open" privileges re-open this please? -- ___ Python tracker

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15807/issue7643_use_LineBreak.diff ___ Python tracker ___ ___ Python-bugs

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Florent Xicluna
Florent Xicluna added the comment: Cleanup committed as r78982 Patch for LineBreak.txt updated after UCD upgrade to 5.2. See details: http://bugs.python.org/issue7643#msg97483 Tests added to test_unicodedata. Backward compatibility concern: * it adds VT u'\x0b' and FF u'\x0c' as line breaks.

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

2010-03-18 Thread R. David Murray
Changes by R. David Murray : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue2445] Use The CygwinCCompiler Under Cygwin

2010-03-18 Thread Bill Janssen
Bill Janssen added the comment: Shouldn't the import library name end with .lib? I've run up against this building PyLucene with MinGW. There seems to be code to figure this out already in CygwinCCompiler, but it's commented out (and arguably incomplete). -- nosy: +janssen

[issue8173] test_subprocess leaks

2010-03-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: Pretty sure I know off the top of my head what this is. Ill fix it. -- Added file: http://bugs.python.org/file16578/unnamed ___ Python tracker __

[issue8024] upgrade to Unicode 5.2

2010-03-18 Thread Florent Xicluna
Florent Xicluna added the comment: Reverted in 3.x: it triggers some failures. Symptoms: * repr('\uaaa') gives an empty string * test_bigmem fails -- resolution: fixed -> accepted stage: committed/rejected -> commit review status: closed -> open _

[issue8174] Misleading reported number of given arguments on function call TypeError

2010-03-18 Thread George Sakkis
New submission from George Sakkis : The following exception message seems misleading, or at least not obvious: >>> def f(a,b,c): pass ... >>> f(c=0,a=0) Traceback (most recent call last): File "", line 1, in TypeError: f() takes exactly 3 non-keyword arguments (1 given) Why "1 given" ? One

[issue8174] Misleading reported number of given arguments on function call TypeError

2010-03-18 Thread Ezio Melotti
Ezio Melotti added the comment: Duplicate of #6474. -- nosy: +ezio.melotti priority: -> normal resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker

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

2010-03-18 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, gsakkis superseder: -> Misleading reported number of given arguments on function call TypeError ___ Python tracker ___

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

2010-03-18 Thread Ezio Melotti
Changes by Ezio Melotti : -- superseder: Misleading reported number of given arguments on function call TypeError -> ___ Python tracker ___ _

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

2010-03-18 Thread Tarek Ziadé
Tarek Ziadé added the comment: Craig, did you run the command like this under 3.x ? : $ python setup.py build --compiler=mingw32 --verbose Also, what is your gcc version ? and your PATH environment ? -- ___ Python tracker

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

2010-03-18 Thread Craig McQueen
Craig McQueen added the comment: I ran it as follows: \python31\python.exe setup.py build --compiler=mingw32 --verbose and got: running build running build_py running build_ext building 'cobs._cobsext' extension error: Unable to find vcvarsall.bat If I run: gcc --version I get: gc

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

2010-03-18 Thread Craig McQueen
Craig McQueen added the comment: And, I should add, doing nearly the same thing, except with Python 2.6.4, works fine. Same machine, same console window, same path: \python26\python.exe setup.py build --compiler=mingw32 --verbose running build running build_py running build_ext building '

[issue3135] inspect.getcallargs()

2010-03-18 Thread George Sakkis
George Sakkis added the comment: I reverted the function to the original API (return just the dict with the bindings), cleaned it up, wrote thorough unit tests and made a patch against Python 2.7a4. -- keywords: +patch Added file: http://bugs.python.org/file16579/getcallargs.patch __

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

2010-03-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Does this still affect 2.6 then? -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailin

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

2010-03-18 Thread Tarek Ziadé
Tarek Ziadé added the comment: Benjamin, can I fix this bug before you tag 3.1.2 ? Basically, I'll apply on 3.1 what was applied on 2.6 : MacZiade:release31-maint tarek$ svn di Index: Lib/distutils/command/build_ext.py === --- Lib

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Chris Carter
Chris Carter added the comment: unwatched -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue3135] inspect.getcallargs()

2010-03-18 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +Alexander.Belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-03-18 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +Alexander.Belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8174] Misleading reported number of given arguments on function call TypeError

2010-03-18 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +Alexander.Belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3690] sys.getsizeof wrong for Py3k bool objects

2010-03-18 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +Alexander.Belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-03-18 Thread Ned Deily
Ned Deily 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 released - hav

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

2010-03-18 Thread Ronald Oussoren
Ronald Oussoren 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-18 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: -Chris.Carter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail