[issue33684] parse failed for mutibytes characters, encode will show in \xxx

2019-12-03 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +16941 pull_request: https://github.com/python/cpython/pull/17460 ___ Python tracker ___

[issue38878] os.PathLike subclasshook causes subclass checks true on abstract implementation

2019-12-03 Thread Bar Harel
Bar Harel added the comment: Ready for merge -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29636] Specifying indent in the json.tool command

2019-12-03 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 -Python 3.8 ___ Python tracker ___

[issue29636] Specifying indent in the json.tool command

2019-12-03 Thread Inada Naoki
Inada Naoki added the comment: New changeset 03257949bc02a4afdf2ea1eb07a73f8128129579 by Inada Naoki (Daniel Himmelstein) in branch 'master': bpo-29636: Add --(no-)indent arguments to json.tool (GH-345) https://github.com/python/cpython/commit/03257949bc02a4afdf2ea1eb07a73f8128129579

[issue38960] DTrace FreeBSD build fix

2019-12-03 Thread Kubilay Kocak
New submission from Kubilay Kocak : Thank you for the heads-up David. If you need OS support and don't have access to a FreeBSD install, I can provide you with an SSH account to the servers that run the Python buildbots if that would be helpful either now or in the future --

[issue38963] multiprocessing processes seem to "bleed" user information (GID/UID/groups)

2019-12-03 Thread Roman Joost
New submission from Roman Joost : When running a process which changes UID/GID, some of the following processes will run as the user I change to per process. In order to reproduce (see the attached reproducer): 1. Change the 'USERNAME' to an unprivileged user on your system. 2. Run the

[issue38741] Definition of multiple ']' in header configparser

2019-12-03 Thread Jason Killen
Change by Jason Killen : -- nosy: +Jason.Killen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7982] extend captured_output to simulate different stdout.encoding

2019-12-03 Thread Andrew Frost
Andrew Frost added the comment: in test_xmlrpc.py, it can replace this entire function - https://github.com/python/cpython/blob/8f4ef3b019ce380022018587571b0f970e668de3/Lib/test/test_xmlrpc.py#L1344 in test_source_encoding.py, it can remove this line -

[issue27873] multiprocessing.pool.Pool.map should take more than one iterable

2019-12-03 Thread miss-islington
miss-islington added the comment: New changeset baf07395eaa77e515ddfa1d3f42785d50b4d2889 by Miss Islington (bot) in branch '3.8': bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436) https://github.com/python/cpython/commit/baf07395eaa77e515ddfa1d3f42785d50b4d2889 --

[issue27873] multiprocessing.pool.Pool.map should take more than one iterable

2019-12-03 Thread miss-islington
miss-islington added the comment: New changeset 55a7046471e19843a68d4a1a15252fd197bb6913 by Miss Islington (bot) in branch '3.7': bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436) https://github.com/python/cpython/commit/55a7046471e19843a68d4a1a15252fd197bb6913 --

[issue27873] multiprocessing.pool.Pool.map should take more than one iterable

2019-12-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +16940 pull_request: https://github.com/python/cpython/pull/17459 ___ Python tracker ___

[issue27873] multiprocessing.pool.Pool.map should take more than one iterable

2019-12-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +16939 pull_request: https://github.com/python/cpython/pull/17458 ___ Python tracker ___

[issue27873] multiprocessing.pool.Pool.map should take more than one iterable

2019-12-03 Thread miss-islington
miss-islington added the comment: New changeset eb48a451e3844185b9a8751c9badffbddc89689d by Miss Islington (bot) (An Long) in branch 'master': bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436) https://github.com/python/cpython/commit/eb48a451e3844185b9a8751c9badffbddc89689d

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16938 pull_request: https://github.com/python/cpython/pull/17457 ___ Python tracker ___

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Opened PR 17457 for the refleaks of test__xxsubinterpreters although I am not very convinced that we can call the GC at that point. -- ___ Python tracker

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This patch (which is wrong) fixes the reference issues: diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index cce4783bc1..c354af18db 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1276,6 +1276,7 @@

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16937 pull_request: https://github.com/python/cpython/pull/17456 ___ Python tracker ___

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I created https://github.com/python/cpython/pull/17455 to revert commit 7247407c35330f3f6292f1d40606b7ba6afd5700 as it seems that the leak is more complex than the others. If a solution is not found in a couple of days we need to merge it to fix the

