[issue23235] run_tests.py doesn't set test.support.verbose correctly

2015-01-13 Thread Berker Peksag
Changes by Berker Peksag : Removed file: http://bugs.python.org/file37698/issue23235.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23173] asyncio: kill the subprocess if the creation failed

2015-01-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1eae3b6fbec6 by Victor Stinner in branch '3.4': Python issue #23173: sync with Tulip https://hg.python.org/cpython/rev/1eae3b6fbec6 -- nosy: +python-dev ___ Python tracker

[issue23173] asyncio: kill the subprocess if the creation failed

2015-01-13 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23197] asyncio: check if a future is cancelled before calling set_result/set_exception

2015-01-13 Thread STINNER Victor
STINNER Victor added the comment: > Oh, I forgot that the change in subprocess.py (check if waiter is cancelled > before setting its result) is already part of the issue #23197 which comes > with an unit test. Wrong, it's the issue #23173. -- ___ P

[issue23197] asyncio: check if a future is cancelled before calling set_result/set_exception

2015-01-13 Thread STINNER Victor
STINNER Victor added the comment: The sslproto.py which just has been merged has a similar issue: if isinstance(exc, Exception): if self._waiter is not None: self._waiter.set_exception(exc) in _on_handshake_complete(). -- ___

[issue23187] Segmentation fault, possibly asyncio related

2015-01-13 Thread STINNER Victor
STINNER Victor added the comment: @Ivailo: Any progress on your investigation? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14014] codecs.StreamWriter.reset contract not fulfilled

2015-01-13 Thread Martin Panter
Martin Panter added the comment: I don’t think this is appropriate. If you want to flush the underlying stream, then call its flush() method after calling reset(). The docstring only says it flushes the _codec’s_ buffers, not any buffers of the underlying stream, and it should not be the codec

[issue23187] Segmentation fault, possibly asyncio related

2015-01-13 Thread Ivailo Karamanolev
Ivailo Karamanolev added the comment: @Victor It has been running for 5 days now on 3.4.2 using json instead of ujson. I want to give at least 10 days to crash and if it's still up, I plan to switch to simplejson to see how that will go, since json is quite slow. I'll keep playing with using d

[issue23223] subprocess32 unable to be installed via pip

2015-01-13 Thread STINNER Victor
STINNER Victor added the comment: subprocess32 is not part of Python, it's a third party mode. Report the issue to his author. -- nosy: +haypo resolution: -> not a bug status: open -> closed ___ Python tracker __

[issue22038] Implement atomic operations on non-x86 platforms

2015-01-13 Thread koobs
koobs added the comment: FreeBSD buildbots broken since fbe87fb071a67cb5e638b3496362b5aedc0fc9a7 -- nosy: +koobs ___ Python tracker ___ __

[issue20739] PEP 463 (except expression) implementation

2015-01-13 Thread Berker Peksag
Berker Peksag added the comment: Guido's comment about the PEP is at https://mail.python.org/pipermail/python-dev/2014-March/133118.html Can we close this and mark PEP 463 as rejected now? -- nosy: +berker.peksag ___ Python tracker

[issue22038] Implement atomic operations on non-x86 platforms

2015-01-13 Thread koobs
koobs added the comment: Oops, incomplete comment, apologies. Just noticed haypo has reported the issue here already -- ___ Python tracker ___ __

[issue22038] Implement atomic operations on non-x86 platforms

2015-01-13 Thread Jeffrey Yasskin
Changes by Jeffrey Yasskin : -- nosy: -jyasskin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue17911] traceback: add a new thin class storing a traceback without storing local variables

2015-01-13 Thread Robert Collins
Robert Collins added the comment: Ok, here's a draft patch for linecache. Next up, poking around the new TB API. -- Added file: http://bugs.python.org/file37700/linecache_1.patch ___ Python tracker

[issue14014] codecs.StreamWriter.reset contract not fulfilled

2015-01-13 Thread Jim Jewett
Jim Jewett added the comment: That sounds like a bug magnet to me; my mental model is that the codec is my output; flushing it will push things out, and resetting it will erase anything pending. I don't care if some implementation detail means that some other object technically owns the buffer.

[issue23234] refactor subprocess: use new OSError exceptions, factorize stdin.write() code

2015-01-13 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22932] email.utils.formatdate uses unreliable time.timezone constant

