[issue40152] Coroutine hangs if it performs async operations when handling exception sent using throw()

2020-04-02 Thread Guilherme Salgado
New submission from Guilherme Salgado : A coroutine will hang forever if it that catches an exception sent via its throw() method and then makes async calls while handling that exception. The same coroutine will complete just fine if the exception is instead raised from within it. Here's a sc

[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread Tapas Kundu
Change by Tapas Kundu : -- nosy: +tapakund nosy_count: 6.0 -> 7.0 pull_requests: +18661 pull_request: https://github.com/python/cpython/pull/19299 ___ Python tracker ___ __

[issue40152] Coroutine hangs if it performs async operations when handling exception sent using throw()

2020-04-02 Thread Guilherme Salgado
Change by Guilherme Salgado : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue40144] resource: RLIMIT_xxx and RUSAGE_xxx constants are missing on macOS 10.15.4

2020-04-02 Thread Ned Deily
Ned Deily added the comment: There's nothing wrong with the Azure CI job, AFAICT. The issue seems to be in the changes made by the PR itself. Testing on 10.15.4 from master HEAD, test_resource passes as always. But after applying the PR under test in the CI, PR 19252 from Issue1635741, th

[issue38576] CVE-2019-18348: CRLF injection via the host part of the url passed to urlopen()

2020-04-02 Thread Tapas Kundu
Change by Tapas Kundu : -- pull_requests: +18662 pull_request: https://github.com/python/cpython/pull/19300 ___ Python tracker ___ _

[issue40083] No run option available in python idle in version 3.8.2

2020-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I cannot do anything until you answer all 6 question. Perhaps you should post on python-list to get help doing so. -- ___ Python tracker __

