[issue14356] Distutils2 ignores site-local configuration

2012-03-18 Thread Alex Grönholm
New submission from Alex Grönholm alex.gronholm+pyt...@nextday.fi: Distutils2 seems to rely solely on a sysconfig.cfg shipped with distutils2 to get the path where to install packages. Ignoring site-local configuration means that it won't work on Python distributions where the site

[issue14357] Distutils2 does not work with virtualenv

2012-03-18 Thread Alex Grönholm
New submission from Alex Grönholm alex.gronholm+pyt...@nextday.fi: The installed pysetup script launches (at least on my system) with /usr/bin/python regardless of the interpreter used for installing it. -- assignee: eric.araujo components: Distutils2 messages: 156231 nosy: agronholm,

[issue14357] Distutils2 does not work with virtualenv

2012-03-18 Thread Alex Grönholm
Changes by Alex Grönholm alex.gronholm+pyt...@nextday.fi: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14357 ___ ___

[issue14358] test_os failing with errno 61: No Data Available

2012-03-18 Thread Ben Hayden
New submission from Ben Hayden hayden...@gmail.com: When running the test suite on Linux 3.2.9-1, I get the following error on the test_os suite: test test_os crashed -- Traceback (most recent call last): File /home/benhayden/Documents/cpython/Lib/test/regrtest.py, line 1229, in

[issue14358] test_os failing with errno 61: No Data Available

2012-03-18 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Perhaps any errors that occur during supports_extended_attributes should cause it to just return false? -- nosy: +benjamin.peterson, rosslagerwall ___ Python tracker rep...@bugs.python.org

[issue14296] Compilation error on CentOS 5.8

2012-03-18 Thread Hervé Coatanhay
Hervé Coatanhay herve.coatan...@gmail.com added the comment: You can consider it fixed, compilation runs OK now. However I have an error on building _posixsubprocess.o when I do `make test`, I'll report it in another ticket. -- ___ Python tracker

[issue13448] PEP 3155 implementation

2012-03-18 Thread Matt Joiner
Matt Joiner anacro...@gmail.com added the comment: Doc/library/dis.rst wasn't updated for the extra pop introduced to MAKE_CLOSURE opcode. -- nosy: +anacrolix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13448

[issue14354] Crash in _ctypes_alloc_callback

2012-03-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I also noticed that the script crashes on Debian 64bit as well, versions 2.6 and 2.7.3rc2 at least, optimized builds. So it's not a clang issue after all. -- nosy: +amaury.forgeotdarc ___

[issue14359] _posixsubprocess.o compilation error on CentOS 5.8

2012-03-18 Thread Hervé Coatanhay
New submission from Hervé Coatanhay herve.coatan...@gmail.com: Linux Version: 2.6.18-238.19.1.el5 / CentOS release 5.8 (Final) On changeset 75803:b26056192653 , I have the following compilation error: gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

[issue14355] imp module docs should omit references to init_frozen

2012-03-18 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- title: imp module should omit references to init_frozen - imp module docs should omit references to init_frozen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14355

[issue14360] email.encoders.encode_quopri doesn't work with python 3.2

2012-03-18 Thread Dmitry Shachnev
New submission from Dmitry Shachnev mity...@gmail.com: Currently my /usr/lib/python3.2/email/encoders.py has this code: def _qencode(s): enc = _encodestring(s, quotetabs=True) # Must encode spaces, which quopri.encodestring() doesn't do return enc.replace(' ', '=20') The problem is

[issue14350] Strange Exception from copying an iterable

2012-03-18 Thread Jakob Bowyer
Jakob Bowyer jkb...@gmail.com added the comment: C:\Users\Jakobpython -c import copy; copy.copy(iter([1,2,3])) Traceback (most recent call last): File string, line 1, in module File T:\languages\Python27\lib\copy.py, line 96, in copy return _reconstruct(x, rv, 0) File

[issue14360] email.encoders.encode_quopri doesn't work with python 3.2

2012-03-18 Thread Dmitry Shachnev
Changes by Dmitry Shachnev mity...@gmail.com: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14360 ___ ___

