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

2012-03-18 Thread Ben Hayden
New submission from Ben Hayden : 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 runtest_inner the_package

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

2012-03-18 Thread Ross Lagerwall
Ross Lagerwall 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

[issue14296] Compilation error on CentOS 5.8

2012-03-18 Thread Hervé Coatanhay
Hervé Coatanhay 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 added the comment: Doc/library/dis.rst wasn't updated for the extra pop introduced to MAKE_CLOSURE opcode. -- nosy: +anacrolix ___ Python tracker ___ __

[issue14354] Crash in _ctypes_alloc_callback

2012-03-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 ___ Python tracker

[issue14359] _posixsubprocess.o compilation error on CentOS 5.8

2012-03-18 Thread Hervé Coatanhay
New submission from Hervé Coatanhay : 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 -IInclude -I. -I./Include -I

[issue14355] imp module docs should omit references to init_frozen

2012-03-18 Thread Eric Snow
Changes by Eric Snow : -- title: imp module should omit references to init_frozen -> imp module docs should omit references to init_frozen ___ Python tracker ___ ___

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

2012-03-18 Thread Dmitry Shachnev
New submission from Dmitry Shachnev : 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 that _encodestrin

[issue14350] Strange Exception from copying an iterable

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

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

2012-03-18 Thread Dmitry Shachnev
Changes by Dmitry Shachnev : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue3754] cross-compilation support for python build

2012-03-18 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file24923/python-py3k-20120318-CROSS.patch ___ Python tracker <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 : Added file: http://bugs.python.org/file24924/python-py3k-20120318-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___

[issue3754] cross-compilation support for python build

2012-03-18 Thread Roumen Petrov
Roumen Petrov added the comment: I cannot test arm build due to issue 12010 -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

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

2012-03-18 Thread Steven D'Aprano
New submission from Steven D'Aprano : 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 should be. Curiously, the

[issue14354] Crash in _ctypes_alloc_callback

2012-03-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 (<32bytes) but w

[issue14354] Crash in _ctypes_alloc_callback

2012-03-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Not a Mac issue. -- assignee: ronaldoussoren -> ___ Python tracker ___ ___ Python-bugs-list

[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 : 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 collections.ChainMap in What's

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

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis 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 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 bottom of the page woul

[issue14356] Distutils2 ignores site-local configuration

2012-03-18 Thread Alexis Metaireau
Alexis Metaireau 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 site-local config?)

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

2012-03-18 Thread Steven D'Aprano
New submission from Steven D'Aprano : 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: *** [python] Error 1 Output

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

2012-03-18 Thread Stefan Krah
Stefan Krah 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 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 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 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 ___ Python track

[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 : -- assignee: -> rosslagerwall nosy: +rosslagerwall resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement ___ 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 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ù : 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 [] tumbolandia:cpython maker$ python

[issue13922] argparse handling multiple "--" in args improperly

2012-03-18 Thread R. David Murray
R. David Murray 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: +r.david.murray versions: -Pytho

[issue14364] Argparse incorrectly handles '--'

2012-03-18 Thread R. David Murray
R. David Murray 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 options' marker. Becaus

[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 : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13922] argparse handling multiple "--" in args improperly

2012-03-18 Thread Steven Bethard
Steven Bethard 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 _

[issue14357] Distutils2 does not work with virtualenv

2012-03-18 Thread Éric Araujo
Éric Araujo 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 : -- assignee: -> eric.araujo status: open -> closed title: Whitespace - Lib/base64.py -> Minor whitespace changes in base64 module ___ Python tracker ___

[issue13922] argparse handling multiple "--" in args improperly

2012-03-18 Thread Jeff Knupp
Jeff Knupp 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 is the optpar

[issue13922] argparse handling multiple "--" in args improperly

2012-03-18 Thread R. David Murray
R. David Murray 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 and passes it to some

[issue13922] argparse handling multiple "--" in args improperly

2012-03-18 Thread Eric V. Smith
Eric V. Smith 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 ___ _

[issue13922] argparse handling multiple "--" in args improperly

2012-03-18 Thread Jeff Knupp
Jeff Knupp 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 slightly between

[issue13922] argparse handling multiple "--" in args improperly

2012-03-18 Thread Eric V. Smith
Eric V. Smith 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 all instances

[issue14357] Distutils2 does not work with virtualenv

2012-03-18 Thread Alex Grönholm
Alex Grönholm added the comment: Log attached. -- Added file: http://bugs.python.org/file24927/d2log.txt ___ Python tracker ___ ___ P

[issue14356] Distutils2 ignores site-local configuration

2012-03-18 Thread Alex Grönholm
Alex Grönholm 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 ___

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

2012-03-18 Thread Roundup Robot
Roundup Robot 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 changeset d54508a86a5d by Gregory P. Smit

[issue14004] Distutils filelist selects too many files on Windows

2012-03-18 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

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

2012-03-18 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

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

2012-03-18 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

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

2012-03-18 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

[issue14114] 2.7.3rc1 chm gives JS error

2012-03-18 Thread Roundup Robot
Roundup Robot 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 tracker

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

2012-03-18 Thread Jakub Warmuz
New submission from Jakub Warmuz : 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: --foo could match --foo1, --fo

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

2012-03-18 Thread miro ilias
miro ilias 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 but 'make' failes, get

[issue14359] _posixsubprocess.o compilation error on CentOS 5.8

2012-03-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: please apply this to 3.2 as well. -- assignee: -> rosslagerwall nosy: +gregory.p.smith, rosslagerwall versions: +Python 3.2 ___ Python tracker _

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

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14364] Argparse incorrectly handles '--'