[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread Tapas Kundu
Change by Tapas Kundu : -- pull_requests: +18663 pull_request: https://github.com/python/cpython/pull/19301 ___ Python tracker ___ _

[issue40144] resource: RLIMIT_xxx and RUSAGE_xxx constants are missing on macOS 10.15.4

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: > There's nothing wrong with the Azure CI job, AFAICT. The issue seems to be > in the changes made by the PR itself. The PR modify the resource module. Oh. H. I see :-D -- ___ Python tracker

[issue40144] resource: RLIMIT_xxx and RUSAGE_xxx constants are missing on macOS 10.15.4

2020-04-02 Thread hai shi
hai shi added the comment: > The PR modify the resource module. Oh. H. I see :-D Do I miss something? -- ___ Python tracker ___ ___

[issue40144] resource: RLIMIT_xxx and RUSAGE_xxx constants are missing on macOS 10.15.4

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: Ignore this issue, it's a typo in the PR ;-) -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset ea9e240aa02372440be8024acb110371f69c9d41 by Miss Islington (bot) in branch '3.8': bpo-39503: CVE-2020-8492: Fix AbstractBasicAuthHandler (GH-18284) (GH-19296) https://github.com/python/cpython/commit/ea9e240aa02372440be8024acb110371f69c9d41 --

[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset b57a73694e26e8b2391731b5ee0b1be59437388e by Miss Islington (bot) in branch '3.7': bpo-39503: CVE-2020-8492: Fix AbstractBasicAuthHandler (GH-18284) (GH-19297) https://github.com/python/cpython/commit/b57a73694e26e8b2391731b5ee0b1be59437388e --

[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread Tapas Kundu
Change by Tapas Kundu : -- pull_requests: +18664 pull_request: https://github.com/python/cpython/pull/19302 ___ Python tracker ___ _

[issue39865] getattr silences an unrelated AttributeError

2020-04-02 Thread Ammar Askar
Change by Ammar Askar : -- keywords: +patch pull_requests: +18665 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19303 ___ Python tracker ___

[issue39865] getattr silences an unrelated AttributeError

2020-04-02 Thread Ammar Askar
Ammar Askar added the comment: Update: opened up https://github.com/python/cpython/pull/19303 as a quick first pass at implementing this. It works as expected and retains the context from the original exception just in case it's needed. The code isn't too pretty, looks like exception chainin

[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18666 pull_request: https://github.com/python/cpython/pull/19304 ___ Python tracker ___ __

[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18667 pull_request: https://github.com/python/cpython/pull/19305 ___ Python tracker ___ __

[issue40153] json dump with repeated key

2020-04-02 Thread Facundo Batista
New submission from Facundo Batista : As stated in docs [0], JSON structures must not have duplicated keys. >>> json.dumps({1:2, "1":3}) '{"1": 2, "1": 3}' This is related to https://bugs.python.org/issue34972 . [0] "The RFC specifies that the names within a JSON object should be unique,

[issue40154] embedded null byte when connecting to sqlite database using a bytes object

2020-04-02 Thread Fernando
New submission from Fernando : Hello. I think that I found a bug in how sqlite3 module handle bytes. The connect function of sqlite3 accepts strings, FilePath objects and bytes. However, it's impossible for me to connect to bytes objects that are read from BufferedReaders. I always get: "Va

[issue40155] AIX: bot status: stuck at: failed test (failure) uploading test-results.xml (failure)

2020-04-02 Thread Michael Felt
New submission from Michael Felt : related to Two AIX bots - different environments - continue to fail the test: `test_builtin` since During the first run - the test fails with something such as: 0:31:47 [215/420] test_abc passed -- running: test_builtin (14 min 10 sec) 0:32:17 running: tes

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 45f7008a66a30cdf749ec03e580bd2692be9a8df by Hai Shi in branch 'master': bpo-1635741: Port resource extension module to multiphase initialization (PEP 489) (GH-19252) https://github.com/python/cpython/commit/45f7008a66a30cdf749ec03e580bd2692be9a

[issue40155] AIX: bot status: stuck at: failed test (failure) uploading test-results.xml (failure)

2020-04-02 Thread Michael Felt
Michael Felt added the comment: did not get issue numbers in above: issue31160 and issue40094. I waited a day, before posting - in the hope it would go away. Also, I have been testing manually (no -j arguments) - and test_builtin passes when run manually. So, becoming hard to dissect and pro

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40140: test_builtin crashes when runned in parallel mode on solaris. -- nosy: +vstinner title: AIX: bot status: stuck at: failed test (failure) uploading test-results.xml (failure) -> AIX: test_builtin.test_input_no_stdout_fileno() hang

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40155: "AIX: test_builtin.test_input_no_stdout_fileno() hangs". -- ___ Python tracker ___ __

[issue40094] Add os.waitstatus_to_exitcode() function

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40155: "AIX: test_builtin.test_input_no_stdout_fileno() hangs". -- ___ Python tracker ___ __

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: The ulimit results with infinity and this happens on the current master. -- ___ Python tracker ___ _

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > I am understanding "crashing" as "segfaulting" "crashing" as in the test result but not segfaulting 0:00:00 load avg: 1.71 Run tests in parallel using 2 child processes 0:00:01 load avg: 1.70 [1/1/1] test_builtin crashed (Exit code -1) --

[issue40094] Add os.waitstatus_to_exitcode() function

2020-04-02 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue28859] os.path.ismount sometimes raises FileNotFoundError on Windows

2020-04-02 Thread Ankesh Saha
Ankesh Saha added the comment: s I have tried to workout a solution for the problem. Below is my observation and possible solution. os.path.ismount("F:\\doesnotexist") Exception occurs for the above line if the system fails to find both drive and the path that follows it. A 'FileNotFoundEr

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: > "crashing" as in the test result but not segfaulting > 0:00:01 load avg: 1.70 [1/1/1] test_builtin crashed (Exit code -1) What is the signal 1 on Solaris? On Linux, it's SIGHUP, not SIGSEGV: $ python3 Python 3.7.6 (default, Jan 30 2020, 09:44:41) >>> impor

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: isidentical@gcc-solaris11:~$ cpython/python Python 3.9.0a5+ (heads/master:98ff332, Apr 2 2020, 01:20:22) [GCC 5.5.0] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import signal >>> signal.SIGSEGV >>> signal.SIGHUP --

[issue40156] codecov/patch stills runs on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor
New submission from STINNER Victor : Larry Hastings (Python 3.5 release manager) failed to merge my security fix into Python 3.5. The Codecov job run on the PR, failed and it must pass to merge a PR if I understood correctly Larry: https://github.com/python/cpython/pull/17344#issuecomment-6054

[issue40156] codecov/patch stills runs on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18668 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19306 ___ Python tracker ___ _

[issue40156] CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- title: codecov/patch stills runs on 3.5 and 3.6 branches -> CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches ___ Python tracker ___

[issue39704] Disable code coverage

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: FYI I created bpo-40156: "codecov/patch stills runs on 3.5 and 3.6 branches". -- ___ Python tracker ___ _

[issue40157] SMTP email policy does not encode non-ASCII characters

2020-04-02 Thread Eduard Bopp
New submission from Eduard Bopp : Using email.policy.SMTP a message's non-ASCII characters are not encoded. The policy.utf8 attribute is set to False as documented. The attached script illustrates the behaviour. I get the following command line output from it: Subject: =?utf-8?b?w7zDtsOk?=

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt
Michael Felt added the comment: Now consistently - stalled. aixtools@x064:[/home/aixtools/py39-3.9]git diff diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index eaada1b504..89c4ebc2bd 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py @@ -1849,26 +1849,40 @@

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt
Michael Felt added the comment: If I move the close to before the support.waitprocess() call I get: aixtools@x064:[/home/aixtools/py39-3.9]./python -m test test_builtin 0:00:00 Run tests sequentially 0:00:00 [1/1] test_builtin I am child - this is my PID:2254 I am parent:21954666 with chi

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt
Michael Felt added the comment: I tried moving the child/parent logic blocks and get this as debug output: aixtools@x064:[/home/aixtools/py39-3.9]./python -m test test_builtin 0:00:00 Run tests sequentially 0:00:00 [1/1] test_builtin I am child - this is my PID:8519822 I am parent:6422696 wit

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt
Michael Felt added the comment: Next debug info: I am child - this is my PID:8519830 I am parent:18284612 with child:8519830fd:6 input:b'quux\r' I am parent:18284612 with lines:[] I am child - exiting PID:8519830 I am parent:18284612 with lines:['stdin.isatty(): True'] I am parent:18284612 wit

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt
Michael Felt added the comment: FYI: in child block: calling os.exit(0), rather than os._exit() gives same result. -- ___ Python tracker ___ _

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt
Michael Felt added the comment: To get it to move forward: as it is not solely and AIX thing (see bpo-40-140) This works: but is it what is wanted? Tests result: SUCCESS aixtools@x064:[/home/aixtools/py39-3.9]git diff diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index eaa

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-04-02 Thread hai shi
Change by hai shi : -- pull_requests: +18669 pull_request: https://github.com/python/cpython/pull/19307 ___ Python tracker ___ ___

[issue40145] Pyshellext room for binary size improvement

2020-04-02 Thread Steve Dower
Steve Dower added the comment: I'm seeing some numbers that suggest it's even bigger than 7 million, so you might be deserving of more! Of course, that bandwidth is a donation, so you'll have to apply to Fastly ;) Our MSBuild projects are hand-maintained (often by people on non-Windows syst

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-04-02 Thread Steve Dower
Steve Dower added the comment: > I don't understand how it's possible that the Ubuntu job passed in the GitHub > action, but failed in Azure Pipelines. Random network issues, most likely. Those are about the only flakiness I've seen in recent times. The OpenSSL cache should only be for the

[issue40151] _overlapped room for improvement

2020-04-02 Thread Steve Dower
Steve Dower added the comment: While you're working on these, the most important comparison to make is against the binaries from our 64-bit release. We've run PGO on those, and from the stats shown it optimises almost everything for size already. (You can enable the same profile by running "

[issue40156] CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: Here is my concrete solution for CodeCov issues on 3.5 and 3.6 branches. -- nosy: +larry, ned.deily ___ Python tracker ___ __

[issue40156] CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches

2020-04-02 Thread Larry Hastings
Larry Hastings added the comment: I need to do a little more reading on it, but I expect if you make an equivalent PR for 3.5 I'll merge it. Thanks for taking this on, Victor! -- ___ Python tracker ___

[issue31160] Enhance support.reap_children()

2020-04-02 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +18670 pull_request: https://github.com/python/cpython/pull/19308 ___ Python tracker ___

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +18671 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19308 ___ Python tracker ___ ___

[issue40148] Add PurePath.with_stem()

2020-04-02 Thread Brett Cannon
Brett Cannon added the comment: I personally would rather not add more methods that are doing simple string manipulations. -- nosy: +brett.cannon ___ Python tracker ___ _

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-04-02 Thread Brett Cannon
Brett Cannon added the comment: > I'm not aware of Travis CI current issue. There were issues in the past, as > with any CI, right ;-) Travis CI looks quite reliable these days. That's what everyone said when Travis was required and before it went flaky the last time. ;) The point is I don'

[issue39704] Disable code coverage

2020-04-02 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue40156] CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18672 pull_request: https://github.com/python/cpython/pull/19309 ___ Python tracker ___ __

[issue40158] MSBuild Extensions in CPython NuGet Package has Bad Expression

2020-04-02 Thread Chris Martinez
New submission from Chris Martinez : CPython provides a NuGet package as a mechanism to support non-installed Python distributions. The package includes MSBuild support to integrate with its build process. The expressions on lines 32 and 33 in the file: https://github.com/python/cpython/blob

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7a6f3bcc43ed729f8038524528c0b326b5610506 by Hai Shi in branch 'master': bpo-1635741: Fix refleak in _locale init error handling (GH-19307) https://github.com/python/cpython/commit/7a6f3bcc43ed729f8038524528c0b326b5610506 -- __

[issue40156] CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: > I need to do a little more reading on it, but I expect if you make an > equivalent PR for 3.5 I'll merge it. Thanks for taking this on, Victor! Done with PR 19309. -- ___ Python tracker

[issue40158] MSBuild Extensions in CPython NuGet Package has Bad Expression

2020-04-02 Thread Steve Dower
Steve Dower added the comment: The closing parentheses are needed - a PR would be appreciated for that. The quotes around a variable reference are unnecessary. At a parser level, it just changes it from a variable reference to a string literal with substitutions (unlike most shells, which do

[issue17005] Add a topological sort algorithm

2020-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: At some point in the next two or three weeks, I'll have a chance to work on this more and to offer a competing patch. IMO, the current checkin is over-engineered, both in its API and implementation. This could have been a simple, fast tool written as on

[issue40133] Provide additional matchers for unittest.mock

2020-04-02 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +18673 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19310 ___ Python tracker _

[issue40127] Documentation of SSL library

2020-04-02 Thread Christophe Nanteuil
Christophe Nanteuil added the comment: I modified the PR according to the source code: "if all three are None and SSLContext.verify_mode is not set to CERT_NONE, this function uses the system's default CA certificates." The way the system is configured may depend on multiple parameters but I

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-04-02 Thread Brett Cannon
Brett Cannon added the comment: New changeset 45217af29c7f380089af17beb48a5ea0560bbb9d by Derek Keeler in branch 'master': bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131) https://github.com/python/cpython/commit/45217af29c7f380089af17beb48a5ea0560bbb9d -

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +18674 pull_request: https://github.com/python/cpython/pull/19311 ___ Python tracker _

[issue40133] Provide additional matchers for unittest.mock

2020-04-02 Thread Diego Elio Pettenò
Change by Diego Elio Pettenò : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-04-02 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-04-02 Thread miss-islington
miss-islington added the comment: New changeset b7345c24a4d962e2adbafc86e4af77de9e3ef09e by Miss Islington (bot) in branch '3.8': bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131) https://github.com/python/cpython/commit/b7345c24a4d962e2adbafc86e4af77de9e3ef09e

[issue17005] Add a topological sort algorithm

2020-04-02 Thread Tim Peters
Tim Peters added the comment: Raymond, what application do you have that wouldn't be completely addressed by sticking to just .add() (to record dependencies) and .static_order() (to retrieve a linear order)? Larry Hastings and I originally worked out the fancier bits of the interface to dea

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18677 pull_request: https://github.com/python/cpython/pull/19312 ___ Python tracker ___ __

[issue31160] Enhance support.reap_children()

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18675 pull_request: https://github.com/python/cpython/pull/19312 ___ Python tracker ___ __

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18676 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19312 ___ Python tracker ___ _

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: Michael Felt: Can you please test if PR 19312 fix the issue for you on AIX? -- ___ Python tracker ___ ___

[issue40159] Make python -V -V output arguments of configure

2020-04-02 Thread Volker Weißmann
New submission from Volker Weißmann : As you might know, you can e.g. compile a version with ../configure --with-pydebug or with ../configure Currently, there is no easy way to find out how an installation on your machine was compiled. It would be nice if python -V -V would output every argument

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: Batuhan: Can you please test if PR 19312 fix the issue for you on Solaris? -- ___ Python tracker ___

[issue17005] Add a topological sort algorithm

2020-04-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I just want to echo what Tim mentioned with the extra data point that some of the maintainers of some popular and wide-used open-source libraries that indeed have to deal with this problem or the parallel version of the problem (like gaborbernat in th

[issue40159] Make python -V -V output arguments of configure

2020-04-02 Thread Zachary Ware
Zachary Ware added the comment: How about `python3 -c 'import sysconfig;print(sysconfig.get_config_vars()["CONFIG_ARGS"])'`? -- nosy: +zach.ware ___ Python tracker ___ __

[issue40159] Make python -V -V output arguments of configure

2020-04-02 Thread Volker Weißmann
Change by Volker Weißmann : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue40160] documentation example of os.walk should be less destructive

2020-04-02 Thread John Taylor
New submission from John Taylor : The example for os.walkdir should be less destructive. It currently recursively removes all files and directories. I will be submitting a PR on GitHub. -- assignee: docs@python components: Documentation messages: 365625 nosy: docs@python, jftuga pri

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I tested with both PR 19312 and PR 19308 and I still have the same crash 0:00:00 load avg: 0.80 Run tests in parallel using 2 child processes 0:00:01 load avg: 0.79 [1/1/1] test_builtin crashed (Exit code -1) -- _

[issue17005] Add a topological sort algorithm

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue17681] Work with an extra field of gzip and zip files

2020-04-02 Thread Jason Williams
Jason Williams added the comment: What's needed to get this integrated? It will be great to not have to fork the GZIP. -- nosy: +Jason Williams ___ Python tracker ___ __

[issue40160] documentation example of os.walk should be less destructive

2020-04-02 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +18678 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19313 ___ Python tracker _

[issue40160] documentation example of os.walk should be less destructive

2020-04-02 Thread John Taylor
John Taylor added the comment: https://github.com/python/cpython/pull/19313 I have just signed the CLA. -- ___ Python tracker ___

[issue39704] Disable code coverage

2020-04-02 Thread Larry Hastings
Larry Hastings added the comment: Since explicit is better than implicit: yes, we do need backports. PRs against 3.5 are getting marked red because of automated codecov complaints. -- nosy: +larry ___ Python tracker

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: > I tested with both PR 19312 and PR 19308 and I still have the same crash Which test is causing the issue? Does it still crash if you comment test_input_no_stdout_fileno()? Try to rename it "Xtest_input_no_stdout_fileno" to skip it. What if you only run t

[issue17005] Add a topological sort algorithm

2020-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: > If your alternative isn't equally easy to use in a parallelized > context, I'll be at best +0. We may need two versions then, a full-featured TopologicalSorter() class and a simple tsort() function that doesn't aspire to be all things to all people. ---

[issue19961] MacOSX: Tkinter build failure when building without command-line tools

2020-04-02 Thread Furkan Onder
Furkan Onder added the comment: You can try this solution, https://stackoverflow.com/questions/11465258/xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion#12089021 -- nosy: +furkanonder ___ Python tracker

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18679 pull_request: https://github.com/python/cpython/pull/19314 ___ Python tracker ___ __

[issue17005] Add a topological sort algorithm

2020-04-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > We may need two versions then, a full-featured TopologicalSorter() class and > a simple tsort() function that doesn't aspire to be all things to all people. How this other version would differ from using .add() + .static_order() as Tim mentions? Ori

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: isidentical@gcc-solaris11:~/cpython$ ./python -m test test_builtin -m test_input_no_stdout_fileno -F -j10 -v == CPython 3.9.0a5+ (heads/master:dc4e965, Apr 2 2020, 23:53:26) [GCC 5.5.0] == Solaris-2.11-sun4u-sparc-32bit big-endian == cwd: /export/home/isidenti

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: Batuhan: Ok, now please test PR 19314 which registers a signal handler for SIGHUP. It should fix the issue for Solaris. Moreover, I also includes the fix for AIX (bpo-40155). -- ___ Python tracker

[issue35455] Solaris thread_time doesn't work with current implementation

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: This issue is still valid under other solaris/sunos versions. @kulikjak are you still interested in resolving this issue? -- nosy: +BTaskaya resolution: not a bug -> status: closed -> open versions: +Python 3.9 _

[issue40161] Name collisions in pythoncore, preventing unity/jumbo build

2020-04-02 Thread Alexander Riccio
New submission from Alexander Riccio : This isn't a priority issue I'd say. However, fixing it could yield nice benefits. I ran into this while experimenting with JUMBO/Unity builds as part of a bit of fun I've been having tweaking build options across the CPython ecosystem. Theoretically, a

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Victor, PR 19314 works perfectly. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue17005] Add a topological sort algorithm

2020-04-02 Thread Tim Peters
Tim Peters added the comment: Possibly, sure. But I believe it's hard to beat add(node, *predecessors) for usability as a way to build the dependency graph. For example, a list of pairs is a comparative PITA for most use cases I've had. Whether it's following a recipe to bake a cake,

[issue17005] Add a topological sort algorithm

2020-04-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Is also notable to mention that you can also provide the graph as a dictionary to the constructor: >>> graph = {D: {B, C}, C: {A}, B: {A}, A:{object}} >>> ts = TopologicalSorter(graph) -- ___ Python tracker

[issue17005] Add a topological sort algorithm

2020-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: How about I post a PR so we can talk about something concrete. Then you two can either fight it to its death or you can join me in making it is good as possible, hopefully the latter :-) I am not happy with the current API but do accept that both of you

[issue36541] Make lib2to3 grammar better match Python, support the := walrus

2020-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +18680 pull_request: https://github.com/python/cpython/pull/19315 ___ Python tracker

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7a51a7e19f0143f75f8fc9ff68f93ed40937aec6 by Victor Stinner in branch 'master': bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314) https://github.com/python/cpython/commit/7a51a7e19f0143f75f8fc9ff68f93ed40937aec6 -- _

  1   2   >