[issue3754] cross-compilation support for python build

2012-03-18 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file24923/python-py3k-20120318-CROSS.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754

[issue3871] cross and native build of python for mingw32 with packaging

2012-03-18 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file24924/python-py3k-20120318-MINGW.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3871

[issue3754] cross-compilation support for python build

2012-03-18 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: I cannot test arm build due to issue 12010 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754 ___

[issue14361] No link to issue tracker on Python home page

2012-03-18 Thread Steven D'Aprano
New submission from Steven D'Aprano steve+pyt...@pearwood.info: There is no link to the tracker http://bugs.python.org/ on the Python website http://www.python.org/ (or if there is, it's so well hidden I can't see it). I seem to remember that there used to be; whether or not there was, there

[issue14354] Crash in _ctypes_alloc_callback

2012-03-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: There is a out-of-bounds error in Modules/_ctypes/libffi/src/x86/ffi64.c: at line 225, classes[i + pos] can go outside the allocated memory for classes (MAX_CLASSES=4). This code is not prepared to received structures with a small size

[issue14354] Crash in _ctypes_alloc_callback

2012-03-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Not a Mac issue. -- assignee: ronaldoussoren - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14354 ___

[issue14362] No mention of collections.ChainMap in What's New for 3.3

2012-03-18 Thread Steven D'Aprano
New submission from Steven D'Aprano steve+pyt...@pearwood.info: The 3.3 What's New doesn't mention collections.ChainMap -- assignee: docs@python components: Documentation messages: 156244 nosy: docs@python, stevenjd priority: normal severity: normal status: open title: No mention of

[issue14361] No link to issue tracker on Python home page

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I disagree that there should be such a link. www.python.org is the home page of the Python programming language, not of CPython. To find the tracker, go to Core development, and find it in the Resources section. -- nosy: +loewis

[issue14361] No link to issue tracker on Python home page

2012-03-18 Thread Merlijn van Deen
Merlijn van Deen valhall...@gmail.com added the comment: Maybe, but python.org also is the host of CPython itself (and this issue tracker is also for issues on the programming language). I think the Core development page makes sense, but having it in a sidebar instead of somewhere at the

[issue14356] Distutils2 ignores site-local configuration

2012-03-18 Thread Alexis Metaireau
Alexis Metaireau ale...@notmyidea.org added the comment: The supposed way to work, for OS packagers, is to ship this sysconfig.cfg thing. I'm not sure we should rely on a customized site-local configuration, without defining any standard way of doing this (IOW: what are we looking for in the

[issue14363] Can't build Python 3.3a1 on Centos 5

2012-03-18 Thread Steven D'Aprano
New submission from Steven D'Aprano steve+pyt...@pearwood.info: I attempted to build Python 3.3a1 but failed. I am running Centos 5. After running ./configure (no apparent errors), I ran make and got a whole lot of warnings and errors, ending with: collect2: ld returned 1 exit status make:

[issue14363] Can't build Python 3.3a1 on Centos 5

2012-03-18 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: This is a duplicate of #14296. See also #14359. -- nosy: +skrah resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Compilation error on CentOS 5.8 type: - compile error

[issue14115] 2.7.3rc hangs on test_asynchat on 32-bit Windows

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This still happens for 3.2.3rc2 -- keywords: +3.2regression nosy: +benjamin.peterson, georg.brandl priority: normal - release blocker versions: +Python 3.2 ___ Python tracker

[issue14115] 2.7.3rc and 3.2.3rc hang on test_asynchat and test_asyncore on 32-bit Windows

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: test_asyncore hangs as well. -- title: 2.7.3rc hangs on test_asynchat on 32-bit Windows - 2.7.3rc and 3.2.3rc hang on test_asynchat and test_asyncore on 32-bit Windows ___ Python tracker

[issue14359] _posixsubprocess.o compilation error on CentOS 5.8

2012-03-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset fe1dfc066a38 by Ross Lagerwall in branch 'default': Issue 14359: Only use O_CLOEXEC in _posixmodule.c if it is defined. http://hg.python.org/cpython/rev/fe1dfc066a38 -- nosy: +python-dev

