[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-02 Thread Roger Serwy
Roger Serwy added the comment: On 04/02/2013 12:57 AM, Ned Deily wrote: 2. Roger, is this issue new to 2.7.4, 3.2.4, or 3.3.1? No, this bug has been baked into IDLE since the beginning. See line 215 http://hg.python.org/cpython/file/30713d5288df/Lib/idlelib/ColorDelegator.py How likely do

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-02 Thread Ned Deily
Ned Deily added the comment: LGTM -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17614 ___ ___ Python-bugs-list mailing list

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-02 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17614 ___ ___

[issue10615] Trivial mingw compile fixes

2013-04-02 Thread Mark Lawrence
Mark Lawrence added the comment: #17605 titled mingw-meta: build interpeter core was opened on 2013-03-31 so I believe this can be closed as superseded. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue17605] mingw-meta: build interpeter core

2013-04-02 Thread Mark Lawrence
Mark Lawrence added the comment: There are patches on #10615 which may be of some use here. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17605 ___

[issue10566] gdb debugging support additions (Tools/gdb/libpython.py)

2013-04-02 Thread Mark Lawrence
Mark Lawrence added the comment: Comments in msg123606 seem encouraging so I'm guessing this has just slipped under the radar. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10566

[issue17615] String comparison performance regression

2013-04-02 Thread Neil Hodgson
New submission from Neil Hodgson: On Windows, non-equal comparisons (, =, , =) between strings with common prefixes are slower in Python 3.3 than 3.2. This is for both 32-bit and 64-bit builds. Performance on Linux has not decreased for the same code. The attached program tests comparisons

[issue17616] wave.Wave_read and wave.Wave_write can be context managers

2013-04-02 Thread Claudiu.Popa
New submission from Claudiu.Popa: I think that wave.open should work with the `with` statement, given the fact that Lib/aifc.py does this. I attached a simple patch for this. Thanks in advance. -- components: Library (Lib) files: wave_context_manager.patch keywords: patch messages:

[issue17359] Mention __main__.py explicitly in command line docs

2013-04-02 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I still don't think that the available documentation is detailed enough. It leaves too many unanswered question, e.g. * What happens if you have both __init__.py and __main__.py in a directory or a ZIP file ? * What does the script name is added to the

[issue17615] String comparison performance regression

2013-04-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +haypo, serhiy.storchaka type: - performance ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17615 ___

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17613 ___ ___

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- priority: critical - high versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17614 ___

[issue17583] IDLE HOWTO

2013-04-02 Thread Amit Saha
Amit Saha added the comment: I have tried to incorporate most of the suggestions and made some other changes as well. Hope it looks better now. I haven't yet split it into two separate versions. -- Added file: http://bugs.python.org/file29654/idle.patch

[issue10379] locale.format() input regression

2013-04-02 Thread Eric V. Smith
Eric V. Smith added the comment: Barry meant that the upstream program that triggered this error has been changed to call format_string() instead of format(). The bug still exists in format(). My suggestion is to have format() be an alias for format_string(). Deprecating format() is an

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thank you for the analysis. -- priority: release blocker - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17613 ___

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2013-04-02 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11406 ___ ___

[issue17608] configparser not honouring section but not variable case

2013-04-02 Thread Łukasz Langa
Łukasz Langa added the comment: This is indeed deliberate. If that's unsuitable for you, consider using: cp = ConfigParser() cp.optionxform = lambda option: option as described in http://docs.python.org/3/library/configparser.html#configparser.optionxform -- assignee: -

[issue17615] String comparison performance regression

2013-04-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why do you care? Does it impact a real-world workload? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17615 ___

[issue17453] logging.config.fileConfig error

2013-04-02 Thread Łukasz Langa
Łukasz Langa added the comment: Treating as empty values was a bug in configparser pre 3.2 (it made it impossible to store as a value). Simply change [section] option = to [section] option = Does that solve your problem? -- ___

[issue17612] hooks/mail.py requires [smtp] host to be set, despite a comment to the contrary

2013-04-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, mercurial itself requires the presence of a host item in [smtp], so it would make sense to require it too. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17612

[issue17617] struct.calcsize() incorrect

2013-04-02 Thread bonnet
New submission from bonnet: struct.calcsize('i?') : 21 appears to be incorrect ; in C sizeof : 24 C code: typedef struct { int param1; int param2; int param3; int param4; int param5; unsigned char param6; } struct_titi6; main: struct_titi6 toto3; printf(taille toto3

[issue17618] base85 encoding

2013-04-02 Thread Antoine Pitrou
New submission from Antoine Pitrou: Base85 encoding (see e.g. http://en.wikipedia.org/wiki/Ascii85 ) allows a tighter encoding than Base64: it has a 5/4 expansion ratio, rather than 4/3. It is used in Mercurial, git, and there's another variant that's used by Adobe in the PDF format. It would

[issue6743] Add function compatible with print to pprint module

2013-04-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Maybe pprint.print() should specify sep='\n' by default? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6743 ___

[issue17617] struct.calcsize() incorrect

2013-04-02 Thread Mark Dickinson
Mark Dickinson added the comment: This is working as designed: the result of struct.calcsize matches the length of the string that you'll get back from struct.pack using that format. Padding isn't included after the last entry in the struct. That's not to say that it was a good design

[issue10379] locale.format() input regression

2013-04-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Apr 02, 2013, at 11:32 AM, Eric V. Smith wrote: My suggestion is to have format() be an alias for format_string(). Deprecating format() is an optional step, but may not be worth the hassle. Agreed on both counts. --

[issue17617] struct.calcsize() incorrect

2013-04-02 Thread Mark Dickinson
Mark Dickinson added the comment: And also #7355, which led to that example being added to the documentation. Closing as duplicate. -- resolution: - duplicate status: open - closed superseder: - Struct incorrectly compiles format strings ___

[issue17618] base85 encoding

2013-04-02 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17618 ___ ___ Python-bugs-list

[issue6743] Add function compatible with print to pprint module

2013-04-02 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6743 ___ ___

[issue10379] locale.format() input regression

2013-04-02 Thread Eric V. Smith
Eric V. Smith added the comment: So I guess the question is: would this be a bug fix and applied to 2.7 and 3.3, or just an enhancement for 3.4? I think it would be a bug fix and thus should be backported. It's not like we'd be breaking any working code, unless it was expecting the exception.

[issue10379] locale.format() input regression

2013-04-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Apr 02, 2013, at 03:04 PM, Eric V. Smith wrote: I think it would be a bug fix and thus should be backported. It's not like we'd be breaking any working code, unless it was expecting the exception. That would be my preference. --

[issue13110] test_socket.py failures on ARM

2013-04-02 Thread R. David Murray
R. David Murray added the comment: For the record I'm seeing this on Gentoo with linux kernel 3.5.3. Commenting out the localhost ipv6 entry lets the test pass, as indicated in the ubuntu bug report (which was subsequently closed with no action). -- nosy: +r.david.murray

[issue13163] `port` and `host` are confused in `_get_socket

2013-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5d99042bd40f by R David Murray in branch '2.7': #13163: fix names of _get_socket args http://hg.python.org/cpython/rev/5d99042bd40f -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue13163] `port` and `host` are confused in `_get_socket

2013-04-02 Thread R. David Murray
R. David Murray added the comment: Thanks Victor. I decided not to put in the doc string because Python3 doesn't have one. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue17619] input() swallows KeyboardInterrupt in Python 3.3

2013-04-02 Thread Drekin
New submission from Drekin: At least on Windows, input() doesn't raise KeyboardInterrupt when Ctrl-C is hit in Python 3.3 (it does in Python 3.2). 3.3: x = input() # Ctrl-C hit - no exception raised x NameError 3.2: x = input() # Ctrl-C hit KeyboardInterrupt -- messages: 185845

[issue17615] String comparison performance regression

2013-04-02 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - needs patch versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17615 ___

[issue17492] Increase test coverage for random (up to 99%)

2013-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2a340f963518 by R David Murray in branch 'default': #17492: Additional tests for random module. http://hg.python.org/cpython/rev/2a340f963518 -- nosy: +python-dev ___ Python tracker

[issue17492] Increase test coverage for random (up to 99%)

2013-04-02 Thread R. David Murray
R. David Murray added the comment: Thanks, Victor. -- nosy: +r.david.murray resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17492

[issue17620] Python interactive console doesn't use sys.stdin for input

2013-04-02 Thread Drekin
New submission from Drekin: The Python interactive console actually doesn't use sys.stdin but standard C stdin for input. Is there any reason for this? Why it then uses its encoding attribute? (Assigning sys.stdin something, that doesn't have encoding attribute freezes the interpreter.) If

[issue17561] Add socket.create_server_sock() convenience function

2013-04-02 Thread Guido van Rossum
Guido van Rossum added the comment: Nikolay, you may want to check out this Python tracker issue. Giampaolo: I didn't even know it was possible for a single socket to be dual-stack. (It would seem problematic for UDP recvfrom() for example.) In Tulip it does indeed make more sense to create

[issue17489] random.Random implements __getstate__() and __reduce__()

2013-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 68ed5b2ca867 by R David Murray in branch 'default': #17489: Add explanatory comment that __getstate__ is not called. http://hg.python.org/cpython/rev/68ed5b2ca867 -- nosy: +python-dev ___ Python tracker

[issue6822] Error calling .storlines from ftplib

2013-04-02 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Apparently the doc has already been changed and mentions that a binary file is necessary. The unit test is legitimate and can be committed though (Victor, you want to do it?). -- ___ Python tracker

[issue17621] Create a lazy import loader mixin

2013-04-02 Thread Brett Cannon
New submission from Brett Cannon: People keep asking and I keep promising to get a lazy loader into Python 3.4. This issue is for me to track what I have done towards meeting that promise. To start, I have something working at https://code.google.com/p/importers/, but I need to make sure that

[issue17621] Create a lazy import loader mixin

2013-04-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17621 ___ ___ Python-bugs-list mailing

[issue17579] socket module in 2.7.4 raises error instead of gaierror in 2.7.3

2013-04-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Okay, so this is not a Python problem, but an Ubuntu problem. It's also not a problem with Ubuntu's version of Python. I can reproduce it on Ubuntu 13.04 with hg trunk, but not Debian Wheezy with hg trunk. Closing as invalid and will investigate further in

[issue17606] xml.sax.saxutils.XMLGenerator cannot output with the correct encoding

2013-04-02 Thread Sebastian Ortiz Vasquez
Sebastian Ortiz Vasquez added the comment: Added new test and patch generated following the python development directions found on http://docs.python.org/devguide/patch.html -- type: - crash Added file: http://bugs.python.org/file29655/XMLGenerator.patch

[issue17606] xml.sax.saxutils.XMLGenerator cannot output with the correct encoding

2013-04-02 Thread Sebastian Ortiz Vasquez
Changes by Sebastian Ortiz Vasquez neoe...@gmail.com: Removed file: http://bugs.python.org/file29655/XMLGenerator.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17606 ___

[issue17606] xml.sax.saxutils.XMLGenerator cannot output with the correct encoding

2013-04-02 Thread Sebastian Ortiz Vasquez
Changes by Sebastian Ortiz Vasquez neoe...@gmail.com: Added file: http://bugs.python.org/file29656/XMLGenerator.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17606 ___

[issue17621] Create a lazy import loader mixin

2013-04-02 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17621 ___ ___ Python-bugs-list

[issue5207] extend strftime/strptime format for RFC3339 and RFC2822

2013-04-02 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5207 ___ ___

[issue6822] Error calling .storlines from ftplib

2013-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset c78dfc6ce37a by Victor Stinner in branch '3.3': Close #6822: ftplib.FTP.storlines() expects a binary file, not a text file http://hg.python.org/cpython/rev/c78dfc6ce37a New changeset 9328e2b8a397 by Victor Stinner in branch 'default': (Merge 3.3)

[issue17588] runpy cannot run Unicode path on Windows

2013-04-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The issue is actually with compile(): compile('x=1', '\u222b.py', 'exec') fails on my Western Windows machine (mbcs = cp1252). This conversion should not be necessary, since the filename is only used for error messages (and decoded again!) But

[issue17588] runpy cannot run Unicode path on Windows

2013-04-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I have a similar issue with a directory '∫' ('\u222b') containing a file foo.py: sys.path.insert(0, '\u222b') import foo Traceback (most recent call last): File stdin, line 1, in module File frozen importlib._bootstrap, line 1564, in _find_and_load

[issue17588] runpy cannot run Unicode path on Windows

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: This issue is a duplicate of the issue #11619. In short: when importing a Python module, Python 3.3 only supports paths encodable to the ANSI code page. The issue #11619 contains an huge patch to support *any* Unicode character in module path. I closed the

[issue17588] runpy cannot run Unicode path on Windows

2013-04-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17588 ___

[issue17607] missed peephole optimization (unnecessary jump at end of function after yield)

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: This issue is similar to #17430. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17607 ___ ___

[issue17615] String comparison performance regression

2013-04-02 Thread Ethan Furman
Ethan Furman added the comment: As Ian Kelly said on Python-List: quote Micro-benchmarks like the ones [jmf] have been reporting are *useful* when it comes to determining what operations can be better optimized, but they are not *important* in and of themselves. What is important is that

[issue17588] runpy cannot run Unicode path on Windows

2013-04-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: No need to use weird characters. Greek or Cyrillic letters are enough. Suppose I download a library with language modules such as Русский.py or Ελληνικά.py; they are allowed as identifiers and can be regularly imported... on utf8 system at least.

[issue17615] String comparison performance regression

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: Compare (Unicode) strings was optimized after the release of Python 3.3. changeset: 79469:54154be6b27d user:Victor Stinner victor.stin...@gmail.com date:Thu Oct 04 22:59:45 2012 +0200 files: Objects/unicodeobject.c description: Optimize

[issue17390] display python version on idle title bar

2013-04-02 Thread Edmond Burnett
Edmond Burnett added the comment: Here is a patch to add a more descriptive title to the IDLE editor. Python version Editor: filename - path -- Added file: http://bugs.python.org/file29657/issue17390_editor_title.patch ___ Python tracker

[issue16061] performance regression in string replace for 3.3

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: How can we move this issu forward? I still prefer unicode_2.patch over str_replace_1char.patch because the code is simpler and so easier to maintain. str_replace_1char.patch has a bug: replace_1char() does not use pos for the latin1 path. --

[issue15351] Add to unittest.TestCase support for using context managers

2013-04-02 Thread Chris Calloway
Changes by Chris Calloway c...@chriscalloway.org: -- nosy: +cbc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15351 ___ ___ Python-bugs-list

[issue16754] Incorrect shared library extension on linux

2013-04-02 Thread A.M. Kuchling
A.M. Kuchling added the comment: I just tried building trunk on MacOS 10.6.8, and make install fails with this traceback: Traceback (most recent call last): File ./setup.py, line 2175, in module main() File ./setup.py, line 2170, in main Tools/scripts/2to3, Tools/scripts/pyvenv]

[issue16757] Faster _PyUnicode_FindMaxChar()

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: Related commit: changeset: 83066:b5d5f422299f tag: tip user:Victor Stinner victor.stin...@gmail.com date:Wed Apr 03 01:48:39 2013 +0200 files: Include/unicodeobject.h Lib/test/test_format.py Objects/stringlib/unicode_format.h

[issue16757] Faster _PyUnicode_FindMaxChar()

2013-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7132bca093ad by Victor Stinner in branch 'default': Close #16757: Avoid calling the expensive _PyUnicode_FindMaxChar() function http://hg.python.org/cpython/rev/7132bca093ad -- nosy: +python-dev resolution: - fixed stage: patch review -

[issue16757] Faster _PyUnicode_FindMaxChar()

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7132bca093ad by Victor Stinner in branch 'default': Close #16757: Avoid calling the expensive _PyUnicode_FindMaxChar() function This changeset is almost the same than unicode_findmaxchar_2.patch. I prefered to keep the API unchanged and not

[issue16334] Faster unicode-escape and raw-unicode-escape codecs

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: unicode-escape and raw-unicode-escape decoders now use the PyUnicodeWriter API. Can you please compare performances of your patch to PyUnicodeWriter API? Decoders overallocate the buffer. According to a comment in the decoder, overallocating is never needed

[issue16754] Incorrect shared library extension on linux

2013-04-02 Thread Ned Deily
Ned Deily added the comment: Did you start with a clean build directory and rerun ./configure? What ./configure options did you use? Make sure that an existing install isn't getting in the way during a build, particularly with --enable-shared. With a current tip of the default branch, I've

[issue17484] add tests for getpass

2013-04-02 Thread R. David Murray
R. David Murray added the comment: Thomas, did you submit a contributor agreement at PyCon (or after)? If so I need to go bug someone to get the tracker updated. I'm attaching a slightly modified version of your patch, cleaning up the output that was showing up on stdout and using

[issue17620] Python interactive console doesn't use sys.stdin for input

2013-04-02 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17620 ___ ___ Python-bugs-list

[issue6743] Add function compatible with print to pprint module

2013-04-02 Thread Éric Araujo
Éric Araujo added the comment: Antoine: the desired behavior is to have a function with the same signature as print (so multiple objects to print are supported), but which calls pprint.pformat instead of str. It lets people monkey-patch builtins.print or somemodule.print with pprint.print

[issue17619] input() swallows KeyboardInterrupt in Python 3.3

2013-04-02 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Seems to be windows specific. It works fine on Linux and Solaris. -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17619 ___

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- title: input() swallows KeyboardInterrupt in Python 3.3 - MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17619

[issue17583] IDLE HOWTO

2013-04-02 Thread Éric Araujo
Éric Araujo added the comment: This is a great idea, thank you. FYI You can share text and images with a diff file: if you call “hg add path/to/images” and create the diff with the --git option, it will use an extended unified diff format which includes binary changes. Our review system is

[issue8913] Document that datetime.__format__ is datetime.strftime

2013-04-02 Thread Éric Araujo
Éric Araujo added the comment: Ezio, you are the latest reviewer, do you have outstanding comments? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8913 ___

[issue17583] IDLE HOWTO

2013-04-02 Thread Amit Saha
Amit Saha added the comment: Hello Éric Araujo, thanks. Oh I thought it did support, and hence I created the diff in exactly the way you mention. i also went ahead and tested it by 'hg import' -ing it into a cpython clone and i was all excited to see all my images there :-) But, yeah I can

