[issue22401] argparse: 'resolve' conflict handler damages the actions of the parent parser

2014-09-19 Thread paul j3
Changes by paul j3 ajipa...@gmail.com: Added file: http://bugs.python.org/file36656/sample3.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22401 ___ ___

[issue22401] argparse: 'resolve' conflict handler damages the actions of the parent parser

2014-09-19 Thread paul j3
Changes by paul j3 ajipa...@gmail.com: Removed file: http://bugs.python.org/file36648/sample3.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22401 ___

[issue22366] urllib.request.urlopen shoudl take a context (SSLContext) argument

2014-09-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset c0b0dda16009 by Senthil Kumaran in branch 'default': Issue #22366: urllib.request.urlopen will accept a context object (SSLContext) https://hg.python.org/cpython/rev/c0b0dda16009 -- nosy: +python-dev ___

[issue22366] urllib.request.urlopen shoudl take a context (SSLContext) argument

2014-09-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Committed this in 3.5. (Since this is adding an new argument, it should not be backported to 3.4). Thank you! -- resolution: - fixed stage: - resolved status: open - closed versions: -Python 3.4 ___ Python

[issue22440] Setting SSLContext object's check_hostname manually might accidentally skip hostname verification

2014-09-19 Thread Senthil Kumaran
New submission from Senthil Kumaran: While working on issue22366, I found a tricky bit of code in: https://hg.python.org/cpython/file/ca0aa0d89273/Lib/http/client.py#l1295 https://hg.python.org/cpython/rev/1a945fb875bf/ The statement is if not self._context.check_hostname and

[issue22434] Use named constants internally in the re module

2014-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch using enums. I still think enums are superfluous here. Advanced the Enum class features (pickling, access by name, type checking) are not needed - these constants don't leaked in outer word. I don't see where there would be a circular

[issue22364] Unify error messages of re and regex

2014-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The regex module is potential candidate for replacement of the re module. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22364 ___

[issue22427] TemporaryDirectory attempts to clean up twice

2014-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed a bug in the test and partially addressed Victor's and Yury's comments. Antoine, could your pleas answer following question? Is it safe to remove the self._finalizer is not None check in cleanup()? I.e. is it possible that self._finalizer becomes None

[issue22278] urljoin duplicate slashes

2014-09-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Except for the minor comments made by Antoine in the review, the patch looks good to go. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22278 ___

[issue22410] Locale dependent regexps on different locales

2014-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Moved the import to the top level as Antoine suggested. -- Added file: http://bugs.python.org/file36659/re_locale_caching3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22410

[issue22410] Locale dependent regexps on different locales

2014-09-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file36653/re_locale_caching2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22410 ___

[issue22427] TemporaryDirectory attempts to clean up twice