[issue7997] http://www.python.org/dev/faq/ doesn't seem to explain how to regenerate configure

2012-03-18 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- assignee: - rosslagerwall nosy: +rosslagerwall resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement ___ Python tracker rep...@bugs.python.org

[issue14115] 2.7.3rc and 3.2.3rc hang on test_asynchat and test_asyncore on 32-bit Windows

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This was a false alarm; I just didn't wait long enough (test_asyncore needs 3 minutes when running under the PGI python). -- priority: release blocker - resolution: - invalid ___ Python tracker

[issue14364] Argparse incorrectly handles '--'

2012-03-18 Thread Michele Orrù
New submission from Michele Orrù maker...@gmail.com: http://docs.python.org/library/argparse.html#arguments-containing The attached file shows different behaviours when using '--' immediately after an optional argument. tumbolandia:cpython maker$ python foo.py --test=-- foo []

[issue13922] argparse handling multiple -- in args improperly

2012-03-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I think it is unlikely that anyone depends on argparse consuming multiple -- strings. If you are worried about it we could restrict the change to 3.3. But personally I think this would be OK for a bug fix. -- nosy:

[issue14364] Argparse incorrectly handles '--'

2012-03-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It does look like there's anomalous behavior here of some sort, but I'd expect --test=-- to result in test=--, myself, rather than an error. My intuition is that '--' would need to be preceded by a space to function as the 'end of

[issue14115] 2.7.3rc and 3.2.3rc hang on test_asynchat and test_asyncore on 32-bit Windows

2012-03-18 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14115 ___ ___

[issue13922] argparse handling multiple -- in args improperly

2012-03-18 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Ok, I agree - I'm fine with it as a bugfix. Depending on the removal of extra -- strings would be pretty crazy anyway. ;-) -- ___ Python tracker rep...@bugs.python.org

[issue14357] Distutils2 does not work with virtualenv

2012-03-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The shebang uses /usr/bin/env python; when installing with a virtualenv’s pip, distutils rewrites it to use the venv’s Python. Could you give me the exact steps to reproduce? -- ___ Python tracker

[issue14348] Minor whitespace changes in base64 module

2012-03-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: - eric.araujo status: open - closed title: Whitespace - Lib/base64.py - Minor whitespace changes in base64 module ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14348

[issue13922] argparse handling multiple -- in args improperly

2012-03-18 Thread Jeff Knupp
Jeff Knupp jkn...@gmail.com added the comment: I don't know that this is a bug. Rather, the string '--' means different things to argparse and optparse. In argparse, '--' is a psuedo-argument taken to mean everything after this is a postional argument and not stop processing arguments, which

[issue13922] argparse handling multiple -- in args improperly

2012-03-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: No, it is definitely a bug. It prevents implementing parsers that pass strings on to another sub-parser or command. Imagine, for example, implementing a script that takes some arguments, but takes the entire rest of the command string

[issue13922] argparse handling multiple -- in args improperly

2012-03-18 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: I agree with David. It's a bug. I have programs (not using argparse yet) that do exactly what he describes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13922

[issue13922] argparse handling multiple -- in args improperly

2012-03-18 Thread Jeff Knupp
Jeff Knupp jkn...@gmail.com added the comment: In that case, wouldn't you use 'parse_known_args' instead of 'parse_args' and pass the remaining arguments to the next script? This case is explicitly mentioned in the argparse documentation. Again it seems to me that the meaning of '--' has changed

[issue13922] argparse handling multiple -- in args improperly

2012-03-18 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: No. parse_known_args assumes you have known and unknown args intermixed. Going back to the original example, what if hack and :target had overlapping parameter names (say, they both supported --arg1)? I think parse_known_args would pick up

[issue14357] Distutils2 does not work with virtualenv

2012-03-18 Thread Alex Grönholm
Alex Grönholm alex.gronholm+pyt...@nextday.fi added the comment: Log attached. -- Added file: http://bugs.python.org/file24927/d2log.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14357

[issue14356] Distutils2 ignores site-local configuration

