[issue19301] Globals declared in function scope have wrong __qualname__

2013-10-20 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: It seems that we are missing support for nested globals: >>> def f(): ... global C ... class C: ... class D: ... pass ... >>> f() >>> C.D.__qualname__ 'f..C.D' -- status: closed -> open ___ Python

[issue19301] Globals declared in function scope have wrong __qualname__

2013-10-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: Oh, phoey. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19321] memoryview should be a context manager

2013-10-20 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: memoryview() acquires resource but it rarely released explicitly. I propose to made memoryview a context manager which calls the release() method in the __exit__() method. Perhaps it worth also add resource warning in the __del__() method if a memoryview w

[issue19321] memoryview should be a context manager

2013-10-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +pitrou, skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19297] test_asyncio: unclosed sockets

2013-10-20 Thread Guido van Rossum
Guido van Rossum added the comment: Is there a patch yet? --Guido van Rossum (sent from Android phone) On Oct 20, 2013 1:11 PM, "Antoine Pitrou" wrote: > > Antoine Pitrou added the comment: > > Since the alpha appears to have been delayed, I think it would be good to > commit. > > -- >

[issue19321] memoryview should be a context manager

2013-10-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Already proposed in issue9757. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19310] asyncio: fix waitpid() logic

2013-10-20 Thread Guido van Rossum
Guido van Rossum added the comment: CF, feel free to commit this fix too. --Guido van Rossum (sent from Android phone) On Oct 20, 2013 1:05 PM, "Antoine Pitrou" wrote: > > Antoine Pitrou added the comment: > > Sorry, scratch that. add_signal_handler() won't even accept being called > from a no

[issue19297] test_asyncio: unclosed sockets

2013-10-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes, there is one :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue12029] Catching virtual subclasses in except clauses

2013-10-20 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19280] Add a datatype to represent mime types to the email module

2013-10-20 Thread R. David Murray
R. David Murray added the comment: Well, it's about backward compatibility, and the email module already uses str subclasses for headers in the new code, for backward compatibility reasons. I hope this does not prove fragile in practice, but I have no way of knowing for sure, of course. It o

[issue19297] test_asyncio: unclosed sockets

2013-10-20 Thread Guido van Rossum
Guido van Rossum added the comment: OK, commit it. --Guido van Rossum (sent from Android phone) On Oct 20, 2013 2:06 PM, "Antoine Pitrou" wrote: > > Antoine Pitrou added the comment: > > Yes, there is one :) > > -- > > ___ > Python tracker >

[issue19310] asyncio: fix waitpid() logic

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 28397ecf2316 by Charles-François Natali in branch 'default': Issue #19310: asyncio: fix child processes reaping logic. http://hg.python.org/cpython/rev/28397ecf2316 -- nosy: +python-dev ___ Python tracker

[issue19297] test_asyncio: unclosed sockets

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ad3e9cf9590 by Antoine Pitrou in branch 'default': Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok. http://hg.python.org/cpython/rev/8ad3e9cf9590 -- nosy: +python-dev resolution: -> fixed stage: patch review ->

[issue19302] Add support for AIX pollset efficient event I/O polling

2013-10-20 Thread Charles-François Natali
Charles-François Natali added the comment: I don't mean to be rude, but AIX is IMO a niche platform: proprietary Unices are doomed to disappear sooner or later. As such, I'm not convinced that adding an AIX-specific polling interface is really worth it. -- nosy: +neologix

[issue19302] Add support for AIX pollset efficient event I/O polling

2013-10-20 Thread David Edelsohn
David Edelsohn added the comment: CF, If you don't mean to be rude, then don't be rude. I never claimed that AIX is the most widely used or most important platform. It implements POSIX and Open Group specifications correctly, so it is a good cross-check that features are implemented portably

[issue19301] Globals declared in function scope have wrong __qualname__

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset bb2affc1e317 by Benjamin Peterson in branch 'default': cleanup the construction of __qualname__ (closes #19301 again) http://hg.python.org/cpython/rev/bb2affc1e317 -- status: open -> closed ___ Python tra

[issue19310] asyncio: fix waitpid() logic

2013-10-20 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19311] devguide: hg bisect section could be clearer

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 24c2cfee3b06 by Ezio Melotti in branch 'default': #19311: mention hg update in the bisect faq. http://hg.python.org/devguide/rev/24c2cfee3b06 -- nosy: +python-dev status: pending -> open ___ Python tracke