[issue36854] GC operates out of global runtime state.

2019-12-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16936 pull_request: https://github.com/python/cpython/pull/17455 ___ Python tracker ___

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Indeed, reverting commit 7247407c35330f3f6292f1d40606b7ba6afd5700 fixes the issues in test_threading -- ___ Python tracker ___

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: For the subinterpreter other leaks it seems that the commit that introduced the leak is: 7247407c35330f3f6292f1d40606b7ba6afd5700 is the first bad commit commit 7247407c35330f3f6292f1d40606b7ba6afd5700 Author: Victor Stinner Date: Wed Nov 20

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16935 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17454 ___ Python tracker ___

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Opened https://github.com/python/cpython/pull/17454 for the fixing the leak in http_servers -- ___ Python tracker ___

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Indeed, that fixes the problem in at least 2 modules: ./python -m test test_atexit -R : 0:00:00 load avg: 0.84 Run tests sequentially 0:00:00 load avg: 0.84 [1/1] test_atexit beginning 9 repetitions 123456789 . == Tests result: SUCCESS == 1

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, the problem seems to be that _PyBuiltin_Init() returns a new reference that is not cleared once PyModule_GetDict() and _PyBuiltins_AddExceptions() is called. -- stage: patch review -> needs patch ___

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +16934 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17453 ___ Python tracker

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Actually, that commit has an independent refleak that was fixed (!) regarding the small integer cache. Seems that the actual commit that made the new leak is: commit 2582d46fbcf7bdf86b9cf4016850b8d155267ac6 Author: Victor Stinner Date: Fri Nov 22

[issue38962] Reference leaks in subinterpreters

2019-12-03 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : All the refleak build bots for master are reporting reference leaks in subinterpreter related tests: https://buildbot.python.org/all/#/builders/126/builds/6/steps/5/logs/stdio

[issue38960] DTrace FreeBSD build fix

2019-12-03 Thread Emmanuel Arias
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38924] pathlib paths .normalize()

2019-12-03 Thread Brett Cannon
Brett Cannon added the comment: While I understand you're disappointed, do realize that the tone of your response isn't necessary. I'm going to assume you didn't mean for it to come off as confrontational and still provide a reply. > you do realise there are no symlinks to resolve on

[issue35003] Provide an option to venv to put files in a bin/ directory on Windows

2019-12-03 Thread Brett Cannon
Brett Cannon added the comment: > Are you proposing to bring that functionality, which these third-party tools > perform currently, into the stdlib? I was hoping to, but it turns out you can't make this work under Windows without inspecting the parent process (PowerShell and Command Prompt

[issue38945] Remove newline characters from uu encoding methods

2019-12-03 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset a016d4e32cc9faa48105d00db275439c3dc93559 by Guido van Rossum (Matthew Rollings) in branch '2.7': [2.7] bpo-38945: UU Encoding: Don't let newline in filename corrupt the output format (GH-17418). (#17452)

[issue38945] Remove newline characters from uu encoding methods

2019-12-03 Thread stealthcopter
Change by stealthcopter : -- pull_requests: +16933 pull_request: https://github.com/python/cpython/pull/17452 ___ Python tracker ___

[issue38295] test_relative_path of test_py_compile fails on macOS 10.15 Catalina

2019-12-03 Thread Amged Rustom
Change by Amged Rustom : -- nosy: +amgedr ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24764] cgi.FieldStorage can't parse multipart part headers with Content-Length and no filename in Content-Disposition

2019-12-03 Thread Ethan Furman
Change by Ethan Furman : -- assignee: -> ethan.furman nosy: +Rhodri James, ethan.furman ___ Python tracker ___ ___

[issue27777] cgi.FieldStorage can't parse simple body with Content-Length and no Content-Disposition