[issue17618] base85 encoding

2013-04-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17618 ___ ___ Python-bugs-list mailing list

[issue17618] base85 encoding

2013-04-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17618 ___ ___ Python-bugs-list mailing

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: It may be related to the following commit: changeset: 77861:9523c122d6fc user:Tim Golden m...@timgolden.me.uk date:Fri Jun 29 18:39:26 2012 +0100 files: Parser/myreadline.c description: Issue #1677: Handle better a race condition between

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: @Drekin: What is your Windows version? How did you start Python? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17619 ___

[issue17561] Add socket.create_server_sock() convenience function

2013-04-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17561 ___ ___ Python-bugs-list

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-02 Thread Roger Serwy
Roger Serwy added the comment: Updated patch based on Ezio's comments. Thank you, Ezio! Senthil, I wish I had a Mac to test against. I am able to trigger the bug on Win7 with 3.3. Without objection, I will commit the patch in the upcoming hours. -- assignee: - roger.serwy Added

[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-02 Thread Sean Wolfe
Sean Wolfe added the comment: fwiw, I like the configuration option. I tend to set idle to editor only, but the configuration option is useful to me. -- nosy: +seanfelipewolfe ___ Python tracker rep...@bugs.python.org

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e5e497ee33b by Roger Serwy in branch '2.7': #17614: IDLE no longer raises exception when quickly closing a file. http://hg.python.org/cpython/rev/1e5e497ee33b New changeset d759b7bc9785 by Roger Serwy in branch '3.3': #17614: IDLE no longer raises

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-02 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17614 ___

[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-02 Thread Todd Rovito
Todd Rovito added the comment: Thanks for the feedback I am good with closing but want to check with Roger because he suggested that we open a new issue to discuss. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17609

[issue17060] IDLE -- jump to home should not go past the PS1 and PS2 prompts

2013-04-02 Thread Roger Serwy
Roger Serwy added the comment: When using the IDLE Classic OSX key set, the beginning-of-line virtual event gets bound to Control-Key-Left. Using this key set I can repeat the behavior that Raymond observed. The .home_callback() in Lib/idlelib/EditorWindow.py contains the logic from #3851

[issue14254] IDLE - shell restart or closing during readline does not exit nested event loop

2013-04-02 Thread Roger Serwy
Roger Serwy added the comment: Ned, I was reading the dev guide more closely about the meaning of the commit review stage. Would it be ok to place this issue into that stage with your test result? -- ___ Python tracker rep...@bugs.python.org

[issue14254] IDLE - shell restart or closing during readline does not exit nested event loop

2013-04-02 Thread Ned Deily
Ned Deily added the comment: Sure, or just go ahead and commit it. LGTM. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14254 ___

[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-02 Thread Roger Serwy
Roger Serwy added the comment: Todd, thank you for opening this issue. Given the feedback, it looks like we should keep the configuration. Feel free to close the issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17609

[issue17615] String comparison performance regression

2013-04-02 Thread Neil Hodgson
Neil Hodgson added the comment: The common cases are likely to be 1:1, 2:2, and 1:2. There is already a specialisation for 1:1. wmemcmp is widely available but is based on wchar_t so is for different widths on Windows and Unix. On Windows it would handle the 2:2 case. --

[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-02 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17609 ___

[issue15427] Describe use of args parameter of argparse.ArgumentParser.parse_args

2013-04-02 Thread paul j3
paul j3 added the comment: The 'args=' parameter is the same as the first positional parameter used in most of the examples. That is normal Python behavior. 15.4.4.5. Beyond sys.argv explains this alternative way of specifying argv. Still 2 bullet points could be added to 15.4.4. - args - A

[issue17206] Py_XDECREF() expands its argument multiple times

2013-04-02 Thread Illia Polosukhin
Illia Polosukhin added the comment: Fixed Py_DECREF and Py_CLEAR as well. Added tests for Py_INCREF and Py_XINCREF (if somebody has a better idea how to tests that INCREF doesn't leak - please, let me know). Removed comment that Py_DECREF evaluate it's argument multiple times as not

[issue14254] IDLE - shell restart or closing during readline does not exit nested event loop

2013-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 097554712637 by Roger Serwy in branch '2.7': #14254: IDLE now handles readline correctly across shell restarts. http://hg.python.org/cpython/rev/097554712637 New changeset 0be85a7fc839 by Roger Serwy in branch '3.3': #14254: IDLE now handles

[issue14254] IDLE - shell restart or closing during readline does not exit nested event loop

2013-04-02 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14254 ___

[issue15348] IDLE - shell becomes unresponsive if debugger windows is closed while active.

2013-04-02 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- assignee: - roger.serwy versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15348 ___