[issue19311] devguide: hg bisect section could be clearer

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: I agree with Antoine, but mentioning hg update is a good idea so I changed that. -- assignee: -> ezio.melotti resolution: wont fix -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement ___

[issue19307] Improve TypeError message in json.loads()

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 241996bd3c6b by Ezio Melotti in branch 'default': #19307: Improve error message for json.load(s) while passing objects of the wrong type. http://hg.python.org/cpython/rev/241996bd3c6b -- nosy: +python-dev __

[issue19307] Improve TypeError message in json.loads()

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: I added a test with json.load() too. json.load(fp) just calls json.loads(fp.read()), but it's better to avoid white-box testing. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed _

[issue18702] Report skipped tests as skipped

2013-10-20 Thread Ned Deily
Ned Deily added the comment: I took a quick look at the revised patch. Clearly, it's too big to review at a detailed level. I tried the approach of running two complete verbose regrtest runs (-m test -v -uall), before and after the patch, and diffing the results in a "smart" diff app. Again

[issue12014] str.format parses replacement field incorrectly

2013-10-20 Thread Ben Wolfson
Changes by Ben Wolfson : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset ac016cba7e64 by Ezio Melotti in branch 'default': #18958: Improve error message for json.load(s) while passing a string that starts with a UTF-8 BOM. http://hg.python.org/cpython/rev/ac016cba7e64 -- nosy: +python-dev __

[issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the feedback! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue19289] Incorrect documentation for format's fill character.

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: I uploaded a patch on #19238 that also fixes this. -- stage: -> patch review type: -> enhancement ___ Python tracker ___ ___

[issue19238] Misleading explanation of fill and align in format_spec

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a patch. This also include a fix for #19289. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file32266/issue19238.diff ___ Python tracker _

[issue19238] Misleading explanation of fill and align in format_spec

2013-10-20 Thread Eric V. Smith
Eric V. Smith added the comment: Looks good to me. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue19306] Warn unsuspecting readers that thread stacks are in reverse order

2013-10-20 Thread Guido van Rossum
Guido van Rossum added the comment: New patch, with fixed test. TBH now I'm getting worried that other programs may exist that parse this format and will get confused. -- Added file: http://bugs.python.org/file32267/traceback2.diff ___ Python tracke

[issue19271] Update OrderedDict "see also" link

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a patch. The request seems reasonable to me, more so since the PyPI page links to the recipe. If the goal of the link is to show the code of the implementation, the :source: directive can also be used. -- keywords: +patch stage: needs patch -> p

[issue19289] Incorrect documentation for format's fill character.

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset e3ff2065c548 by Ezio Melotti in branch '3.3': #19238, #19289: fix description of the align and fill values of the format specification. http://hg.python.org/cpython/rev/e3ff2065c548 New changeset f52892642c15 by Ezio Melotti in branch 'default': #1

[issue19238] Misleading explanation of fill and align in format_spec

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset e3ff2065c548 by Ezio Melotti in branch '3.3': #19238, #19289: fix description of the align and fill values of the format specification. http://hg.python.org/cpython/rev/e3ff2065c548 New changeset f52892642c15 by Ezio Melotti in branch 'default': #1

[issue19238] Misleading explanation of fill and align in format_spec

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the review! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue19289] Incorrect documentation for format's fill character.

2013-10-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19306] Warn unsuspecting readers that thread stacks are in reverse order

2013-10-20 Thread STINNER Victor
STINNER Victor added the comment: > TBH now I'm getting worried that other programs may exist that parse this > format and will get confused. A program parsing faulthandler output? Seriously? It would be nice, but I don't know any. Anyway, such program would probably use a regex to parse the

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 04a163f93ad4 by Ezio Melotti in branch '2.7': #8964: fix platform._sys_version to handle IronPython 2.6+. http://hg.python.org/cpython/rev/04a163f93ad4 New changeset 10a261824b62 by Ezio Melotti in branch '3.3': #8964: fix platform._sys_version to h

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue19291] Add docs for asyncio package (Tulip, PEP 3156)

2013-10-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Documentation stage: -> needs patch type: -> enhancement ___ Python tracker ___ ___ Python

[issue19321] memoryview should be a context manager

2013-10-20 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19302] Add support for AIX pollset efficient event I/O polling

2013-10-20 Thread STINNER Victor
STINNER Victor added the comment: Python already supports various "select" APIs: see select and selectors modules. I don't know pollset: is it something like epoll on Linux? @David: Would you like to work on a patch? -- nosy: +haypo ___ Python track

[issue19321] memoryview should be a context manager

2013-10-20 Thread STINNER Victor
STINNER Victor added the comment: > Already proposed in issue9757. Well, it was not only proposed, but it was also implemented (by Antoine). Python 3.4.0a3+ (default:84a8b797c5c5+, Oct 20 2013, 16:02:32) [GCC 4.8.1 20130603 (Red Hat 4.8.1-1)] on linux Type "help", "copyright", "credits" or "li

[issue13515] Consistent documentation practices for security concerns and considerations

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8bb5f4301e01 by Ezio Melotti in branch 'default': #13515: document security-related documentation practices. http://hg.python.org/devguide/rev/8bb5f4301e01 -- nosy: +python-dev ___ Python tracker

[issue13515] Consistent documentation practices for security concerns and considerations

2013-10-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue19293] test_asyncio hanging for 1 hour

2013-10-20 Thread STINNER Victor
STINNER Victor added the comment: [Off-topic: Heck, another one of those upside-down tracebacks. WHY???] faulthandler is really a very low-level module. I wrote it to analyze deadlocks, memory corruptions and other sad cases. faulthandler is designed to provide as much information as possible

[issue19314] Typo in devguide - compiler

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 640fae50d1bb by Ezio Melotti in branch 'default': #19312, #19314: fix a couple of typos in the compiler page of the devguide. Patch by Martin Matusiak. http://hg.python.org/devguide/rev/640fae50d1bb -- nosy: +python-dev __

[issue19312] Typo in devguide - compiler

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 640fae50d1bb by Ezio Melotti in branch 'default': #19312, #19314: fix a couple of typos in the compiler page of the devguide. Patch by Martin Matusiak. http://hg.python.org/devguide/rev/640fae50d1bb -- nosy: +python-dev __

[issue19314] Typo in devguide - compiler

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement ___ Python tracker

[issue19312] Typo in devguide - compiler

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement ___ Python tracker

[issue19293] test_asyncio hanging for 1 hour

2013-10-20 Thread STINNER Victor
STINNER Victor added the comment: > Hm... Maybe the wakeup_fd machinery is broken on some systems? Hey! I added many tests when I added this feature to Python: see test_signal.py. By the way, it uses select.select() :-) Does test_signal pass successfully on AIX? -- __

[issue17951] TypeError during gdb backtracing

2013-10-20 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19293] test_asyncio hanging for 1 hour

2013-10-20 Thread Tim Peters
Tim Peters added the comment: Just wondering: why is the timeout-to-failure set to a whole hour? Based on all the messages I've seen this weekend, we could save the buildbots countless years of time by reducing it to - say - 59 minutes ;-) -- nosy: +tim.peters __

[issue17951] TypeError during gdb backtracing

2013-10-20 Thread STINNER Victor
STINNER Victor added the comment: How do you reproduce the issue? I'm not sure that the patch is correct. -- ___ Python tracker ___ __

[issue19315] devguide: compiler - poor wording

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: Here is a patch. -- assignee: -> ezio.melotti keywords: +patch stage: -> patch review type: -> enhancement Added file: http://bugs.python.org/file32269/issue19315.diff ___ Python tracker

[issue16685] audioop functions shouldn't accept strings

2013-10-20 Thread STINNER Victor
STINNER Victor added the comment: audioop_buffer.patch: In general, I don't like goto in C. But to cleanup something when exiting a function, I like goto to implement something similar to Python try/finally. What do you think Serhiy? -- ___ Python t

[issue19316] devguide: compiler - wording

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: Here is a single diff that combines all these patches and a few more things from #19315. -- assignee: -> ezio.melotti stage: -> patch review type: -> enhancement Added file: http://bugs.python.org/file32270/issue19316.diff

[issue19315] devguide: compiler - poor wording

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: This can be fixed as part of #19316. -- resolution: -> duplicate stage: patch review -> committed/rejected status: open -> closed superseder: -> devguide: compiler - wording ___ Python tracker

[issue19306] Warn unsuspecting readers that thread stacks are in reverse order

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc8c37b5b449 by Guido van Rossum in branch 'default': Issue 19306: Add extra hints to faulthandler stack dumps that they are upside down. http://hg.python.org/cpython/rev/cc8c37b5b449 -- nosy: +python-dev __

[issue19308] Tools/gdb/libpython.py does not support GDB linked against Python 3

2013-10-20 Thread David Coles
David Coles added the comment: I ended up with a very similar looking patch - and so merged my changes into Pitrou's patch. I also had a go at fixing up the `test_gdb` unit test, which revealed a few more string/unicode issues. Finally tracked them down to the `write_unicode` function. Sadly

[issue17772] test_gdb doesn't detect a gdb built with python3.3 (or higher)

2013-10-20 Thread David Coles
David Coles added the comment: Attached is a patch that enables the test for gdb linked against py3k. All test failures should be fixed by the patch on issue19308. -- keywords: +patch nosy: +dcoles Added file: http://bugs.python.org/file32272/test_gdb-py3k-compat.patch

[issue17772] test_gdb doesn't detect a gdb built with python3.3 (or higher)

2013-10-20 Thread David Coles
David Coles added the comment: Should probably also be applied to Python 2.7 branch since it's possible be debugging Python 2.7 with a version of py3k-linked gdb. -- versions: +Python 2.7 ___ Python tracker __

[issue19319] misleading comment regarding C

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 737b79e524aa by Ezio Melotti in branch '2.7': #19319: fix ctypes docs: sizeof is an operator in C, not a function. http://hg.python.org/cpython/rev/737b79e524aa New changeset d8e352e2f110 by Ezio Melotti in branch '3.3': #19319: fix ctypes docs: siz

[issue19319] misleading comment regarding C

2013-10-20 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement versions: +Python 2.7, Python 3.3, Python 3.4 _

[issue19274] make zipfile.PyZipFile more usable

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 34fb83421119 by Christian Tismer in branch 'default': add a filterfunc to zip file.PyZipFile.writepy, issue 19274 http://hg.python.org/cpython/rev/34fb83421119 -- nosy: +python-dev ___ Python tracker

[issue19274] make zipfile.PyZipFile more usable

2013-10-20 Thread Christian Tismer
Changes by Christian Tismer : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue19306] Warn unsuspecting readers that thread stacks are in reverse order

2013-10-20 Thread Guido van Rossum
Guido van Rossum added the comment: On Victor's authority, committed. I've also (separately) committed some doc changes. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue19316] devguide: compiler - wording

2013-10-20 Thread Berker Peksag
Berker Peksag added the comment: > - import.c > - Home of the magic number (named MAGIC) for bytecode versioning > > Probably out of date. I cannot find MAGIC being defined in this file. It's in importlib._bootstrap: http://hg.python.org/cpython/file/5dc65f8d29a2/Lib/importlib/_bootstrap.py#l37

[issue19318] break more than once

2013-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the usual ways to handle the double-break problem are: * check a flag variable in the outer loop * put the outer loop and inner loop in a function so that a return-statement can be used to exit both loops * enclose the outer-loop in a try/except, the

[issue19302] Add support for AIX pollset efficient event I/O polling

2013-10-20 Thread David Edelsohn
David Edelsohn added the comment: pollset is the AIX equivalent of Linux epoll (or kqueue). The API is almost identical to epoll except with different interface names and a few minor tweaks. I will try to work on it. I mainly opened this issue as a placeholder to discuss the implementation and

[issue19293] test_asyncio hanging for 1 hour

2013-10-20 Thread David Edelsohn
David Edelsohn added the comment: > I added many tests when I added this feature to Python: see test_signal.py. > By the way, it uses select.select() :-) Does test_signal pass successfully on > AIX? @haypo: test_signal skips some tests on AIX. See Issue #18238 . -- _

