[issue14565] is_cgi doesn't function as documented for cgi_directories

2012-05-07 Thread Pierre Quentel
Pierre Quentel added the comment: Hi Glenn, My proposal was not about optimization, I just thought that "if x==y" is simpler than "if len(x)==len(y) and x==y". Since we don't expect that there will be many directories in the list, I don't think optimizing is so important. But it doesn't matt

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > If this patch is accepted, it's more to go even deeper: use _PyUnicodeWriter > in long_to_decimal_string() for example. long_to_decimal_string() is already creates a string of known size. How _PyUnicodeWriter can help here? Issue3451 looks much more promi

[issue14654] Faster utf-8 decoding

2012-05-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue14738 for advanced optimization. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14747] Classifiers are missing from distutils2-generated metadata

2012-05-07 Thread Alex Grönholm
New submission from Alex Grönholm : Apparently they worked in 1.0a3 but not in 1.0a4 anymore. -- assignee: eric.araujo components: Distutils2 messages: 160184 nosy: agronholm, alexis, eric.araujo, tarek priority: normal severity: normal status: open title: Classifiers are missing from di

[issue14565] is_cgi doesn't function as documented for cgi_directories

2012-05-07 Thread Éric Araujo
Changes by Éric Araujo : -- versions: -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14743] on terminating, Pdb debugs itself

2012-05-07 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +needs review nosy: +georg.brandl stage: -> test needed ___ Python tracker ___ ___ Python-bugs-

[issue6602] Add argument to control file object used by BaseHTTPServer’s log_message

2012-05-07 Thread Éric Araujo
Éric Araujo added the comment: Clearly +1 to Antoine; that’s just how unix programs do it. stdout is for the program output, which may be formatted in a certain way in order to be piped to another program, and stderr is for all messages for the human user. Editing the bug title and version

[issue5557] Byte-code compilation uses excessive memory

2012-05-07 Thread Zhiping Deng
Changes by Zhiping Deng : -- nosy: +Zhiping.Deng ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9374] urlparse should parse query and fragment for arbitrary schemes

2012-05-07 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue14654] Faster utf-8 decoding

2012-05-07 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14732] PEP 3121 Refactoring applied to _csv module

2012-05-07 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue13659] Add a help() viewer for IDLE's Shell.

2012-05-07 Thread Roger Serwy
Roger Serwy added the comment: Attached is an initial diff for creating a separate pager window by using a textView widget. The recently applied patch in issue964437 allows this window to be non-modal, which can be useful for interactive development. The diff contains code to allow the pager

[issue14745] Misleading exception

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2cd9dadd5c6c by Benjamin Peterson in branch 'default': explicitly set UnsupportedOperation's module rather than relying on incorrect globals on startup (closes #14745) http://hg.python.org/cpython/rev/2cd9dadd5c6c -- nosy: +python-dev reso

[issue14735] Version 3.2.3 IDLE CTRL-Z plus Carriage Return to end does not work

