[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:

[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:

[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

[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) >>>

[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:

[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:

[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)

[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 ___

[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()

[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:

[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 ___

[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

[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:

[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
Change by STINNER Victor : -- keywords: +patch pull_requests: +18668 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19306 ___ 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 ___

[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

[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

[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

[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

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

2020-04-02 Thread Chris Martinez
Chris Martinez added the comment: In testing the fix, another issue has arisen. It appears the specified expression will never yield a usable path. Expression 1: $([msbuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), "python_d.exe")) Expression 2:

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-04-02 Thread Ned Deily
Ned Deily added the comment: Also bpo-40164: reminder to update Windows and macOS installer builds -- nosy: +ned.deily ___ Python tracker ___

[issue38804] Regular Expression Denial of Service in http.cookiejar

2020-04-02 Thread Larry Hastings
Larry Hastings added the comment: New changeset 55a6a16a46239a71b635584e532feb8b17ae7fdf by Victor Stinner in branch '3.5': bpo-38804: Fix REDoS in http.cookiejar (GH-17157) (#17344) https://github.com/python/cpython/commit/55a6a16a46239a71b635584e532feb8b17ae7fdf --

[issue40165] Hide stderror from the user if command failes

2020-04-02 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18690 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19325 ___ Python tracker ___

[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

[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 ___

[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

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

2020-04-02 Thread Tim Hatch
Change by Tim Hatch : -- pull_requests: +18682 pull_request: https://github.com/python/cpython/pull/19317 ___ 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 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

[issue40162] Upgrade Travis CI to OpenSSL 1.1.1f

2020-04-02 Thread STINNER Victor
New submission from STINNER Victor : Similary to bpo-40146 "Upgrade Azure Pipelines to OpenSSL 1.1.1f", the Travis CI configuration has an OpenSSL version. It's currently 1.1.1d, but the tarball of this version moved from /source/ to /source/old/. We should upgrade Travis CI configuration to

[issue40162] Upgrade Travis CI to OpenSSL 1.1.1f

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

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40162: Upgrade Travis CI to OpenSSL 1.1.1f. -- ___ Python tracker ___ ___

[issue40162] Upgrade Travis CI to OpenSSL 1.1.1f

2020-04-02 Thread miss-islington
miss-islington added the comment: New changeset 1ba6fe43e888668acfbf74038b82c6ee24ab1c41 by Miss Islington (bot) in branch '3.7': bpo-40162: Update Travis CI config to OpenSSL 1.1.1f (GH-19319) https://github.com/python/cpython/commit/1ba6fe43e888668acfbf74038b82c6ee24ab1c41 --

[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 ___

[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

[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

[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

[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.

[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:

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

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18681 pull_request: https://github.com/python/cpython/pull/19316 ___ 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

[issue17005] Add a topological sort algorithm

2020-04-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- Removed message: https://bugs.python.org/msg365640 ___ Python tracker ___ ___ Python-bugs-list

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

2020-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: The proposed replacement doesn't succeed in demonstrating why topdown=False is necessary. Consider doing a rename instead of a deletion or print. -- nosy: +rhettinger ___ Python tracker

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

2020-04-02 Thread Ned Deily
Ned Deily added the comment: New changeset ebeabb5b728f009480ced3ca4738c20fa073b507 by Victor Stinner in branch '3.6': bpo-40156: Copy Codecov configuration from master (GH-19306) https://github.com/python/cpython/commit/ebeabb5b728f009480ced3ca4738c20fa073b507 --

[issue40146] Upgrade Azure Pipelines to OpenSSL 1.1.1f

2020-04-02 Thread miss-islington
miss-islington added the comment: New changeset f2296ef9ce586bf2f51c125b085c2b080768040c by Miss Islington (bot) in branch '3.8': bpo-40146: Update OpenSSL to 1.1.1f in Azure Pipelines (GH-19320) https://github.com/python/cpython/commit/f2296ef9ce586bf2f51c125b085c2b080768040c --

[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

[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?

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

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: > Victor, PR 19314 works perfectly. Thanks for testing Batuhan ;-) By the way, Solaris is no longer officially supported by Python: https://pythondev.readthedocs.io/platforms.html#best-effort-and-unofficial-platforms There is no more Solaris buildbot.

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: > bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314) With this change, PPC64 AIX 3.x is back to green. I close this issue. Thanks for the bug report Michael Felt. FYI I also backported my fix to 3.8: PR 19316. -- resolution: ->

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

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

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-40163: multissl doesn't support tarballs in /source/old/. -- ___ Python tracker ___

[issue40163] multissl doesn't support tarballs in /source/old/

2020-04-02 Thread STINNER Victor
New submission from STINNER Victor : Tools/ssl/multissltests.py expects to find OpenSSL tarballs in: https://www.openssl.org/source/ Like: https://www.openssl.org/source/openssl-1.1.1f.tar.gz Problem: OpenSSL moves old versions to https://www.openssl.org/source/old/ If

[issue40163] multissl doesn't support tarballs in /source/old/

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: When OpenSSL moves a tarball, all our pre-commit CIs are broken and suddenly, all PRs can no longer be merged. We have first write PRs to update the configuration of our CI to use the newer OpenSSL version, merge these PRs, and then *all* pending PRs must

[issue40164] Upgrade Windows and macOS installer builds to OpenSSL 1.1.1f

2020-04-02 Thread Ned Deily
New submission from Ned Deily : 1.1.1f released 2020-03-31 Reminder to Windows team to update Windows build. Reminder to macOS team to update macOS installer build. (note: please don't submit a PR or patch for this!) https://www.openssl.org/source/ -- components: Windows, macOS

[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 ___

[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

[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 --

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: I pushed this change which should fix the issue on AIX: New changeset 7a51a7e19f0143f75f8fc9ff68f93ed40937aec6 by Victor Stinner in branch 'master': bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314)

[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: New changeset ed07522a5faa3101f68be8e4b8369310f60860f8 by Victor Stinner in branch '3.5': bpo-40156: Copy Codecov configuration from master (#19309) https://github.com/python/cpython/commit/ed07522a5faa3101f68be8e4b8369310f60860f8 --

[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: Thanks Ned and Larry. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40162] Upgrade Travis CI to OpenSSL 1.1.1f

2020-04-02 Thread miss-islington
miss-islington added the comment: New changeset 1c325c4e0bf31a18d06784006eabf4d5a4a1d706 by Miss Islington (bot) in branch '3.8': bpo-40162: Update Travis CI config to OpenSSL 1.1.1f (GH-19319) https://github.com/python/cpython/commit/1c325c4e0bf31a18d06784006eabf4d5a4a1d706 --

[issue40162] Upgrade Travis CI to OpenSSL 1.1.1f

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 ___ 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

[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:

[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

[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,

[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

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

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

[issue40146] Upgrade Azure Pipelines to OpenSSL 1.1.1f

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7ed2acc6e89cea07f140fc374a77e8b36442df2e by Miss Islington (bot) in branch '3.7': bpo-40146: Update OpenSSL to 1.1.1f in Azure Pipelines (GH-19320) (GH-19324) https://github.com/python/cpython/commit/7ed2acc6e89cea07f140fc374a77e8b36442df2e

[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 ___

[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

[issue40146] Upgrade Azure Pipelines to OpenSSL 1.1.1f

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

[issue40162] Upgrade Travis CI to OpenSSL 1.1.1f

2020-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +18687 pull_request: https://github.com/python/cpython/pull/19322 ___ Python tracker ___

[issue40162] Upgrade Travis CI to OpenSSL 1.1.1f

2020-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +18686 pull_request: https://github.com/python/cpython/pull/19321 ___ Python tracker

[issue40146] Upgrade Azure Pipelines to OpenSSL 1.1.1f

2020-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +18688 pull_request: https://github.com/python/cpython/pull/19323 ___ Python tracker ___

[issue40146] Upgrade Azure Pipelines to OpenSSL 1.1.1f

2020-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +18689 pull_request: https://github.com/python/cpython/pull/19324 ___ Python tracker ___

[issue40162] Upgrade Travis CI to OpenSSL 1.1.1f

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset b1ffb8b72307a556442d09b427c3b29badb9878c by Victor Stinner in branch 'master': bpo-40162: Update Travis CI config to OpenSSL 1.1.1f (GH-19319) https://github.com/python/cpython/commit/b1ffb8b72307a556442d09b427c3b29badb9878c --

[issue40153] json dump with repeated key

2020-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Has this been a problem in practice, or just a theoretical issue? To make this raise an exception, the JSON encoder would have to add one extra test per key. I think we should just document the possibility. -- nosy: +rhettinger

[issue40146] Upgrade Azure Pipelines to OpenSSL 1.1.1f

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1767a0490f80c7b90d81051db24ef2b82cd9434f by Victor Stinner in branch 'master': bpo-40146: Update OpenSSL to 1.1.1f in Azure Pipelines (GH-19320) https://github.com/python/cpython/commit/1767a0490f80c7b90d81051db24ef2b82cd9434f --

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

2020-04-02 Thread Ned Deily
Ned Deily added the comment: New changeset 69cdeeb93e0830004a495ed854022425b93b3f3e by Victor Stinner in branch '3.6': bpo-39503: CVE-2020-8492: Fix AbstractBasicAuthHandler (GH-18284) (GH-19304) https://github.com/python/cpython/commit/69cdeeb93e0830004a495ed854022425b93b3f3e --

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

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > There is no more Solaris buildbot. Solaris 11.4 will be likely the last > release: Oracle no longer supports Solaris. Well, if needed I can create one but looks like it is going be an obsoleted OS soon :/ --

[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 ___

[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

[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) --

[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 ___

[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

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

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: I close the issue, it's now fixed in 3.8 and master (and I'm working on a 3.7 backport: PR 19318). Thanks Batuhan for the bug report. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue40165] Hide stderror from the user if command failes

2020-04-02 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : This is an optional test that would only run if stty size returns a valid output, but if errors I dont think it makes sense to just print that error inside of test logs, there is already a noticement for skipped test. -- components: Tests

[issue40166] UNICODE HOWTO: Change the total number of code points in the introduction section

2020-04-02 Thread Ama Aje My Fren
Change by Ama Aje My Fren : -- keywords: +patch pull_requests: +18693 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19328 ___ Python tracker ___

[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.

2020-04-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: updates: - extern "C" is indeed really only about linking so it has no bearing. What I'm hearing from talking to our C++ compiler team is unfortunately sad: The C++ standard does not support flexible array member syntax on purpose because it leads to

  1   2   >