[issue27125] Typo in Python 2 multiprocessing documentation

2016-05-25 Thread Phoenix
Phoenix added the comment: Later in the same paragraph: "This value will automatically inherited by" s/b (emphasis added) "This value will **be** automatically inherited by" Or, if you prefer your infinitives unsplit: "This value will be inherited automatically by" -- _

[issue24225] Idlelib: changing file names

2016-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, and anyone else: I am *painfully* aware that any change to idlelib could break 3rd party imports. Efforts to improve IDLE have been crippled by the restriction of not doing so for years. But idlelib exists to implement IDLE and change is necessary to

[issue20353] Hanging bug with multiprocessing + sqlite3 + tkinter (OS X 10.9 only)

2016-05-25 Thread Evan Jones
Evan Jones added the comment: I believe the root cause of this bug is the following issue: http://bugs.python.org/issue27126 ; a workaround is to run the following code before forking any subprocesses: sqlite3.connect(':memory:').close() -- nosy: +evan.jo...@bluecore.com _

[issue27126] Mac system sqlite3 not fork safe: Bundle a version?

2016-05-25 Thread Evan Jones
Changes by Evan Jones : Added file: http://bugs.python.org/file43004/osx_python3_crash.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27126] Mac system sqlite3 not fork safe: Bundle a version?

2016-05-25 Thread Evan Jones
New submission from Evan Jones: The system version of libsqlite3 that is included in Mac OS X is not fork safe. This means that if a process forks, and the child calls into it, it will crash with the stack trace below. I've reproduced this with both Python 2.7.10 and Python 3.5.1 on Mac OS X

[issue24573] Using multiprocessing with tkinter frames in Python 3.4.3 crashes in OS X

2016-05-25 Thread Evan Jones
Evan Jones added the comment: This is another instance of the following bug: http://bugs.python.org/issue27126 libdispatch (grand central dispatch) is not fork safe. The forkserver approach is a good workaround, thanks! -- nosy: +evan.jo...@bluecore.com ___

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith -gps ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2016-05-25 Thread Martin Panter
Martin Panter added the comment: New patch with common _add_filters() function, and added resetwarnings() calls to avoid the conflict with pre-defined filters. -- Added file: http://bugs.python.org/file43005/issue18383_avoid_dups_4.diff ___ Python tr

[issue27127] Never have GET_ITER not followed by FOR_ITER

2016-05-25 Thread Demur Rumed
New submission from Demur Rumed: This is a small change to comprehensions pass in their iterable rather than calling GET_ITER before CALL_FUNCTION. This makes it so that the compiler never generates GET_ITER without following it with FOR_ITER, nor does it generate FOR_ITER without preceding it

[issue27125] Typo in Python 2 multiprocessing documentation

2016-05-25 Thread Martin Panter
Martin Panter added the comment: The “do authentication” error is already fixed in Python 3, but the other error also exists in Python 3. This patch also fixes related errors in Python 3 that I found. -- keywords: +patch nosy: +martin.panter stage: -> patch review versions: +Python 3.

[issue27125] Typo in Python 2 multiprocessing documentation

2016-05-25 Thread Martin Panter
Martin Panter added the comment: Python 2 patch, including the do → no fix -- Added file: http://bugs.python.org/file43008/will-be.py2.patch ___ Python tracker ___ __

[issue26632] __all__ decorator

2016-05-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On May 25, 2016, at 07:56 AM, Franklin? Lee wrote: >>AttributeError: 'tuple' object has no attribute 'append' >>which seems pretty obvious. > >I don't think the C version shows a traceback, so it won't be clear that >you're trying to assign to `__all__`. Tha

[issue27124] binascii.a2b_hex raises binascii.Error and ValueError, not TypeError

2016-05-25 Thread Luiz Poleto
Luiz Poleto added the comment: binascii.Error is used throughout the module for most of the validations, with only a few of them using TypeError/ValueError. I guess it would make more sense to update these to raise binascii.Error (unless they were left on purpose) to make it consistent with th

[issue27126] Apple-supplied libsqlite3 on OS X is not fork safe; can cause crashes

2016-05-25 Thread Ned Deily
Ned Deily added the comment: Thanks for your analysis! I'm sure that you are correct about Issue20353. It could also be the root cause of other crashes reported when internet proxies are used with urllib* invoking the _scproxy helper extension module, as reported in Issue13829. The question

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread Nick Coghlan
Nick Coghlan added the comment: Experimenting with this locally, it looks like the C level hang is indeed due to #25782, but the fact that we're implicitly trying to do "exc.__context__ = exc" is a new bug in _GeneratorContextManager introduced by the PEP 479 changes. However, I'm now wonderin

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-05-25 Thread Nick Coghlan
Nick Coghlan added the comment: Chatting to Russell Keith-Magee, I realised the bytecode section in the devguide's description of the code generation pipeline may need some tweaks to account for the differences between 3.6 and earlier versions: https://docs.python.org/devguide/compiler.html#as

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-05-25 Thread Nick Coghlan
Nick Coghlan added the comment: I switched the target component to Documentation to reflect that as far as we know this is feature complete from a functional perspective, but there hasn't been a review of the docs for bytecode references yet, nor a decision on whether or not we want to systema

[issue24225] Idlelib: changing file names

2016-05-25 Thread Nick Coghlan
Nick Coghlan added the comment: To add to Terry's points: folks that would like to keep using the idlelib APIs as they exist in Python 3.5 will be free to create an idlelib35 project on PyPI, and bundle that or depend on it, depending on how their application manages dependencies. --

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2016-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM, except that initial_len is now always 0. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue26632] __all__ decorator

2016-05-25 Thread Franklin? Lee
Franklin? Lee added the comment: I probably won't submit a patch, but I can definitely write a bunch of private notes toward a patch and forget about them. >_> Idea 1: Crawl up the call tree and see whether you hit a module definition or a class definition first. Idea 2: Inspect __qualname__

[issue24225] Idlelib: changing file names

2016-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The only external uses I know of currently are the imports of percolator/colorizer and textview in turtledemo. There is currently a coloring glitch in 3.5 which continues in 3.6 after the renames. See #27117. I won't be surprised if making the colorizer eas

[issue21528] Fix a number of typos in the documentation

2016-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 33f6e360826e by Donald Stufft in branch '2.7': Fix Issue #21528 - Fix documentation typos https://hg.python.org/cpython/rev/33f6e360826e -- ___ Python tracker

[issue27076] Doc and comment spelling fixes

2016-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset a3a64b85883f by Martin Panter in branch '3.5': Issue #27076: Doc, comment and tests spelling fixes https://hg.python.org/cpython/rev/a3a64b85883f New changeset 5d254703bd84 by Martin Panter in branch 'default': Issue #27076: Merge spelling from 3.5

[issue9911] doc copyedits

2016-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 90b49a29fe0c by Georg Brandl in branch '2.7': #9911: doc copyedits. https://hg.python.org/cpython/rev/90b49a29fe0c -- nosy: +python-dev ___ Python tracker _

[issue5486] doc copyedits

2016-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00f379f33a3e by Georg Brandl in branch '2.7': #5486: typos. https://hg.python.org/cpython/rev/00f379f33a3e -- nosy: +python-dev ___ Python tracker _

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-05-25 Thread STINNER Victor
STINNER Victor added the comment: Hi, I ran the CPython benchmark suite (my fork modified to be more stable) on ed4eec682199 (patched) vs 7a7f54fe0698 (base). The patched version contains wordcode (issue #26647) + 16-bit fetch for opcode and oparg (issue #27097). The speedup is quite nice. Att

<    1   2