2012-03-18 Thread Alex Grönholm
Alex Grönholm alex.gronholm+pyt...@nextday.fi added the comment: The supposed way to work, for OS packagers, is to ship this sysconfig.cfg thing. Even for Pythons older than 3.3? -- ___ Python tracker rep...@bugs.python.org

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset cf7337a49a07 by Georg Brandl in branch '3.2': Transplant from main repo d6c197edd99b: Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes http://hg.python.org/cpython/rev/cf7337a49a07 New

[issue14004] Distutils filelist selects too many files on Windows

2012-03-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset edcdef70c44e by Éric Araujo in branch '3.2': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/edcdef70c44e -- ___

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-03-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset edcdef70c44e by Éric Araujo in branch '3.2': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/edcdef70c44e -- ___

[issue13193] packaging.tests.test_manifest and distutils.tests.test_filelist failures

2012-03-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset edcdef70c44e by Éric Araujo in branch '3.2': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/edcdef70c44e -- ___

[issue9691] sdist includes files that are not in MANIFEST.in

2012-03-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset edcdef70c44e by Éric Araujo in branch '3.2': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/edcdef70c44e -- ___

[issue14114] 2.7.3rc1 chm gives JS error

2012-03-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset b585c33077d2 by Ezio Melotti in branch '3.2': #14114: don't include copybutton.js in the htmlhelp output. http://hg.python.org/cpython/rev/b585c33077d2 -- ___ Python

[issue14365] argparse: subparsers, argument abbreviations and ambiguous option

2012-03-18 Thread Jakub Warmuz
New submission from Jakub Warmuz jakub.warmuz+bugs.python@gmail.com: Assuming following: 1. optional argument, say --foo, in a subparser; 2. at least two different optional arguments in the main parser prefixed with --foo, say --foo1 and --foo2; parsing fails with error: ambiguous option:

[issue9631] Python 2.7 installation issue for Linux gcc-4.1.0-3 (Fedora Core 5?)

2012-03-18 Thread miro ilias
miro ilias miroslav.il...@umb.sk added the comment: Dear Space, On my Ubuntu 11.10 x86_64 Linux I have static python buildup prescription: ./configure LDFLAGS=-static -static-libgcc --disable-shared CPPFLAGS=-static --prefix=/home/ilias/bin/python_static with *static* in Modules/Setup

[issue14359] _posixsubprocess.o compilation error on CentOS 5.8

2012-03-18 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: please apply this to 3.2 as well. -- assignee: - rosslagerwall nosy: +gregory.p.smith, rosslagerwall versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue10423] s/args/options in arpgarse Upgrading optparse code

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10423 ___ ___

[issue14364] Argparse incorrectly handles '--'

2012-03-18 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: I just tried this with grep's -e and --regexp: $ cat temp.txt a--b cdef $ grep -e-- -v temp.txt cdef $ grep --regexp=-- -v temp.txt cdef $ grep -e -- -v temp.txt cdef $ grep --regexp -- -v temp.txt cdef And with diff's -I and

[issue11176] give more meaningful argument names in argparse documentation

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11176 ___ ___

[issue13271] When -h is used with argparse, default values that fail should not matter

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13271 ___ ___

[issue13922] argparse handling multiple -- in args improperly

2012-03-18 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: It prevents implementing parsers that pass strings on to another sub-parser or command. ... wouldn't you use 'parse_known_args' instead of 'parse_args' and pass the remaining arguments to the next script I'll just say again that

[issue12713] argparse: allow abbreviation of sub commands by users

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12713 ___ ___

[issue13850] Summary tables for argparse add_argument options

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13850 ___ ___

[issue13540] Document the Action API in argparse

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13540 ___ ___

[issue14034] Add argparse howto

2012-03-18 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe tshep...@gmail.com added the comment: friendly ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14034 ___ ___

[issue14034] Add argparse howto

2012-03-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’m going to Rietveld to review the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14034 ___

[issue14365] argparse: subparsers, argument abbreviations and ambiguous option

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14365 ___ ___

[issue14365] argparse: subparsers, argument abbreviations and ambiguous option

