[issue30937] csv module examples miss newline='' when opening files

2017-07-15 Thread Ammar Askar
Changes by Ammar Askar : -- keywords: +easy, patch stage: -> patch review type: -> enhancement ___ Python tracker ___

[issue30937] csv module examples miss newline='' when opening files

2017-07-15 Thread Ammar Askar
Changes by Ammar Askar : -- pull_requests: +2790 ___ Python tracker ___ ___

[issue30936] json module ref leaks detected by test_json

2017-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for opening this issue Segev. Tests added in issue30911 exposed existing leak in 3.5 and 3.6. It was not exposed in 3.7 due to different code for sort_keys. But there was a leak when sorting keys is failed. I added a new test for this case. 2.7

[issue30911] Warning in _json.c on platforms where char is unsigned

2017-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3dbe11a1219d148e4a133449a86ac5d157e35d35 by Serhiy Storchaka in branch '2.7': [2.7] bpo-30911: Add tests for bad boolean arguments for accelerated json (GH-2690) (#2729)

[issue30936] json module ref leaks detected by test_json

2017-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 45c471c04553d7e4cb5c328ea1ab02d6716f2bab by Serhiy Storchaka in branch '3.5': [3.5] bpo-30936: Fix a reference leak in json when fail to sort keys. (GH-2712). (#2728)

[issue30936] json module ref leaks detected by test_json

2017-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a819e5e1e66a1a5f9a7073c8a1ff3c3f304c917b by Serhiy Storchaka in branch '3.6': [3.6] bpo-30936: Fix a reference leak in json when fail to sort keys. (GH-2712). (#2727)

[issue30876] SystemError on importing module from unloaded package

2017-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 28343e3392ca7b1ec7151f68d4d92c90efb91e50 by Serhiy Storchaka in branch '3.6': [3.6] bpo-30876: Relative import from unloaded package now reimports the package (GH-2639) (#2676)

[issue30911] Warning in _json.c on platforms where char is unsigned

2017-07-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2789 ___ Python tracker ___ ___

[issue30934] Document how to run coverage for repository idlelib files.

2017-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I generalized the first part so only the .bat file needs a *nix version. -- ___ Python tracker ___

[issue30934] Document how to run coverage for repository idlelib files.

2017-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 65de1f3672fd0a1e3ec34b654ef5213e15a03e26 by terryjreedy in branch '3.6': [3.6] bpo-30934: Document coverage details for idlelib tests (GH-2711) (#2726) https://github.com/python/cpython/commit/65de1f3672fd0a1e3ec34b654ef5213e15a03e26 --

[issue30936] json module ref leaks detected by test_json

2017-07-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2788 ___ Python tracker ___ ___

[issue30936] json module ref leaks detected by test_json

2017-07-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2787 ___ Python tracker ___ ___

[issue30936] json module ref leaks detected by test_json

2017-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 49f6449ef4b81537c19b82329caaf60596c516c2 by Serhiy Storchaka in branch 'master': bpo-30936: Fix a reference leak in json when fail to sort keys. (#2712) https://github.com/python/cpython/commit/49f6449ef4b81537c19b82329caaf60596c516c2

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2017-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Serhiy, is there one non-controversial pan-slavic way to write 'Cyrillic' in > Cyrillic? No. Even in very close east-slavic languages it is written differently: Ukrainian "Кирилиця", Russian "Кириллица", Belarusian "Кірыліца". --

[issue30934] Document how to run coverage for repository idlelib files.

2017-07-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2786 ___ Python tracker ___ ___

[issue30934] Document how to run coverage for repository idlelib files.

2017-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 95bebb7264afad88f31f7cdc3b28bacde7c46f93 by terryjreedy in branch 'master': bpo-30934: Document coverage details for idlelib tests (#2711) https://github.com/python/cpython/commit/95bebb7264afad88f31f7cdc3b28bacde7c46f93 --

[issue9262] IDLE: Revise or replace tabbedpages for multi-editor window.

2017-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I changed the title again to reflect the actual discussion. #25036 (and #30784) are about extracting an editor component that can be put on a tab. #25032 is about making a top-level with menu that is not tied to a single editor. This issue should stick to

[issue30784] IDLE: separate editor window and text

2017-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is at least partly a duplicate of #25036, but until I look at the approach in that patch, versus what I have been thinking of, I cannot tell if this should be closed. -- ___ Python tracker

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Ned Deily
Ned Deily added the comment: New changeset 64a9f3d961084819335ea011063eb8cb41733882 by Ned Deily in branch '2.7': bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721) (#2725) https://github.com/python/cpython/commit/64a9f3d961084819335ea011063eb8cb41733882 --

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +2785 ___ Python tracker ___ ___ Python-bugs-list

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2017-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I made this issue a dependency of #24776, which is about redoing the whole font page. The fontchooser has good, inappropriate for IDLE, and bad points. I consider it an alternate mockup proposal for the font page. For this issue: displaying each font name

[issue30836] test_c_locale_coercion fails on AIX

2017-07-15 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix :-) -- ___ Python tracker ___ ___ Python-bugs-list

[issue30936] json module ref leaks detected by test_json

2017-07-15 Thread STINNER Victor
STINNER Victor added the comment: On Python 3.6, the leaking test is: test.test_json.test_speedups.TestEncode.test_bad_bool_args -- ___ Python tracker

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +2784 ___ Python tracker ___ ___ Python-bugs-list

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Ned Deily
Ned Deily added the comment: New changeset ada3f31365d0634d0cd8eeacfacd98291e34a8cc by Ned Deily in branch '3.5': bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721) (#2723) https://github.com/python/cpython/commit/ada3f31365d0634d0cd8eeacfacd98291e34a8cc --

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +2783 ___ Python tracker ___ ___ Python-bugs-list

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Ned Deily
Ned Deily added the comment: New changeset bbd0f423d2a19c6a4a9cda6914fc60b87e17250b by Ned Deily in branch '3.6': bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721) (#2722) https://github.com/python/cpython/commit/bbd0f423d2a19c6a4a9cda6914fc60b87e17250b --

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +2782 ___ Python tracker ___ ___ Python-bugs-list

[issue9262] IDLE: Use tabbed shell and edit windows

2017-07-15 Thread Mark Roseman
Mark Roseman added the comment: The ttk Notebook wouldn't be appropriate as it doesn't scale beyond a small (generally fixed) number of tabs, and is missing UI to easily add/delete tabs. There's some discussion of this in earlier comments here. --

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Ned Deily
Ned Deily added the comment: New changeset 50f58163a69abe2f35e91044d1df165ee7bdbb42 by Ned Deily in branch 'master': bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721) https://github.com/python/cpython/commit/50f58163a69abe2f35e91044d1df165ee7bdbb42 --

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +2781 ___ Python tracker ___ ___

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +2780 ___ Python tracker ___ ___ Python-bugs-list

[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-15 Thread Ned Deily
New submission from Ned Deily: [..]/sphinx/util/compat.py:40: RemovedInSphinx17Warning: sphinx.util.compat.Directive is deprecated and will be removed in Sphinx 1.7, please use docutils' instead. RemovedInSphinx17Warning) The solution is to import Directive directly from docutils. PR to

[issue27413] Add an option to json.tool to bypass non-ASCII characters.

2017-07-15 Thread Daniel Himmelstein
Changes by Daniel Himmelstein : -- pull_requests: +2779 ___ Python tracker ___

[issue29636] Specifying indent in the json.tool command

2017-07-15 Thread Daniel Himmelstein
Changes by Daniel Himmelstein : -- pull_requests: +2778 ___ Python tracker ___

[issue28638] Creating namedtuple is too slow to be used in common stdlib (e.g. functools)

2017-07-15 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: I'm also concerned that the slowness of namedtuple creation is causing people to avoid using it. I can see why we wouldn't want a complicated solution like using Argument Clinic, but it's not clear to me why Serhiy's approach in namedtuple-no-compile.patch

[issue11978] Report correct coverage.py data for tests that invoke subprocesses

2017-07-15 Thread Ned Batchelder
Ned Batchelder added the comment: Whoever takes this up next: let me know if I can help. -- ___ Python tracker ___

[issue30938] pdb lacks debugger command to list and show all user-defined variables

2017-07-15 Thread David Rieger
New submission from David Rieger: IPython's "who" and "whos" command provide a way to list all user-defined variables and inspect them, respectively. At the moment, a way to work around this would be by either using e.g. "pp locals()" to list all local variables, this would however also

[issue30937] csv module examples miss newline='' when opening files

2017-07-15 Thread Pavel
New submission from Pavel: At the very beginning the csv module documentation (https://docs.python.org/3.7/library/csv.html) advises to open files passing newline='' parameter though three examples don't include it: Here are the examples: 1: >>> import csv >>> with open('names.csv') as

[issue30836] test_c_locale_coercion fails on AIX

2017-07-15 Thread Nick Coghlan
Nick Coghlan added the comment: This particular test passed on the custom AIX buildbot prior to merging (other tests still have issues on AIX, though, so that buildbot remains red overall). -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed

[issue30836] test_c_locale_coercion fails on AIX

2017-07-15 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset f0b6a261bb8cbede42296e0cc70956fb3b9a6cf7 by Nick Coghlan in branch 'master': bpo-30836: fix test_c_locale_coercion on AIX (GH-2713) https://github.com/python/cpython/commit/f0b6a261bb8cbede42296e0cc70956fb3b9a6cf7 --

[issue30836] test_c_locale_coercion fails on AIX

2017-07-15 Thread Nick Coghlan
Changes by Nick Coghlan : -- pull_requests: +2777 ___ Python tracker ___ ___

[issue30929] AttributeErrors after import in multithreaded environment

2017-07-15 Thread Larry Hastings
Larry Hastings added the comment: I'm closing this. It isn't a security issue, so it's not applicable for 3.4. 3.5 is about to close for bugfixes too, so you'd have to work very... quickly. If this applies to 3.6, figure out whether or not it's a duplicate of Issue #30891. If it isn't,

[issue30929] AttributeErrors after import in multithreaded environment

2017-07-15 Thread Evgeny Boytsov
Evgeny Boytsov added the comment: The same behaviour is reprodusible at ubuntu 16.04 with python 3.5.2. And a colleague of mine said that he was able to reproduce the issue with python 3.6. -- ___ Python tracker

[issue30717] str.center() is not unicode aware

2017-07-15 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> components: +Interpreter Core -SSL, Tests, Tkinter nosy: -christian.heimes ___ Python tracker

[issue30936] json module ref leaks detected by test_json

2017-07-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> patch review versions: +Python 2.7, Python 3.7 ___ Python tracker ___

[issue30936] json module ref leaks detected by test_json

2017-07-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2776 ___ Python tracker ___ ___

[issue30911] Warning in _json.c on platforms where char is unsigned

2017-07-15 Thread Segev Finer
Segev Finer added the comment: Created http://bugs.python.org/issue30936 -- ___ Python tracker ___ ___

[issue30936] json module ref leaks detected by test_json

2017-07-15 Thread Segev Finer
New submission from Segev Finer: >From builtbots: test_json leaked [4, 4, 4] references, sum=12 test_json leaked [3, 3, 3] memory blocks, sum=9 1 test failed again: test_json Probably unearthed by: https://github.com/python/cpython/pull/2692 https://github.com/python/cpython/pull/2693

[issue30911] Warning in _json.c on platforms where char is unsigned

2017-07-15 Thread Segev Finer
Segev Finer added the comment: Serhiy's change added tests to test_json, so you can say this unearthed ref leaks rather than introduced them. Probably needs a separate bpo issue and fix. -- ___ Python tracker

[issue30911] Warning in _json.c on platforms where char is unsigned

2017-07-15 Thread STINNER Victor
STINNER Victor added the comment: It is possible that the change introduced a reference leak. See for example: http://buildbot.python.org/all/builders/AMD64%20Windows8.1%20Refleaks%203.5/builds/49 -- ___ Python tracker

[issue7727] xmlrpc library returns string which contain null ( \x00 )

2017-07-15 Thread Alex Corcoles
Changes by Alex Corcoles : -- versions: +Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___

[issue7727] xmlrpc library returns string which contain null ( \x00 )

2017-07-15 Thread Alex Corcoles
Changes by Alex Corcoles : -- nosy: +Alex Corcoles ___ Python tracker ___ ___ Python-bugs-list

[issue22239] asyncio: nested event loop

2017-07-15 Thread Rokas K. (rku)
Rokas K. (rku) added the comment: I understand rationale for rejection of this issue but i beg to reconsider. Unlike in traditional coroutines (windows fibers / setjmp|longjmp with stack switching) we can not yield from any point of execution. There must be full async-await chain preserved.

[issue30929] AttributeErrors after import in multithreaded environment

2017-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This may be a duplicate of issue30891. But 3.4 is in security fixes only mode. And this issue doesn't look like a security issue. -- nosy: +brett.cannon, eric.snow, haypo, larry, ncoghlan, serhiy.storchaka ___