[issue12014] str.format parses replacement field incorrectly

2011-12-15 Thread Eric V. Smith
Changes by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12776] argparse: type conversion function should be called only once

2011-12-15 Thread Arnaud Fontaine
Arnaud Fontaine added the comment: > Could you add a test to verify that custom actions are still getting > the converted values passed to their __call__? I suspect this may not > be happening under the current patch - if that's the case, you may > also need to add conversions in _get_val

[issue12776] argparse: type conversion function should be called only once

2011-12-15 Thread Arnaud Fontaine
Changes by Arnaud Fontaine : Added file: http://bugs.python.org/file23972/py2.7-argparse-call-type-function-once-v4.patch ___ Python tracker ___

[issue12776] argparse: type conversion function should be called only once

2011-12-15 Thread Arnaud Fontaine
Changes by Arnaud Fontaine : Added file: http://bugs.python.org/file23973/py3k-argparse-call-type-function-once-v4.patch ___ Python tracker ___ _

[issue13607] Move generator specific sections out of ceval.

2011-12-15 Thread Ron Adam
Ron Adam added the comment: A simple test to show the difference. BEFORE: $ python3 -mtimeit "def y(n):" " for x in range(n):" "yield x" "sum(y(10))" 10 loops, best of 3: 3.87 usec per loop $ python3 -mtimeit "def y(n):" " for x in range(n):" "yield x" "sum(y(100))" 10 lo

[issue1559549] ImportError needs attributes for module and file name

2011-12-15 Thread Eric Snow
Eric Snow added the comment: I'm guessing that more than just Python/import.c should be updated, and more than one spot in import.c. -- ___ Python tracker ___ ___

[issue1559549] ImportError needs attributes for module and file name

2011-12-15 Thread Brian Curtin
Brian Curtin added the comment: If I add back in the import.c change, would this then be alright? Eric - fullname seems fine, I'll update that. -- ___ Python tracker ___

[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT

2011-12-15 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13604] update PEP 393 (match implementation)

2011-12-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Why is the utf-8 representation not cached when it is generated for > ParseTuple et alia? It is. > When a string is created from a wchar_t array, who is responsible for > releasing the original wchar_t array? The caller. > As I read it now, Python > doesn

[issue13607] Move generator specific sections out of ceval.

2011-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +benjamin.peterson, ncoghlan stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue13609] Add "os.get_terminal_size()" function

2011-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, do you want to propose a patch yourself? See http://docs.python.org/devguide/ for how to contribute a patch. -- nosy: +pitrou stage: -> needs patch versions: +Python 3.3 ___ Python tracker

[issue13610] On Python parsing numbers.

2011-12-15 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : Can this be fixed? As far as I can remember (ver. 1.5.6), it has always existed. Python does not crash, I find it inelegant. Should it not be a SyntaxError? Side effect. Searching for keywords, (eg. with re, "\b") may practically always implies to handle t

[issue13610] On Python parsing numbers.

2011-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

<    1   2