2012-03-18 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe tshep...@gmail.com added the comment: More or less a duplicate of 12713? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14365 ___

[issue14365] argparse: subparsers, argument abbreviations and ambiguous option

2012-03-18 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe tshep...@gmail.com added the comment: Sorry, I meant #12713. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14365 ___ ___

[issue14357] Distutils2 does not work with virtualenv

2012-03-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I can’t reproduce. Can you delete your venv, start again and tell me how it goes? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14357

[issue14362] No mention of collections.ChainMap in What's New for 3.3

2012-03-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Raymond is the author of What’s New In Python 3.3 and of the collections changes (adding ChainMap and moving ABCs to collections.abc from the top of my head). Maybe he’s waiting for later in the release cycle to review all changes and expand

[issue11874] argparse assertion failure with brackets in metavars

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11874 ___ ___

[issue14361] No link to issue tracker on Python home page

2012-03-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The devguide index page links to the bug tracker on its ninth line. Isn’t that enough? If not, I’m +0 on adding a link. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org

[issue14331] Python/import.c uses a lot of stack space due to MAXPATHLEN

2012-03-18 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: side by side code review of the 3.2 version revealed some missing PyMem_FREE calls. patch updated. -- Added file: http://bugs.python.org/file24929/malloc-import-pathbufs-py32.004.diff ___ Python

[issue9694] argparse: Default Help Message Lists Required Args As Optional

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9694 ___ ___ Python-bugs-list

[issue14361] No link to issue tracker on Python home page

2012-03-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Interesting. I would have said that an open source project ought to have a link for reporting bugs on the front page, but I just checked perl.org and apache.org, and they both put the bug tracker links on the 'get involved' page. The

[issue14331] Python/import.c uses a lot of stack space due to MAXPATHLEN

2012-03-18 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: minor corresponding updated to the 2.7 patch as well - Patch 6 in reitveld/review. The 3.2 patch from the previous comment is Patch 5 in reitveld/review. -- ___ Python tracker

[issue14331] Python/import.c uses a lot of stack space due to MAXPATHLEN

2012-03-18 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: Added file: http://bugs.python.org/file24930/malloc-import-pathbufs-py27.004.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14331 ___

[issue14361] No link to issue tracker on Python home page

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I wish the devguide wouldn't have replaced the original core development pages: http://web.archive.org/web/20090305022527/http://www.python.org/dev/ -- ___ Python tracker rep...@bugs.python.org