2014-09-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: self._finalizer can be None if an exception was raised during __init__(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22427 ___

[issue22427] TemporaryDirectory attempts to clean up twice

2014-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But in this case cleanup() can't be called. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22427 ___ ___

[issue22441] Not all attributes of the console for a subprocess with creationflags=0 are inherited

2014-09-19 Thread Sworddragon
New submission from Sworddragon: The application apt-get on Linux does scale its output dependent of the size of the terminal but I have noticed that there are differences if I'm calling apt-get directly or with a subprocess without shell and creationflags set (so that creationflags should be

[issue22366] urllib.request.urlopen shoudl take a context (SSLContext) argument

2014-09-19 Thread Larry Hastings
Larry Hastings added the comment: Alex said he needed this in order to implement PEP 476, and I thought PEP 476 was going in to 3.4 (hopefully for 3.4.2, which I'm tagging in like 24 hours). -- nosy: +larry ___ Python tracker rep...@bugs.python.org

[issue22366] urllib.request.urlopen shoudl take a context (SSLContext) argument

2014-09-19 Thread Nick Coghlan
Nick Coghlan added the comment: Larry, it's probably easiest to cover the backport under issue 22417 with the rest of the proposed PEP 476 changes. -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22366

[issue22417] PEP 476: verify HTTPS certificates by default

2014-09-19 Thread Nick Coghlan
Nick Coghlan added the comment: Currently marking as a deferred blocker, as Alex wasn't sure he'd be able to get PEP 476 fully updated in time for 3.4.2rc1, and was willing to accept waiting for 2.7.9 and 3.4.3 rather than delaying 3.4.2 any further. However, that was before Senthil accepted

[issue22440] Setting SSLContext object's check_hostname manually might accidentally skip hostname verification

2014-09-19 Thread Alex Gaynor
Alex Gaynor added the comment: If check_hostname is set on the context then do_handshake() will already perform the hostname check: https://hg.python.org/cpython/file/default/Lib/ssl.py#l787 -- ___ Python tracker rep...@bugs.python.org

[issue22442] subprocess.check_call hangs on large PIPEd data.

2014-09-19 Thread juj
New submission from juj: On Windows, write a.py: import subprocess def ccall(cmdline, stdout, stderr): proc = subprocess.Popen(['python', 'b.py'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) proc.communicate() if proc.returncode != 0: raise

[issue22442] subprocess.check_call hangs on large PIPEd data.

2014-09-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- components: +Windows nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22442 ___

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread Sworddragon
New submission from Sworddragon: On reading the output of an application (for example apt-get download firefox) that dynamically changes a line (possibly with the terminal control character \r) I have noticed that read(1) does not read the output until it has finished with a newline. This

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread STINNER Victor
STINNER Victor added the comment: On reading the output of an application (for example apt-get download firefox) that dynamically changes a line (possibly with the terminal control character \r) I have noticed that read(1) does not read the output until it has finished with a newline.

[issue22442] subprocess.check_call hangs on large PIPEd data.

2014-09-19 Thread juj
juj added the comment: The same observation applies to subprocess.call() as well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22442 ___ ___

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread Sworddragon
Changes by Sworddragon sworddrag...@aol.com: Removed file: http://bugs.python.org/file36661/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22443 ___

[issue22427] TemporaryDirectory attempts to clean up twice

2014-09-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah... you are right. It seems the None test has been superfluous all the time. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22427 ___

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread Sworddragon
Sworddragon added the comment: Edit: Updated testcase as I forgot to flush the output (in case somebody hints to it). -- Added file: http://bugs.python.org/file36662/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22443

[issue22366] urllib.request.urlopen shoudl take a context (SSLContext) argument

2014-09-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: My worry is not about the timing. I can add it immediately, but are we convinced on having a new argument (API Change) for 3.4.2 ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22366

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread Sworddragon
Sworddragon added the comment: The buffering of stdout and/or stderr of your application probably changes if the application runs in a terminal (TTY) or if the output is redirected to a pipe (not a TTY). Set the setvbuf() function. This means in the worst case there is currently no official

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread STINNER Victor
STINNER Victor added the comment: This means in the worst case there is currently no official way to get this output before it writes a newline? The behaviour of stdout/stderr is defined in the C library, see setvbuf() manual for more information. I don't know a generic way to change the

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread Sworddragon
Sworddragon added the comment: You don't need to compile Python. Just compile nobuffer.c to libnobuffer.so. See the documentation in nobuffer.c. Strictly following the documentation does not work: sworddragon@ubuntu:~/tmp$ gcc -shared -o nobuffer.so interceptor.c gcc: error: interceptor.c:

[issue22439] subprocess.PIPE.stdin.flush() causes to hang while subprocess.PIPE.stdin.close() not

2014-09-19 Thread Sworddragon
Sworddragon added the comment: Why must stdin of the subprocess be closed so that a read() on stdout can return? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22439 ___

[issue22366] urllib.request.urlopen shoudl take a context (SSLContext) argument

2014-09-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c3249b358d0 by Alex Gaynor in branch 'default': PEP476: Updated based on proposed API from Nick. Also note that #22366 has been landed. https://hg.python.org/peps/rev/9c3249b358d0 -- ___ Python tracker

[issue22444] Floor divide should return int

2014-09-19 Thread Alexander Belopolsky
New submission from Alexander Belopolsky: PEP 3141 defines floor division as floor(x/y) and specifies that floor() should return int type. Builtin float type has been made part of the PEP 3141 numerical tower, but floor division of two floats still results in a float. See also: * #1656 -

[issue7434] general pprint rewrite

2014-09-19 Thread Edward O
Changes by Edward O edoubray...@gmail.com: -- nosy: +eddygeek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7434 ___ ___ Python-bugs-list mailing

[issue22439] subprocess.PIPE.stdin.flush() causes to hang while subprocess.PIPE.stdin.close() not

2014-09-19 Thread R. David Murray
R. David Murray added the comment: Because stdout isn't closed until the process completes, which happens when stdin is closed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22439 ___

[issue22439] subprocess.PIPE.stdin.flush() causes to hang while subprocess.PIPE.stdin.close() not

2014-09-19 Thread Sworddragon
Sworddragon added the comment: But this happens also on read(1). I'm even getting no partly output. 1. I'm calling diff in a way where it expects input to compare. 2. I'm writing and flushing to diff's stdin. 3. diff seems to not get this content until I close its stdin. --

[issue22439] subprocess.PIPE.stdin.flush() causes to hang while subprocess.PIPE.stdin.close() not

2014-09-19 Thread R. David Murray
R. David Murray added the comment: Try it at the command line. Diff doesn't produce any output in your example until stdin is closed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22439

[issue22444] Floor divide should return int

2014-09-19 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22444 ___ ___ Python-bugs-list

[issue22422] IDLE closes all when in dropdown menu

2014-09-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I cannot reproduce with Idle 3.4.1 on Win 7. Attempt 1: open Idle from icon (opens shell), edit file, make trivial change, return to shell, and type 'sys.'. When box appears, close shell, editor left untouched. Attempt 2: edit another file, type 'sys.',

[issue22433] Argparse considers unknown optional arguments with spaces as a known positional argument

2014-09-19 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +bethard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22433 ___ ___ Python-bugs-list mailing

[issue22439] subprocess.PIPE.stdin.flush() causes to hang while subprocess.PIPE.stdin.close() not

2014-09-19 Thread Sworddragon
Sworddragon added the comment: Ah, now I see it. Thanks for your hint. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22439 ___ ___

[issue22434] Use named constants internally in the re module

2014-09-19 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22434 ___ ___ Python-bugs-list

[issue22445] Memoryviews require more strict contiguous checks then necessary

2014-09-19 Thread Sebastian Berg
New submission from Sebastian Berg: In NumPy we decided some time ago that if you have a multi dimensional buffer, shaped for example 1x10, then this buffer should be considered both C- and F-contiguous. Currently, some buffers which can be used validly in a contiguous fashion are rejected.

[issue22445] Memoryviews require more strict contiguous checks then necessary

2014-09-19 Thread Stefan Krah
Stefan Krah added the comment: There is another oddity: #12845. Does NumPy have a formal definition of array contiguity somewhere? -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22445

[issue22445] Memoryviews require more strict contiguous checks then necessary

2014-09-19 Thread Stefan Krah
Stefan Krah added the comment: BTW, if you have NumPy installed and run test_buffer in Python3.3+, numpy.ndarray has many tests against memoryview and _testbuffer.ndarray (the latter is our exegesis of PEP-3118). -- ___ Python tracker

[issue22445] Memoryviews require more strict contiguous checks then necessary

2014-09-19 Thread Sebastian Berg
Sebastian Berg added the comment: #12845 should be closed, seems like a bug in some old version. The definition now is simply that the array is contiguous if you can legally access it in a contiguous fashion. Which means first stride is itemsize, second is itemsize*shape[0] for Fortran,

[issue22446] Shortening code in abc.py

2014-09-19 Thread Ram Rachum
New submission from Ram Rachum: Can't this code: class Sequence(Sized, Iterable, Container): # ... def __contains__(self, value): for v in self: if v == value: return True return False Be shortened into this:

[issue22445] Memoryviews require more strict contiguous checks then necessary

2014-09-19 Thread Sebastian Berg
Sebastian Berg added the comment: To be clear, the important part here, is that to me all elements *can* be accessed using that scheme. It is not correct to assume that `stride[-1]` or `stride[0]` is actually equal to `itemsize`. In other words, you have to be able to pass the pointer to the

[issue22364] Unify error messages of re and regex

2014-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: The key word is potential. I do not believe that any changes should be made to the re module until such time as there is a fully approved PEP for the regex module and that work has actually started on getting it into the stdlib. Surely backward compatibility

[issue22446] Shortening code in abc.py

2014-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is slower. import timeit class A(list): ... def __contains__(self, value): ... for v in self: ... if v == value: ... return True ... return False ... timeit.timeit('500 in x',

[issue22446] Shortening code in abc.py

2014-09-19 Thread Ram Rachum
Ram Rachum added the comment: Oh. I wonder why `any` is slow like that, you'd figure it's be optimized. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22446 ___

[issue22447] logging.config.fileConfig attempts to write to file even when none configured

2014-09-19 Thread Ed Sesek
New submission from Ed Sesek: See the attached config file. logging.config.fileConfig() is attempting to write to the file specified in the file_handler section even though that handler is not configured for use in this config. If its going to write to the file, it should only do so if the

[issue12845] PEP-3118: C-contiguity with zero strides

2014-09-19 Thread Stefan Krah
Stefan Krah added the comment: This was a bug in NumPy that has been fixed. -- resolution: - not a bug stage: - resolved status: open - closed versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue22446] Shortening code in abc.py

2014-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Because in first case there is one iterator, iter(self), and in second case there are two iterators: iter(self) and iter((v == value for v in self)). -- ___ Python tracker rep...@bugs.python.org

[issue22446] Shortening code in abc.py

2014-09-19 Thread Ram Rachum
Ram Rachum added the comment: Thanks for the clarification. Oh well, sad to see the more verbose code win, but I guess that's life. I tried on PyPy but the difference was even more pronounced, 0.008922450399566156 for the long version and 0.042124665810088044 for the short version.

[issue22435] socketserver.TCPSocket leaks socket to garbage collector if server_bind() fails

2014-09-19 Thread Charles-François Natali
Charles-François Natali added the comment: Patch attached. The test wouldn't result in FD exhaustion on CPython because of the reference counting, but should still trigger RessourceWarning. -- keywords: +patch nosy: +haypo, pitrou stage: - patch review Added file:

[issue22446] Shortening code in abc.py

2014-09-19 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22446 ___

[issue22438] eventlet broke by python 2.7.x

2014-09-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: Definitely a case of eventlet playing with fire (private apis). -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438

[issue22445] Memoryviews require more strict contiguous checks then necessary

2014-09-19 Thread Stefan Krah
Stefan Krah added the comment: Thanks, #12845 is indeed fixed in NumPy. Why does NumPy consider an array with a stride that will almost certainly lead to undefined behavior (unless you compile with -fwrapv) as valid? In CPython we try to eliminate these kinds of issues (though they may still

[issue22445] Memoryviews require more strict contiguous checks then necessary

2014-09-19 Thread Sebastian Berg
Sebastian Berg added the comment: Well, the 9223372036854775807 is certainly no good for production code and we would never have it in a release version, it is just there currently to expose if there are more problems. However I don't care what happens on overflow (as long as it is not an

[issue22447] logging.config.fileConfig attempts to write to file even when none configured

2014-09-19 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22447 ___ ___

[issue22364] Improve some re error messages using regex for hints

2014-09-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steven and Mark are correct that a tracker patch cannot change a 3rd party module. On the other hand, we are free to improve error messages in new versions. And we are free to borrow ideas from 3rd part modules. I changed the title accordingly. (Back

[issue22445] Memoryviews require more strict contiguous checks then necessary

2014-09-19 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22445 ___ ___

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread STINNER Victor
STINNER Victor added the comment: Ah yes, try gcc -shared nobuffer.c -o libnobuffer.so -fPIC. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22443 ___

[issue22385] Define a binary output formatting mini-language for *.hex()

2014-09-19 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22385 ___ ___

[issue22364] Unify error messages of re and regex

2014-09-19 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Fri, Sep 19, 2014 at 08:41:57PM +, Mark Lawrence wrote: I do not believe that any changes should be made to the re module until such time as there is a fully approved PEP [] Why is this so controversial? We're not talking about functional changes

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread Sworddragon
Sworddragon added the comment: I was able to compile the library but after executing LD_PRELOAD=./libnobuffer.so ./test.py I'm seeing no difference. The unflushed output is still not being read with read(1). -- ___ Python tracker

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread eryksun
eryksun added the comment: stdbuf is the typical way to apply the LD_PRELOAD trick: https://www.gnu.org/software/coreutils/manual/html_node/stdbuf-invocation.html There's also the unbuffer expect script: http://expect.sourceforge.net/example/unbuffer.man.html -- nosy: +eryksun

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread Sworddragon
Sworddragon added the comment: stdbuf -o 0 ./test.py and unbuffer ./test.py doesn't change the result too. Or is something wrong with my testcase? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22443

[issue22448] call_at/call_later with Timer cancellation can result in (practically) unbounded memory usage.

2014-09-19 Thread Joshua Moore-Oliva
New submission from Joshua Moore-Oliva: The core issue stems from the implementation of Timer cancellation. (which features like asyncio.wait_for build upon). BaseEventLoop stores scheduled events in an array backed heapq named _scheduled. Once an event has been scheduled with call_at,

[issue22441] Not all attributes of the console for a subprocess with creationflags=0 are inherited

2014-09-19 Thread Sworddragon
Changes by Sworddragon sworddrag...@aol.com: Removed file: http://bugs.python.org/file36660/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22441 ___

[issue22441] Not all attributes of the console for a subprocess with creationflags=0 are inherited

2014-09-19 Thread Sworddragon
Changes by Sworddragon sworddrag...@aol.com: Added file: http://bugs.python.org/file36667/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22441 ___

[issue22441] Not all attributes of the console for a subprocess with creationflags=0 are inherited

2014-09-19 Thread Sworddragon
Sworddragon added the comment: Edit: Updated testcase as it contained an unneeded argument from an older testcase (in case it confuses somebody). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22441

[issue22442] subprocess.check_call hangs on large PIPEd data.

2014-09-19 Thread Akira Li
Akira Li added the comment: This is a documented failure on the python subprocess page, but why not just fix it up directly in python itself? If you want to discard the output; you could use: check_call(args, stdin=DEVNULL, stdout=DEVNULL, stderr=STDOUT) check_call() passes its parameters

[issue22448] call_at/call_later with Timer cancellation can result in (practically) unbounded memory usage.

2014-09-19 Thread Guido van Rossum
Guido van Rossum added the comment: Hi Joshua, This is indeed a problem -- I just never expected that you would be having that many events and and canceling the majority. I am sorry you had to debug this. :-( This was anticipated by the author of pyftpdlib (Giampaolo Roloda'), who proposed

[issue22420] Use print(file=sys.stderr) instead of sys.stderr.write() in IDLE

2014-09-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 90a2a12fa34d by Terry Jan Reedy in branch '2.7': Issue #22420: Avoid 'write to None' crashes by using print instead. https://hg.python.org/cpython/rev/90a2a12fa34d New changeset 42b03d5b1cbb by Terry Jan Reedy in branch '3.4': Issue #22420: Avoid

[issue22420] Use print(file=sys.stderr) instead of sys.stderr.write() in IDLE

2014-09-19 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22420 ___

[issue22377] %Z in strptime doesn't match EST and others

2014-09-19 Thread Akira Li
Akira Li added the comment: I don't think we are going to support a timezone list like that without PEP 431. PEP 431 won't fix this issue. See below. You should attach your patch to a new issue. When I said this should the doc issue, that is because only a doc fix is acceptable for 3.4.

[issue22443] read(1) blocks on unflushed output

2014-09-19 Thread Akira Li
Akira Li added the comment: Related: http://stackoverflow.com/questions/25923901/last-unbuffered-line-cant-be-read Make sure you follow the links in the comments. -- nosy: +akira ___ Python tracker rep...@bugs.python.org

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2014-09-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 569a889e3b6c by Ned Deily in branch '3.4': Issue #15661: Update OS X installer welcome and readme files for 3.4.2. https://hg.python.org/cpython/rev/569a889e3b6c -- nosy: +python-dev ___ Python tracker

[issue22444] Floor divide should return int

2014-09-19 Thread Case Van Horsen
Changes by Case Van Horsen cas...@gmail.com: -- nosy: +casevh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22444 ___ ___ Python-bugs-list mailing

[issue12916] Add inspect.splitdoc

2014-09-19 Thread Berker Peksag
Berker Peksag added the comment: I left a couple of comments on Rietveld. -- stage: commit review - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12916 ___

[issue22406] uu-codec trailing garbage workaround is Python 2 code

2014-09-19 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22406 ___ ___

[issue22247] More incomplete module.__all__ lists

2014-09-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset eb9eac80c17a by Berker Peksag in branch '3.4': Issue #22247: Add NNTPError to nntplib.__all__. https://hg.python.org/cpython/rev/eb9eac80c17a New changeset e21b0bbc06ea by Berker Peksag in branch 'default': Issue #22247: Add NNTPError to