2012-03-18 Thread Steven Bethard
Steven Bethard 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 "--ignore-matching-lines":

[issue11176] give more meaningful argument names in argparse documentation

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13922] argparse handling multiple "--" in args improperly

2012-03-18 Thread Steven Bethard
Steven Bethard 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 the recommended way of

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

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13850] Summary tables for argparse add_argument options

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13540] Document the Action API in argparse

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14034] Add argparse howto

2012-03-18 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: friendly ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue14034] Add argparse howto

2012-03-18 Thread Éric Araujo
Éric Araujo added the comment: I’m going to Rietveld to review the patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2012-03-18 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: More or less a duplicate of 12713? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

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

2012-03-18 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: Sorry, I meant #12713. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue14357] Distutils2 does not work with virtualenv

2012-03-18 Thread Éric Araujo
Éric Araujo added the comment: I can’t reproduce. Can you delete your venv, start again and tell me how it goes? -- ___ Python tracker ___

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

2012-03-18 Thread Éric Araujo
Éric Araujo 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 whatsnew. Raymond,

[issue11874] argparse assertion failure with brackets in metavars

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2012-03-18 Thread Éric Araujo
Éric Araujo 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 __

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

2012-03-18 Thread Gregory P. Smith
Gregory P. Smith 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 tracker

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

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2012-03-18 Thread R. David Murray
R. David Murray 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 devguide is *not* equiv

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

2012-03-18 Thread Gregory P. Smith
Gregory P. Smith 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 : Added file: http://bugs.python.org/file24930/malloc-import-pathbufs-py27.004.diff ___ Python tracker ___ ___ Py

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

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis 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 __

[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : 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 foreign zip files and crea

[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +alanmcintyre, nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2012-03-18 Thread Roundup Robot
Roundup Robot 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 P. Smith in branch '2.7': Fixes I

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

2012-03-18 Thread Steven Bethard
Steven Bethard added the comment: Yep. Closing as duplicate. -- resolution: -> duplicate status: open -> closed superseder: -> argparse: allow abbreviation of sub commands by users ___ Python tracker ___

[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka
Serhiy Storchaka 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 zip format somewhat

[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file24932/sample-bzip2.zip ___ Python tracker ___ ___ Python-bugs-list mailin

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

2012-03-18 Thread Éric Araujo
Éric Araujo 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 : Added file: http://bugs.python.org/file24933/sample-lzma.zip ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14366] Supporting bzip2 and lzma compression in zip files

2012-03-18 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo title: Suporting bzip2 and lzma compression in zip files -> Supporting bzip2 and lzma compression in zip files ___ Python tracker

[issue14364] Argparse incorrectly handles '--'

2012-03-18 Thread Michele Orrù
Michele Orrù added the comment: +1 also for me. I will try to work for a patch in the next days. :) -- ___ Python tracker ___ ___ Py

[issue14356] Distutils2 ignores site-local configuration

2012-03-18 Thread Éric Araujo
Éric Araujo 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 mean Debian/Ubu

[issue14366] Supporting bzip2 and lzma compression in zip files

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis 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 the LZMA module is fi

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

2012-03-18 Thread R. David Murray
R. David Murray 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' page. -- __

[issue14366] Supporting bzip2 and lzma compression in zip files

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis 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+ compression, strong encr

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

2012-03-18 Thread R. David Murray
R. David Murray 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: -> r.david.murray nosy: +r.davi

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

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis 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 behaves correctly

[issue14355] imp module docs should omit references to init_frozen

2012-03-18 Thread Roundup Robot
Roundup Robot 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 branch 'default': Merge #14355: r

[issue14355] imp module docs should omit references to init_frozen

2012-03-18 Thread R. David Murray
R. David Murray added the comment: Thanks, Eric. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

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

2012-03-18 Thread Jakub Warmuz
Jakub Warmuz 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 ___ __

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

2012-03-18 Thread Ben Hayden
Ben Hayden 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 : Added file: http://bugs.python.org/file24934/test_os_support_ext_return_false.patch ___ Python tracker ___ ___ Python

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

2012-03-18 Thread Steven Bethard
Steven Bethard 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 abbreviation of sub com

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

2012-03-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: Martin v. Löwis wrote: > Martin v. Löwis 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.

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

2012-03-18 Thread Steven Bethard
Steven Bethard 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 can be found in the mai

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

2012-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset ada766b07686 by Benjamin Peterson in branch 'default': all OSErrors should indicate there are no extended attributes (closes #14358) http://hg.python.org/cpython/rev/ada766b07686 -- nosy: +python-dev resolution: -> fixed stage: -> committ

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

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I think you are mistaken. I don't think that people looking for support raise > bug requests. There is *plenty* of evidence to the contrary, please trust me on that. > The home page has an explicit "Alternative download page for China". (Why > China?) Pl

[issue14302] Move python.exe to bin/

2012-03-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: After more discussion, it appears that this change is too incompatible to be done in a single release. Therefore, I propose a long-term change into this direction, with the actual change not happening until 3.5. For the change of the python.exe location, I

  1   2   >