2019-12-03 Thread Ethan Furman
Change by Ethan Furman : -- assignee: -> ethan.furman nosy: +Rhodri James, ethan.furman versions: -Python 3.5 ___ Python tracker ___

[issue38961] Flaky detection of compiler vendor

2019-12-03 Thread John-Mark
New submission from John-Mark : The `configure` script for building what appears to be any version of python (I've manually checked 2.7, 3.6.6, and master) uses simple substring-in-path checks to determine the compiler vendor. This is problematic because it is very easy for it to produce

[issue38960] DTrace FreeBSD build fix

2019-12-03 Thread David Carlier
Change by David Carlier : -- keywords: +patch pull_requests: +16932 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17451 ___ Python tracker ___

[issue38960] DTrace FreeBSD build fix

2019-12-03 Thread David Carlier
Change by David Carlier : -- components: FreeBSD nosy: David Carlier, koobs priority: normal severity: normal status: open title: DTrace FreeBSD build fix versions: Python 3.9 ___ Python tracker

[issue38270] Tests: Avoid MD5 or check for MD5 availablity

2019-12-03 Thread miss-islington
miss-islington added the comment: New changeset 894331838b256412c95d54051ec46a1cb96f52e7 by Miss Islington (bot) (stratakis) in branch 'master': bpo-38270: Fix indentation of test_hmac assertions (GH-17446) https://github.com/python/cpython/commit/894331838b256412c95d54051ec46a1cb96f52e7

[issue38270] Tests: Avoid MD5 or check for MD5 availablity

2019-12-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +16931 pull_request: https://github.com/python/cpython/pull/17450 ___ Python tracker ___

[issue29427] Option to skip padding for base64 urlsafe encoding/decoding

2019-12-03 Thread uliludmann
Change by uliludmann : -- nosy: +uliludmann ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38943] Idle autocomplete window doesn't show up

2019-12-03 Thread JohnnyNajera
JohnnyNajera added the comment: At least this scenario: Ubuntu 19.10 Open the interpreter Literally nothing makes the autocomplete window show up. As mentioned in the PR, it's not about the 1-ms but about being called outside of the event itself. This can also be fixed by immediately calling

[issue38918] Add __module__ entry for function type in inspect docs table.

2019-12-03 Thread Parth Sharma
Parth Sharma added the comment: Hey Eric, I made a PR [1] which adds an entry for __module__ in the "function" and "method" sections of the table [2]. Can you review it and let me know if any changes are required? [1] https://github.com/python/cpython/pull/17408 [2]

[issue38950] argparse uses "optional arguments" for "keyword arguments"

2019-12-03 Thread Géry
Géry added the comment: Thanks paul j3 for the link. I am continuing the discussion there. -- ___ Python tracker ___ ___

[issue9694] argparse required arguments displayed under "optional arguments"

2019-12-03 Thread Géry
Géry added the comment: I have just run into the same issue here: https://bugs.python.org/issue38950 - I prefer Terry J. Reedy's "keyword arguments" as it is clear and consistent with "positional arguments". - But Steven Bethard 's "flag arguments" looks fine since it is well known to shell

[issue38572] Misleading AttributeError accessing fileno attribute in tarfile

2019-12-03 Thread PCManticore
PCManticore added the comment: Just submitted a PR for this issue, hope I got it right. Curious to see if there are any backwards compatibility concerns with this approach. -- ___ Python tracker

[issue38572] Misleading AttributeError accessing fileno attribute in tarfile

2019-12-03 Thread PCManticore
Change by PCManticore : -- keywords: +patch pull_requests: +16930 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17449 ___ Python tracker ___

[issue38955] Non indemnpotent behavior of asyncio.get_event_loop and asyncio.run sequence.

2019-12-03 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think now it is too late for changing the behavior. In the ideal world, get_event_loop() should never exist, maybe we can deprecate/remove it eventually. run() should be used for executing async code; get_running_loop() for getting a reference to the

[issue38572] Misleading AttributeError accessing fileno attribute in tarfile

2019-12-03 Thread PCManticore
Change by PCManticore : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: