[issue19156] Enum helper functions test-coverage

2013-10-06 Thread Ethan Furman
Ethan Furman added the comment: Thanks for catching that, Cliff. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19156] Enum helper functions test-coverage

2013-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 516576f5f9dc by Ethan Furman in branch 'default': Close #19156: add tests and fix for Enum helper edge cases. Patch from CliffM. http://hg.python.org/cpython/rev/516576f5f9dc -- nosy: +python-dev resolution: -> fixed stage: patch review ->

[issue19158] BoundedSemaphore.release() subject to races

2013-10-06 Thread Tim Peters
Tim Peters added the comment: Attached patch, which closes the timing hole, and adds a new basic sanity test. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file31979/boundsem.patch ___ Python tracker

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-10-06 Thread STINNER Victor
STINNER Victor added the comment: ec121a72e848.patch: - ignore changes on Lib/test/support/__init__.py: it's my own fix for issue #18948 which will be fixed differently - ignore changes on Lib/test/regrtest.py: they should not be commited, it's just a convinient way to test tracemalloc (python

[issue19158] BoundedSemaphore.release() subject to races

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

[issue19097] bool(cgi.FieldStorage(...)) may be False unexpectedly

2013-10-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Guido, Agree with both your points. Attaching a patch that fixes this issue. 1. Raises TypeError exception when header is not a Mapping or email.message.Message type. 2. Asserts for fp.read and fp.readline() to assert that fp, the first argument to Field

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

2013-10-06 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19158] BoundedSemaphore.release() subject to races

2013-10-06 Thread Tim Peters
Tim Peters added the comment: New patch makes the test case do what I intended it to do ;-) -- Added file: http://bugs.python.org/file31981/boundsem2.patch ___ Python tracker ___

[issue16938] pydoc confused by __dir__

2013-10-06 Thread Ethan Furman
Ethan Furman added the comment: = class Boom: def __dir__(self): return ['BOOM'] def __getattr__(self, name): if name =='BOOM': return 42 return super().__getattr(name) help(Boom)

[issue19075] Add sorting algorithm visualization to turtledemo

2013-10-06 Thread Ethan Furman
Ethan Furman added the comment: What are the requirements (if any) to get something added to demos? If not many, I'll spiffy up the code a bit (mostly make it go more than one round without having to restart). -- ___ Python tracker

[issue19031] Make help() enum aware

2013-10-06 Thread Ethan Furman
Ethan Furman added the comment: What I'd really like to see is for help to be smart enough to pick up the docstrings from instances if an instance has one. -- ___ Python tracker ___

[issue18281] tarfile defines stat constants

2013-10-06 Thread Ethan Furman
Ethan Furman added the comment: Christian, do you mind if I get this patchd committed? -- ___ Python tracker ___ ___ Python-bugs-list

[issue19070] In place operators of weakref.proxy() not returning self.

2013-10-06 Thread shishkander
shishkander added the comment: This bug happens not just with operators, but with any call self.call_something()! For example, running this: from __future__ import print_function import weakref class Test(object): def method(self): return type(self) def tes

[issue19185] Allow multiprocessing Pool initializer to return values

2013-10-06 Thread Matteo Cafasso
Matteo Cafasso added the comment: I agree with your point, I've probably made my considerations too quickly. The consideration was based on the fact that returning any value previously was a misuse (without consequences) of the initializer itself. Now the misuse would be exposed by the new imp

<    1   2