2012-05-07 Thread Roger Serwy
Roger Serwy added the comment: Ctrl+Z followed by Return still exits the Python shell on the command prompt under Vista. The simplest way to get this behavior working in IDLE would be modifying the end-of-file definition in config-keys.def, but only for the Windows keymap: [IDLE Classic

[issue14746] Remove redundant paragraphs from getargs.c skipitem()

2012-05-07 Thread Larry Hastings
New submission from Larry Hastings : There's code like this in skipitem() in Python/getargs.c: case 'b': /* byte -- very short int */ /* ... a zillion more case statements here ... */ case 'C': /* unicode char */ case 'p': /* boolean predicate */ { (void) va_a

[issue14745] Misleading exception

2012-05-07 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis : $ python3.2 -c 'open("/dev/null", "w").read()' Traceback (most recent call last): File "", line 1, in io.UnsupportedOperation: not readable $ python3.3 -c 'open("/dev/null", "w").read()' Traceback (most recent call last): File "", li

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-07 Thread STINNER Victor
STINNER Victor added the comment: Comments on the patch. -PyAPI_FUNC(PyObject *) _PyComplex_FormatAdvanced(PyObject *obj, +PyAPI_FUNC(int) _PyComplex_FormatWriter(PyObject *obj, Even if it is a private function, I prefer to rename it because its API does change. /* Use the inlined version in

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-07 Thread STINNER Victor
New submission from STINNER Victor : Since 7be716a47e9d (issue #14716), str.format() uses the "unicode_writer" API. I propose to continue the work in this direction to avoid more temporary buffers. Python 3.3: 100 loops, best of 3: 0.573 usec per loop 10 loops, best of 3: 16.4 usec pe

[issue14716] Use unicode_writer API for str.format()

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01581e8b50f2 by Victor Stinner in branch 'default': Backout ab500b297900: the check for integer overflow is wrong http://hg.python.org/cpython/rev/01581e8b50f2 -- ___ Python tracker

[issue12298] Sphinx glitch in library/functions

2012-05-07 Thread Éric Araujo
Éric Araujo added the comment: No problem, what counts is that our documentation and code get better for our users, not my ego :) -- ___ Python tracker ___

[issue12298] Sphinx glitch in library/functions

2012-05-07 Thread Sandro Tosi
Sandro Tosi added the comment: Oh sorry Éric, I completely oversaw there was an issue associated with the cset - i'll pay more attention next time! -- ___ Python tracker ___ __

[issue14742] test_tools very slow

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset dbfacec7e368 by Mark Dickinson in branch 'default': Issue #14742: Don't include DirectoryTestCase from test_unparse in test_tools until we can speed it up. http://hg.python.org/cpython/rev/dbfacec7e368 -- nosy: +python-dev __

[issue14742] test_tools very slow

2012-05-07 Thread Mark Dickinson
Mark Dickinson added the comment: That sounds like a better approach. I'll back out the test_unparse inclusion until this can be fixed. -- ___ Python tracker ___ _

[issue12298] Sphinx glitch in library/functions

2012-05-07 Thread Éric Araujo
Éric Araujo added the comment: Sandro ported to 2.7 in 07b3fc67bf45. Thanks! If I may make two remarks: - Please duplicate commit messages from 3.2 and 2.7: it makes it easier to understand what a changeset is about without having to hunt. (This does not apply to 3.3 as the changeset with

[issue14565] is_cgi doesn't function as documented for cgi_directories

2012-05-07 Thread Glenn Linderman
Glenn Linderman added the comment: Hi Pierre, You are right, the "found" variable is not needed, I guess the reason I coded it that way, is I had some validation code before the return, during testing, so it was easier not to have it in three places. Regarding precalculating ln, I don't know

[issue10765] Build regression from automation changes on windows

2012-05-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue13183] pdb skips frames after hitting a breakpoint and running step

2012-05-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: Note that now that this issue is fixed, issue 14743 has become more visible. -- ___ Python tracker ___

[issue14583] try/except import fails --without-threads

2012-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Should be fixed now. The buildbot has been able to launch the test suite. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue14743] on terminating, Pdb debugs itself

2012-05-07 Thread Xavier de Gaye
New submission from Xavier de Gaye : All the problems raised in this issue are caused by self.botframe being set in a Pdb frame. In the following pdb session run with python 3.2.2, the first two frames in the printed stack are Pdb frames, this is wrong. And the second step command steps incorrec

[issue14742] test_tools very slow

2012-05-07 Thread Antoine Pitrou
New submission from Antoine Pitrou : Apparently test_unparse goes a bit overboard. test_compiler in 2.x had a more reasonable approach: it only compiled all files with -uall, otherwise it would choose 10 at random. -- components: Tests messages: 160165 nosy: mark.dickinson, pitrou prio

[issue14583] try/except import fails --without-threads

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset d6324941b739 by Antoine Pitrou in branch 'default': Issue #14583: Fix importlib bug when a package's __init__.py would first import one of its modules then raise an error. http://hg.python.org/cpython/rev/d6324941b739 -- nosy: +python-dev

[issue14366] Supporting lzma compression in zip files

2012-05-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file25430/lzma_in_zip.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue14366] Supporting lzma compression in zip files

2012-05-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch updated to use functions encode_filter_properties and decode_filter_properties from the lzma module. Thank you, Nadeem Vawda. -- Added file: http://bugs.python.org/file25488/lzma_in_zip_2.patch ___ Pytho

[issue14657] Avoid two importlib copies

2012-05-07 Thread Brett Cannon
Brett Cannon added the comment: I would say test_importlib and test_imp (test_import really should just get folded into test_importlib). -- ___ Python tracker ___ _

[issue10427] 24:00 Hour in DateTime

2012-05-07 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-05-07 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10765] Build regression from automation changes on windows

2012-05-07 Thread Ezio Melotti
Ezio Melotti added the comment: Can you still reproduce this? -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mail

[issue14072] urlparse on tel: URI-s misses the scheme in some cases

2012-05-07 Thread R. David Murray
R. David Murray added the comment: See also issue 14036. -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10733] plistlib rejects strings containing control characters

2012-05-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14072] urlparse on tel: URI-s misses the scheme in some cases

2012-05-07 Thread Ezio Melotti
Ezio Melotti added the comment: > In the patch I'm assuming that the port number can only contain ascii digits RFC 3986 [0] defines the port as port = *DIGIT and part of the "authority" [1] as authority = [ userinfo "@" ] host [ ":" port ] userinfo = *( unreserved / p

[issue14741] parser module doesn't support Ellipsis.

2012-05-07 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14741] parser module doesn't support Ellipsis.

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b1cc84bf1d9 by Mark Dickinson in branch '3.2': Issue #14741: Fix missing support for ellipsis in parser module. http://hg.python.org/cpython/rev/2b1cc84bf1d9 New changeset d50577c5711b by Mark Dickinson in branch 'default': Issue #14741: Merge fix

[issue14741] parser module doesn't support Ellipsis.

2012-05-07 Thread Mark Dickinson
New submission from Mark Dickinson : Here's a simple patch. With this and other recent patches to the parser module, we can now correctly roundtrip all the (valid) Python files in Lib/ and Lib/test/. -- assignee: mark.dickinson components: Library (Lib) files: parser_ellipsis.patch ke

[issue4508] distutils compiler not handling spaces in path to output/src files

2012-05-07 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the confirmation. Note that the versions field in this bug tracker indicates the versions that will get fixed, not all versions with the bug; 2.6 only gets security fixes now. Are you interested in updating the patch with a test (see my previous mess

[issue14700] Integer overflow in classic string formatting

2012-05-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I somehow doubt that this micro-optimization is going to have any noticeable > effect in real code. Agree. I just found this bug, trying to optimize the code. -- ___ Python tracker

[issue14657] Avoid two importlib copies

2012-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It might be sufficient to only run tests from the following files with > both importlib._bootstrap and _frozen_importlib: I was only thinking about test_importlib myself. -- ___ Python tracker

[issue14657] Avoid two importlib copies

2012-05-07 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: It might be sufficient to only run tests from the following files with both importlib._bootstrap and _frozen_importlib: test_imp.py test_import.py test_importhooks.py test_importlib.py test_pkgimport.py test_threaded_import.py test_zipimpor

[issue14697] parser module doesn't support set displays or set comprehensions

2012-05-07 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue14697] parser module doesn't support set displays or set comprehensions

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 129289144dfb by Mark Dickinson in branch '3.2': Issue #14697: Fix missing parser module support for set displays and set comprehensions. http://hg.python.org/cpython/rev/129289144dfb New changeset 4815a4a4a852 by Mark Dickinson in branch 'default'

[issue4508] distutils compiler not handling spaces in path to output/src files

2012-05-07 Thread fishdude
fishdude added the comment: i have to report that this issue also happens on Linux and Mac as well. no matter wether python 2.6 or 2.7 is used. -- components: +Macintosh nosy: +fishdude versions: +Python 2.6 ___ Python tracker

[issue14657] Avoid two importlib copies

2012-05-07 Thread Eric Snow
Eric Snow added the comment: I'm +1 on Nick's recommendation. @Antoine > Ideally, we would want to test both versions, so that any oddity in > the freezing mechanism gets exercised and diagnosed properly. +1 Does this mean that the whole test suite should be run under both (whenever _bootstr

[issue14657] Avoid two importlib copies

2012-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Ideally, we would want to test both versions, so that any oddity in the > freezing mechanism gets exercised and diagnosed properly. (not to mention the speedups in import.c) -- ___ Python tracker

[issue14657] Avoid two importlib copies

2012-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Should we have a separate context manager for this, or just make it a > flag for a unified import_state() decorator? Or do we want to *always* > force the use of the Python code instead of the frozen code? Ideally, we would want to test both versions, so that

[issue14657] Avoid two importlib copies

2012-05-07 Thread Brett Cannon
Brett Cannon added the comment: Should we have a separate context manager for this, or just make it a flag for a unified import_state() decorator? Or do we want to *always* force the use of the Python code instead of the frozen code? -- ___ Python

[issue14740] get_payload(n, True) returns None

2012-05-07 Thread R. David Murray
R. David Murray added the comment: Thanks for the report and patch suggestion, but... This is actually the way it is designed to work. get_payload(i) returns the ith element of a multipart payload. Your workaround is in fact the correct way to do this operation. decode=True is documented t

[issue14740] get_payload(n, True) returns None

2012-05-07 Thread Bob Glickstein
Bob Glickstein added the comment: Incidentally, a workaround is: msg.get_payload(n).get_payload(decode=True) -- ___ Python tracker ___ _

[issue14740] get_payload(n, True) returns None

2012-05-07 Thread Bob Glickstein
New submission from Bob Glickstein : Passing both a value for i and decode=True to email.message.Message.get_payload(), when self is a multipart, returns None when it should return a string. The reason is that an is_multipart() test is done on self when it should instead be done on the select

[issue14722] Overflow in parsing 'float' parameters in PyArg_ParseTuple*

2012-05-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be proposed tests (except for the overflow) would be helpful? Right now 'f' and 'd' parsing code is not covered by tests. -- ___ Python tracker

[issue14700] Integer overflow in classic string formatting

2012-05-07 Thread Mark Dickinson
Mark Dickinson added the comment: Sure, I realize that, but I prefer not to be sloppy in the overflow check, and to use the same formula that's already used in stringlib. I somehow doubt that this micro-optimization is going to have any noticeable effect in real code. -- ___

[issue14700] Integer overflow in classic string formatting

2012-05-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Mark, I deliberately have not used the exact formula for the overflow. Comparison with the constant is much cheaper than division or multiplication. Microbencmark: ./python -m timeit -s 'f="%.1234567890s"*100;x=("",)*100' 'f%x' Before changeset 064c2d0483

[issue1294232] Error in metaclass search order

2012-05-07 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: ncoghlan -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue5251] contextlib.nested inconsistent with, well, nested with statements due exceptions raised in __enter__

2012-05-07 Thread Nick Coghlan
Nick Coghlan added the comment: Superseded by issue 13585 (which will add an improved dynamic context management API) -- resolution: postponed -> out of date status: open -> closed superseder: -> Add contextlib.ExitStack ___ Python tracker

[issue11477] Bug in code dispatching based on internal slots

2012-05-07 Thread Nick Coghlan
Nick Coghlan added the comment: I'm currently planning to postpone fixing this until 3.4. However, if someone else wants to pick it up for 3.3, go ahead. -- assignee: ncoghlan -> versions: +Python 3.4 -Python 3.3 ___ Python tracker

[issue9177] ssl.read/write on closed socket raises AttributeError

2012-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't think mimicking EBADF is very useful. Reading from a closed socket is usually a programming error, so it's not the kind of error you'll want to catch at runtime. AttributeError may not be very pretty though, so perhaps a ValueError can be raised as w

[issue9177] ssl.read/write on closed socket raises AttributeError

2012-05-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, pitrou stage: -> needs patch versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ __

[issue6602] BaseHTTPServer log_message should log to sys.stdout

2012-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Disagreed. sys.stderr is not only for "errors" but all informational messages of little value (warnings, debug messages etc.). Also, logging to two different streams makes redirecting clumsier. If you want to change this, it would more useful to add a facilit

[issue14716] Use unicode_writer API for str.format()

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7be716a47e9d by Victor Stinner in branch 'default': Close #14716: str.format() now uses the new "unicode writer" API instead of the http://hg.python.org/cpython/rev/7be716a47e9d New changeset ab500b297900 by Victor Stinner in branch 'default': Issu

[issue14701] parser module doesn't support 'raise ... from'

2012-05-07 Thread Mark Dickinson
Mark Dickinson added the comment: Now fixed. Terry: I suggest opening a separate doc issue for the 'CPython-specific' issue -- assignee: -> mark.dickinson components: +Library (Lib) resolution: -> fixed status: open -> closed ___ Python tracker <

[issue14588] PEP 3115 compliant dynamic class creation

2012-05-07 Thread Nick Coghlan
Nick Coghlan added the comment: In going to add documentation for your patch, I realised the operator module is not the right place for this. The "types" module actually seems like the most appropriate home, but that will require adding a _types module to back it. I'll post to python-dev to

[issue14701] parser module doesn't support 'raise ... from'

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset fc17f70292f6 by Mark Dickinson in branch '3.2': Issue #14701: Add missing support for 'raise ... from' in parser module. http://hg.python.org/cpython/rev/fc17f70292f6 New changeset 0dd0d56bdcc1 by Mark Dickinson in branch 'default': Issue #14701:

[issue14739] Add PyArg_Parse format unit like O& but providing context

2012-05-07 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +georg.brandl, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue14722] Overflow in parsing 'float' parameters in PyArg_ParseTuple*

2012-05-07 Thread Stefan Krah
Stefan Krah added the comment: I agree. Fixing all this would probably require a PEP. It looks like the original plan was to provide a facility to turn off the Overflow exception: http://mail.python.org/pipermail/python-dev/2000-May/003990.html -- _

[issue13697] python RLock implementation unsafe with signals

2012-05-07 Thread Mike Meyer
Mike Meyer added the comment: I just ran into this issue in the logging module using 2.7. Here's the TB in case it sheds any light on the issue Traceback (most recent call last): File "./crawler.py", line 531, in main(argv[1:]1:) File "./crawler.py", line 522, in main MCP(config).r

[issue14700] Integer overflow in classic string formatting

2012-05-07 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14700] Integer overflow in classic string formatting

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 064c2d0483f8 by Mark Dickinson in branch 'default': Issue #14700: Fix two broken and undefined-behaviour-inducing overflow checks in old-style string formatting. Thanks Serhiy Storchaka for report and original patch. http://hg.python.org/cpython/

[issue14722] Overflow in parsing 'float' parameters in PyArg_ParseTuple*

2012-05-07 Thread Mark Dickinson
Mark Dickinson added the comment: Closing as "won't fix"; Python is sadly far from consistent about returning infinity versus raising OverflowError, in a wide variety of situations. For example, compare: * float(Decimal('1e310')) with float(Fraction('1e310')), or * struct.pack('f', 1e100)

[issue14695] Tools/parser/unparse.py is out of date.

2012-05-07 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue14739] Add PyArg_Parse format unit like O& but providing context

2012-05-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It would be better if the functions PyArg_Parse* were wrapped converter's exception, in other exception with adding the names of function and parameter in the message. This will save us from necessity of the introduction of the new interface and immediately

[issue14705] Add 'bool' format character to PyArg_ParseTuple*

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset e4617650f006 by Larry Hastings in branch 'default': Issue #14705: Added support for the new 'p' format unit to skipitem(). http://hg.python.org/cpython/rev/e4617650f006 -- ___ Python tracker

[issue9530] integer undefined behaviors

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset c9c2031cf16d by Mark Dickinson in branch 'default': Add John Regehr to Misc/ACKS for his help with finding integer overflows (issue #9530). http://hg.python.org/cpython/rev/c9c2031cf16d -- ___ Python tr

[issue14739] Add PyArg_Parse format unit like O& but providing context

2012-05-07 Thread Larry Hastings
Changes by Larry Hastings : -- components: +Interpreter Core stage: -> needs patch type: -> enhancement ___ Python tracker ___ ___ P

[issue14739] Add PyArg_Parse format unit like O& but providing context

2012-05-07 Thread Larry Hastings
Changes by Larry Hastings : -- assignee: -> larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14739] Add PyArg_Parse format unit like O& but providing context

2012-05-07 Thread Larry Hastings
New submission from Larry Hastings : If you write a PyArg_Parse "converter", and your conversion hits an error, you must raise an exception and error out. But, since your converter has no context about the parameter, it can't provide any helpful information in the error. For example, PyUnico

[issue14695] Tools/parser/unparse.py is out of date.

2012-05-07 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, David! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue14695] Tools/parser/unparse.py is out of date.

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset f9344a3eaaa6 by Mark Dickinson in branch 'default': Issue #14695: Run Tools/parser/test_unparse.py as part of test_tools. http://hg.python.org/cpython/rev/f9344a3eaaa6 -- nosy: +python-dev ___ Python tra

[issue14736] Add {encode, decode}_filter_properties() functions to lzma module

2012-05-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Changeset 9118ef2b651a was broken, but the bug should have been fixed by > changeset 10ccbb90a8e9. Which revision have you been using? I used the revision 76809:ab57e29157bb. Yes, now the bug fixed. Thank you once again. -- title: Add {encode,decod

[issue14034] Add argparse howto

2012-05-07 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: thanks so much for your rime in reviewing and committing -- ___ Python tracker ___ ___ Python