[issue27242] Make the docs for NotImplemented & NotImplementedError unambigous

2016-06-07 Thread Martin Panter
Martin Panter added the comment: Emanuel, have you seen ? From my experience, install Sphinx, and then “make -C Doc/ html”. About the patch, I think the “.. note” boxes should be intended under the NotImplementedErr

[issue17394] Add slicing support to collections.deque

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Raymond, do you have a time to make a review? -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue17900] Recursive OrderedDict pickling

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is too late to revert this change. Is it worth to add a workaround for PyYAML if it still hasn't fixed serialization of OrderedDicts? -- ___ Python tracker __

[issue27238] Bare except: usages in turtle.py

2016-06-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks for the review and comments. This patch addresses your comments and changes the __file__-related one to catch Exception. -- Added file: http://bugs.python.org/file43299/issue27238-cr.patch ___ Python tracker

[issue13451] sched.py: speedup cancel() method

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue27260] Missing equality check for super objects

2016-06-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: This came up as part of a static analysis script that compares sets of method calls, including calls to methods on super(). The check was giving incorrect results because identical super() objects were comparing as different. super() is documented (https://doc

[issue18844] allow weights in random.choice

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Raymond, do you have a time for this issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25628] Make namedtuple "verbose" and "rename" parameters into keyword only arguments

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue27260] Missing equality check for super objects

2016-06-07 Thread Jelle Zijlstra
Changes by Jelle Zijlstra : -- priority: normal -> low type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25455] Some repr implementations don't check for self-referential structures

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24567] random.choice IndexError due to double-rounding

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue17797] Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program

2016-06-07 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue27264] python 3.4 vs. 3.5 strftime same locale different output on Windows

2016-06-07 Thread David Perra
New submission from David Perra: The execution of these commands in python 3.4.x (Windows 10 Home) import locale from datetime import datetime locale.setlocale(locale.LC_ALL, 'Spanish') datetime.strftime(datetime.now(), '%a %d %b %Y') renders the output 'Spanish_Spain.1252'

[issue27127] Never have GET_ITER not followed by FOR_ITER

2016-06-07 Thread Demur Rumed
Demur Rumed added the comment: I should've kept gitfit & forbegin more separated as issues. Attached is gitfit2, which only folds the GET_ITER into the comprehension if it isn't a generator so to pass test_genexps -- Added file: http://bugs.python.org/file43300/gitfit2.patch _

[issue15476] Index "code object" and link to code object definition

2016-06-07 Thread Martin Panter
Martin Panter added the comment: Yes it seems you even fixed the problem with the definition list, which I thought was not fixable :) -- stage: needs patch -> commit review ___ Python tracker _

[issue27127] Never have GET_ITER not followed by FOR_ITER

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As Dino noted in msg266453, this leaves the iterable on the stack while the loop is running. I think opcode reworking shouldn't change behavior. You should call GET_ITER or FOR_BEGIN before calling generator code. --

[issue24136] document PEP 448: unpacking generalization

2016-06-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Here's what I found reviewing what needs to be done here: - Neil's What's New patch apparently made it into the 3.5 release notes. - moigagoo's two patches haven't been committed. The text of both looks ok to me, but the patches don't apply cleanly. Other area

[issue20699] Document that binary IO classes work with bytes-likes objects

2016-06-07 Thread Martin Panter
Martin Panter added the comment: New patch that I plan to commit: * Use bytes instead of str * bytes, bytearray or memoryview for readinto() methods * bytes or memoryview for write() methods * Added single “Changed in version 2.7” notice under the IOBase class (rather than every version of read

[issue24136] document PEP 448: unpacking generalization

2016-06-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: This updates reference_calls_syntax_update.diff. The previous patch's grammard had a mistake; it was missing commas between arguments. I believe all other patches in this diff are now obsolete. -- Added file: http://bugs.python.org/file43302/issue24136

[issue27263] IDLE sets the HOME environment variable breaking scripts

2016-06-07 Thread Eryk Sun
Eryk Sun added the comment: This affects all Tkinter applications on Windows. For example, in Python 2.7: import Tkinter import ctypes libc = ctypes.CDLL('msvcr90') libc.getenv.restype = ctypes.c_char_p >>> libc.getenv(b"HOME") >>> root = Tkinter.Tk() >>> libc.getenv

[issue27254] heap overflow in Tkinter module

2016-06-07 Thread Emin Ghuliev
Emin Ghuliev added the comment: Yeah you're right but Python doesn't check the classname length. Therefore then heap overflow occurred in the Tcl. -- ___ Python tracker ___ ___

[issue5124] IDLE - pasting text doesn't delete selection

2016-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: To avoid bloating pyshell.main further, and to facilitate testing, I put the new code in a separate function called from main and a test. The test should PASS as is and FAIL on X11 with the call to fix_x11_paste commented out. If it does not, it is not a tes

[issue5124] IDLE - pasting text doesn't delete selection

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tested. LGTM. -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list m

[issue27254] heap overflow in Tkinter module

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What size is safe for className? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue27262] IDLE: move Aqua context menu code to maxosx

2016-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am asking because I noticed that every editor windows gets the same set of bindings set and destroyed, (as in the other part of the #24801 patch). Since events have a widget attribute, using bound methods with a self parameter is not necessary, so all the d

<    1   2   3