[issue17971] Weird interaction between Komodo Python debugger C module Python 3

2013-05-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17971 ___ ___

[issue17971] Weird interaction between Komodo Python debugger C module Python 3

2013-05-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: Since this seems to be some sort of interaction between Komodo's code and Python (it works for me with vanilla Python 3), it's going to be hard to debug without seeing what this other thing is doing. -- nosy: +benjamin.peterson

[issue16024] Doc cleanup regarding path=fd, dir_fd, follow_symlinks, etc

2013-05-13 Thread Kaleb Robertson
Kaleb Robertson added the comment: Adding a revision of the .diff file according to akuchling's comment. -- nosy: +kkvr05 Added file: http://bugs.python.org/file30255/lch.supports_set.doc.cleanup.1-revised.diff ___ Python tracker

[issue17971] Weird interaction between Komodo Python debugger C module Python 3

2013-05-13 Thread Eric Promislow
Eric Promislow added the comment: I'm running it inside gdb to see if I can figure it out. I don't see a way of isolating this from the whole product. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17971

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-13 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks Guido, now that I fully understand your reasoning, I can accept that this is a valid practicality beats purity situation. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17947

[issue17968] memory leak in listxattr()

2013-05-13 Thread Christian Heimes
Christian Heimes added the comment: Coverity complains that your patch has introduced a double free bug. Can you have a look, please? ** CID 1021198: Double free (USE_AFTER_FREE) /Modules/posixmodule.c: 10161

[issue17968] memory leak in listxattr()

2013-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7aa157971810 by Benjamin Peterson in branch '3.3': prevent double free in cleanup code (#17968) http://hg.python.org/cpython/rev/7aa157971810 New changeset 617cb2f978b0 by Benjamin Peterson in branch 'default': merge 3.3 (#17968)

[issue17968] memory leak in listxattr()

2013-05-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: Technically a false alarm but it is a danger in the future. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17968 ___

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: It won't make it in 2.7.5. Benjamin tagged the 2.7.5 release a couple of days ago. I'll apply this later tonight. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org

[issue17972] inspect module leak docs

2013-05-13 Thread xiaobing jiang
New submission from xiaobing jiang: the inspect module leak docs. all these functions have no doc. getlineno getabsfile getblock formatannotation walktree findsource indentsize getargs formatannotationrelativeto classify_class_attrs -- assignee: docs@python components: Documentation

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: On second thought, I'll wait until after the releases so that Misc/NEWS gets populated properly. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146 ___

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: Adding 16123 as a dependency. Resolving sys.ps1 and sys.ps2 will likely be simpler when only considering one execution mode. -- dependencies: +IDLE - deprecate running without a subprocess nosy: +roger.serwy versions: +Python 2.7, Python 3.4

[issue17642] IDLE add font resizing hot keys

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: @Abhishek: I'd rather not require extensions to have a new method for resetting font sizes. Instead, a virtual event can be bound to a callback by the extension if it needs to know about a font change. @Alejandro: It looks like there's a bug in ZoomFont.py where

[issue17959] Alternate approach to aliasing for PEP 435

2013-05-13 Thread Nick Coghlan
Nick Coghlan added the comment: I just wanted to note that there's a trivial way to prevent accidental aliases inline or in your test suite if you don't intend them: class MyEnum(Enum): assert len(MyEnum) == len(MyEnum.__members__) --

[issue17954] Support creation of extensible enums through metaclass subclassing

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

[issue9338] argparse optionals with nargs='?', '*' or '+' can't be followed by positionals

2013-05-13 Thread paul j3
paul j3 added the comment: I've played a bit the idea that barthard sketched. I don't have all the details worked out, but I believe this is what will happen: With parser = argparse.ArgumentParser() parser.add_argument('-w') parser.add_argument('-x', nargs='+')

[issue17914] add os.cpu_count()

2013-05-13 Thread Charles-François Natali
Charles-François Natali added the comment: Well, they can be wrong sometimes, too :-) Indeed, as can I ;-) The patch doesn't seem to rely on the glibc, so we are fine here. Or do the other libs work likewise? sysconf(_SC_NPROCESSORS_CONF) is implemented with the above function in the

<    1   2