2015-01-13 Thread R. David Murray
R. David Murray added the comment: Upgrading the timezone data results in passed tests. Without the fix, only one of the tests fails. Is this intentional? This, however, brings up the issue that the tests may fail on the buildbots, which may also not have up to date timezone data :( ---

[issue23237] Interrupts are lost during readline PyOS_InputHook processing (reopening)

2015-01-13 Thread Michiel de Hoon
New submission from Michiel de Hoon: This bug was previously reported in http://bugs.python.org/issue3180 but was closed after seven years for being out of date. Still, the bug remains: Interrupts are lost during readline PyOS_InputHook processing. To reproduce the bug, try >>> from Tkinter im

[issue3180] Interrupts are lost during readline PyOS_InputHook processing

2015-01-13 Thread Michiel de Hoon
Michiel de Hoon added the comment: I have opened a new issue 23237 for this bug; please see http://bugs.python.org/issue23237 -- ___ Python tracker ___ ___

[issue14014] codecs.StreamWriter.reset contract not fulfilled

2015-01-13 Thread Martin Panter
Martin Panter added the comment: Maybe it would be better to redefine the docstring to say it flushes the codec as well as calling flush() on the underlying stream. But if you really want to finish the job you should probably be closing the underlying stream, which would flush if necessary. Se

[issue23237] Interrupts are lost during readline PyOS_InputHook processing (reopening)

2015-01-13 Thread R. David Murray
R. David Murray added the comment: Updating versions to reflect where it might get fixed (which is what we use the versions field for). -- nosy: +r.david.murray versions: -Python 3.2, Python 3.3, Python 3.6 ___ Python tracker

[issue22932] email.utils.formatdate uses unreliable time.timezone constant

2015-01-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Maybe Dmitry can come up with the "skipif" logic that will test for up-to date tzinfo and skip the test if it is not. Otherwise we can try to come up with a test case which is sufficiently far in the past. -- ___

[issue23223] subprocess32 unable to be installed via pip

2015-01-13 Thread Berker Peksag
Berker Peksag added the comment: Quoting from https://code.google.com/p/python-subprocess32/: "Think you've found an issue? Please try to reproduce it using Python 3.4 and file it using http://bugs.python.org/. Work will be done upstream and backported to this project." -- nosy: +berk

[issue23223] subprocess32 unable to be installed via pip

2015-01-13 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file37701/issue23223.diff ___ Python tracker ___

[issue23234] refactor subprocess: use new OSError exceptions, factorize stdin.write() code

2015-01-13 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Library (Lib) -Extension Modules nosy: +gregory.p.smith stage: -> patch review ___ Python tracker ___

[issue23223] subprocess32 unable to be installed via pip

2015-01-13 Thread Zachary Ware
Zachary Ware added the comment: _posixsubprocess should not be compiled on Windows, as it will not work and has the potential to completely screw up subprocess on Windows. This appears to be a bug in subprocess32's setup.py, and thus does not apply to Python itself at all. I agree with Victor t

[issue23223] subprocess32 unable to be installed via pip

2015-01-13 Thread Berker Peksag
Berker Peksag added the comment: Oh, good point! I missed that, thanks. -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue23226] Add float linspace recipe to docs

2015-01-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is too much. Try for a brief reference. This section of the docs is primarily about how range() works. Linspace() is at best a tangential discussion and shouldn't interfere with the usability of range() docs (a tool we actually have and that is in c

[issue23189] Set docstrings to empty string when optimizing with -OO.

2015-01-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Here are some of the packages that run into trouble > when the docstrings are set to 'None' by the -OO optimization I think you should file bug reports for those packages. We've agreed here that the current behavior is correct and that the proposed change

[issue13881] Stream encoder for zlib_codec doesn't use the incremental encoder

2015-01-13 Thread Martin Panter
Martin Panter added the comment: Here is a patch to implement the zlib-codec and bz2-codec StreamWriter classes based on their IncrementalEncoder classes. It depends on my patch for Issue 23231, though I guess it could be tweaked to work around that if desired. -- keywords: +patch vers

[issue23226] Add float linspace recipe to docs

2015-01-13 Thread Andrew Barnert
Andrew Barnert added the comment: So something like the first version below? Or should even the example be inline, as in the second version below? (Apologies if the formatting gets screwed up pasting from docs to bugs.) --- Range objects are inappropriate for non-integral types, especially in

[issue20140] UnicodeDecodeError in ntpath.py when home dir contains non-ascii signs

2015-01-13 Thread Lin Wei
Lin Wei added the comment: The patch (http://bugs.python.org/issue9291#msg206938) for #9291 actually helps with this issue, at least for me. By the way, @Serhiy do you mean that the problem is merely documentation, while the implementation is alright? -- nosy: +Lin.Wei __

[issue23181] Unicode "code point" should be two words in documentation

2015-01-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset c917ba25c007 by Georg Brandl in branch 'default': Closes #23181: codepoint -> code point https://hg.python.org/cpython/rev/c917ba25c007 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed __

[issue20284] patch to implement PEP 461 (%-interpolation for bytes)

2015-01-13 Thread Ethan Furman
Ethan Furman added the comment: Removed the new ABI functions, all new functions are static. Duplicated bytes code in bytearray. in-place interpolation returns new bytearray at this point. I'll work on getting in-place working, but otherwise I'll commit this in a week so we have something in

[issue23181] Unicode "code point" should be two words in documentation

2015-01-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset e280a04625cc by Georg Brandl in branch '2.7': Closes #23181: codepoint -> code point https://hg.python.org/cpython/rev/e280a04625cc -- ___ Python tracker _

<    1   2