[issue19655] Replace the ASDL parser carried with CPython

2014-04-04 Thread Nick Coghlan
Nick Coghlan added the comment: IIRC, that discussion was just about Python 2 vs Python 3. Can we get the AST rebuild requirement dropped back to "python3" being 3.3+ for the time being so we don't break Fedora? -- ___ Python tracker

[issue21101] Extend the PyDict C API to handle cases where the hash value is known

2014-04-04 Thread R. David Murray
R. David Murray added the comment: Antoine, being polite never hurts. Terry is a valuable member of the community and sure, he sometimes makes mistakes (or trusts the docs too much?). So do the the rest of us. -- nosy: +r.david.murray ___ Python t

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: fast_translate.patch: here is the real patch which optimize translating ASCII to ASCII. It's *much* faster: ---+-+--- Tests  | writerA |  fastA ---+-

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: translate_script_ascii.py: the benchmark script used to test fast_translate.patch. -- Added file: http://bugs.python.org/file34732/translate_script_ascii.py ___ Python tracker ___

[issue21101] Extend the PyDict C API to handle cases where the hash value is known

2014-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond identified a need and a possible solution. The important part of my post was suggesting another possible solution. Please focus on that. -- ___ Python tracker

[issue21153] bdist_rpm fails if project contains files with spaces in the names

2014-04-04 Thread Jason R. Coombs
Jason R. Coombs added the comment: Yes. Exactly. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Python

[issue21133] unittest discover should allow option to run each package separately

2014-04-04 Thread Michael Foord
Michael Foord added the comment: This is only an issue if a test package pollutes its environment without cleaning up (puts mocks in place that it doesn't remove for example). Fixing this would require discover to use multiple processes to run tests, which isn't going to happen (at least not s

[issue21149] logging._removeHandlerRef is not threadsafe during interpreter shutdown

2014-04-04 Thread Vinay Sajip
Vinay Sajip added the comment: The release notes say about PEP 442 that "As part of this change, module globals are no longer forcibly set to None during interpreter shutdown in most cases". I haven't looked at the PEP in detail, so I'm not sure specifically what "most cases" means - so I play

[issue1191964] asynchronous Subprocess

2014-04-04 Thread Josiah Carlson
Josiah Carlson added the comment: All of the standard tests plus another few that I added all pass on Windows and Linux. I've got some cleanup and a couple more tests to add tomorrow, then I'll post a patch. I ended up not using any overlapped IO cancellation in the Windows variant of communi

<    1   2