[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka storch...@gmail.com: ZIP files specification supports new compression algorithms since 2006. Since bzip2 and lzma now contained in Python standart library, it would be nice to add support for these methods in zipfile. This will allow to process more

[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +alanmcintyre, nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14366 ___ ___

[issue14331] Python/import.c uses a lot of stack space due to MAXPATHLEN

2012-03-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset daed636a3536 by Gregory P. Smith in branch '3.2': Fixes Issue #14331: Use significantly less stack space when importing modules by http://hg.python.org/cpython/rev/daed636a3536 New changeset ad030571e6c0 by Gregory

[issue14365] argparse: subparsers, argument abbreviations and ambiguous option

2012-03-18 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Yep. Closing as duplicate. -- resolution: - duplicate status: open - closed superseder: - argparse: allow abbreviation of sub commands by users ___ Python tracker rep...@bugs.python.org

[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: This is not completed patch yet, without tests and documentation. I would like to receive feedback before the end of polishing. It might be worth transfer a portion of code in _lzmamodule.c for better use of capacity of LZMA API (used in

[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file24932/sample-bzip2.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14366 ___

[issue9514] platform.linux_distribution() under Ubuntu returns ('debian', 'squeeze/sid', '')

2012-03-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Debian and Ubuntu use this patch: http://patch-tracker.debian.org/patch/series/view/python3.2/3.2.3~rc1-1/platform-lsbrelease.diff -- versions: +Python 3.3 -Python 3.1 ___ Python tracker

[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file24933/sample-lzma.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14366 ___

[issue14366] Supporting bzip2 and lzma compression in zip files

2012-03-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo title: Suporting bzip2 and lzma compression in zip files - Supporting bzip2 and lzma compression in zip files ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14366

[issue14364] Argparse incorrectly handles '--'

2012-03-18 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: +1 also for me. I will try to work for a patch in the next days. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14364 ___

[issue14356] Distutils2 ignores site-local configuration

2012-03-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Distutils2 seems to rely solely on a sysconfig.cfg shipped with distutils2 to get the path where to install packages. That is correct. Ignoring site-local configuration What do you mean? sitecustomize is executed, for example. If you only

[issue14366] Supporting bzip2 and lzma compression in zip files

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: ISTM that the LZMA support differs from the specification, see http://www.pkware.com/documents/casestudies/APPNOTE.TXT In particular, there appears to be no support for the EOS marker, which should be emitted when compressing. Changing

[issue14361] No link to issue tracker on Python home page

2012-03-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: That is indeed better than the current devguide for introducing people to the community. I think the current devguide is better at explaining the development process in detail, but that's not what is needed for a 'getting involved'

[issue14366] Supporting bzip2 and lzma compression in zip files

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I also think that create_version and extract_version need to be adjusted. Since LZMA is version 6.3, we need to check for any features that might be in a zip file of extract version 6.3 or lower that we do not support (such as PPMd+

[issue14360] email.encoders.encode_quopri doesn't work with python 3.2

2012-03-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Interesting. Apparently we have no tests for the encode_ functions, nor do we use them inside the email package itself (except for encode_7or8bit). Do you have any interest in writing a patch with tests? -- assignee: -

[issue14361] No link to issue tracker on Python home page

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I think the core issue here is that bug reporters often don't want to get involved, and don't consider themselves contributors. Instead, they post to the bug tracker in order to get help. In some cases, this is misguided (i.e. when Python

[issue14355] imp module docs should omit references to init_frozen

2012-03-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 66e2dab98041 by R David Murray in branch '3.2': #14355: remove obsolete doc reference to previously removed init_frozen. http://hg.python.org/cpython/rev/66e2dab98041 New changeset 1e827a176306 by R David Murray in

[issue14355] imp module docs should omit references to init_frozen

2012-03-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks, Eric. -- nosy: +r.david.murray resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14355

[issue14365] argparse: subparsers, argument abbreviations and ambiguous option

2012-03-18 Thread Jakub Warmuz
Jakub Warmuz jakub.warmuz+bugs.python@gmail.com added the comment: I don't understand how both bugs are related. Surely, patch provided for #12713 does not fix the issue I described. -- ___ Python tracker rep...@bugs.python.org

[issue14358] test_os failing with errno 61: No Data Available

2012-03-18 Thread Ben Hayden
Ben Hayden hayden...@gmail.com added the comment: That was my thought, but again, I didn't really know if it was 'safe' to snuff the OSError all together. This patch just returns False if any OSError is raised. -- ___ Python tracker

[issue14358] test_os failing with errno 61: No Data Available

2012-03-18 Thread Ben Hayden
Changes by Ben Hayden hayden...@gmail.com: Added file: http://bugs.python.org/file24934/test_os_support_ext_return_false.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14358 ___

[issue14365] argparse: subparsers, argument abbreviations and ambiguous option

2012-03-18 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: My mistake. I see that the error you're getting is a bad interaction between the option in the main parser and an ambiguous option in the subparser. -- resolution: duplicate - status: closed - open superseder: argparse: allow

[issue14361] No link to issue tracker on Python home page

2012-03-18 Thread Steven D'Aprano
Steven D'Aprano steve+pyt...@pearwood.info added the comment: Martin v. Löwis wrote: Martin v. Löwis mar...@v.loewis.de added the comment: I think the core issue here is that bug reporters often don't want to get involved, and don't consider themselves contributors. Instead, they post to

[issue14365] argparse: subparsers, argument abbreviations and ambiguous option

2012-03-18 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: The problem is basically that _parse_known_args calls _parse_optional to determine whether something is an optional or a positional. But _parse_optional only checks if arg_string in self._option_string_actions, that is, if the string

  1   2   >