[issue19322] Python crashes on re.search in new regex module.

2013-10-20 Thread David
New submission from David: Python crashes while executing the following code using the new regex module. Have I made a mistake? import regex as re rx = re.compile(r'\bt(est){i<2}', flags=re.V1) print "Prints here" rx.findall("Some text") # Python crashes print "Fails to print" I get the same r

[issue19271] Update OrderedDict "see also" link

2013-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Ezio, we already have a sourcelink at the top of the collections module. Mark, I want to keep the ASPN link in the 2.7 docs. The goal wasn't to point to "an original recipe". The intent was to show how to backport to old versions of Python if needed. I w

[issue19271] Update OrderedDict "see also" link

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9e322a8f80d9 by Raymond Hettinger in branch 'default': Issue #19271: By Python3.4, the Python 2.4 backport links are no longer of much interest. http://hg.python.org/cpython/rev/9e322a8f80d9 -- nosy: +python-dev __

[issue19271] Update OrderedDict "see also" link

2013-10-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed versions: -Python 2.7, Python 3.3 ___ Python tracker ___ _

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2013-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: We should advertise in the docs that we have a policy of upgrading the Tcl/Tk versions as necessary to improve stability. -- nosy: +rhettinger ___ Python tracker __

[issue19259] Provide Python implementation of operator.compare_digest()

2013-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry Christian, but I think this just clutter's the operator module. I agree with Terry that it doesn't belong here. The hashlib module might be a better choice. That's where I would start looking for it if I needed a function like this. -- n

[issue19298] Use __attribute__(cleanup ...) to detect refleaks

2013-10-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- title: Use __atribute__(cleanup ...) to detect refleaks -> Use __attribute__(cleanup ...) to detect refleaks ___ Python tracker ___ ___

[issue19322] Python crashes on re.search in new regex module.

2013-10-20 Thread Ned Deily
Ned Deily added the comment: The regex module is a third-party project and is not part of the Python standard library. I suggest you open an issue on the issue tracker for the project and include more detailed information about the problem: https://code.google.com/p/mrab-regex-hg/ https://pyp

[issue19251] bitwise ops for bytes of equal length

2013-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Christian, we need multiple motivating use cases to warrant API expansion for fundamental types. I'm concerned about starting to move numpy vector-op functionality into the core of Python because it optimizes your one use crypto use case. -- nosy:

[issue19282] dbm.open should be a context manager

2013-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: This seems like a reasonable request. -- assignee: -> ncoghlan nosy: +ncoghlan, rhettinger ___ Python tracker ___ __

[issue19270] sched.cancel() breaks events order

2013-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: > 1. sched.cancel() can remove wrong event > (because it uses equality instead identity). I don't think this is a bug. The user should be able to define events that can be compared on equality. It is the user's responsibility to make sure that events are

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2f09a6980e1a by Ethan Furman in branch 'default': Issue #19030: final pieces for proper location of various class attributes located in the metaclass. http://hg.python.org/cpython/rev/2f09a6980e1a -- ___

[issue11698] Improve repr for structseq objects to show named, but unindexed fields

2013-10-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue19235] Add a dedicated subclass for recursion errors

2013-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue19217] Calling assertEquals for moderately long list takes too long

2013-10-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue19274] make zipfile.PyZipFile more usable

2013-10-20 Thread Georg Brandl
Georg Brandl added the comment: Hi Chris, your commit is a bit hard to review due to all the unrelated spacing changes. I assume this is done automatically by your editor? It's probably best to switch off that feature for CPython development :) -- ___

[issue19274] make zipfile.PyZipFile more usable

2013-10-20 Thread Georg Brandl
Georg Brandl added the comment: While reviewing: is it intended that the filter is only called for directories and not for individual files? -- ___ Python tracker ___ __

[issue19274] make zipfile.PyZipFile more usable

2013-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2d39b3555951 by Georg Brandl in branch 'default': #19274: use captured_stdout() in the test suite; add NEWS entry. http://hg.python.org/cpython/rev/2d39b3555951 -- ___ Python tracker

<    1   2