[issue38181] some trable with max when np.nan is in the first of a list

2019-09-16 Thread 薛定谔的喵
薛定谔的喵 <1147945...@qq.com> added the comment: thanks . -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue38181] some trable with max when np.nan is in the first of a list

2019-09-16 Thread Mark Dickinson
Mark Dickinson added the comment: Right, `max` can only give meaningful results when presented with elements that belong to a totally-ordered collection. Unfortunately, floats-including-nan is not such a collection (though floats-excluding-nan *is*, provided we ignore wrinkles with positive

[issue38168] Refleaks in setint() of mmapmodule.c

2019-09-16 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 68d8c122972d7a49627b983af4ccbfad9f5ade17 by Xiang Zhang in branch '2.7': [2.7] bpo-38168: Fix a possbile refleak in setint() of mmapmodule.c (GH-16136) (GH-16176) https://github.com/python/cpython/commit/68d8c122972d7a49627b983af4ccbfad9f5ade17

[issue38168] Refleaks in setint() of mmapmodule.c

2019-09-16 Thread Xiang Zhang
Change by Xiang Zhang : -- components: +Extension Modules -Interpreter Core resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 2.7, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue38154] test__xxsubinterpreters: random failures on AMD64 FreeBSD CURRENT Shared 3.x

2019-09-16 Thread Kyle Stanley
Kyle Stanley added the comment: I believe I found a potential fix, see https://bugs.python.org/issue37224?@ok_message=msg%20352516%20created%0Aissue%2037224%20message_count%2C%20messages%20edited%20ok&@template=item#msg352514. Should I attach the PR to that issue or this one? -- nosy

[issue38181] some trable with max when np.nan is in the first of a list

2019-09-16 Thread Mark Dickinson
Change by Mark Dickinson : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue38182] test_asyncio.test_subprocess: test_stdin_stdout() failed on AMD64 FreeBSD 10-STABLE Non-Debug 3.x

2019-09-16 Thread STINNER Victor
New submission from STINNER Victor : AMD64 FreeBSD 10-STABLE Non-Debug 3.x: https://buildbot.python.org/all/#/builders/167/builds/1535 == ERROR: test_stdin_stdout (test.test_asyncio.test_subprocess.SubprocessMultiLoopWatcherTe

[issue38182] test_asyncio: SubprocessMultiLoopWatcherTests.test_stdin_stdout() failed on AMD64 FreeBSD 10-STABLE Non-Debug 3.x

2019-09-16 Thread STINNER Victor
Change by STINNER Victor : -- title: test_asyncio.test_subprocess: test_stdin_stdout() failed on AMD64 FreeBSD 10-STABLE Non-Debug 3.x -> test_asyncio: SubprocessMultiLoopWatcherTests.test_stdin_stdout() failed on AMD64 FreeBSD 10-STABLE Non-Debug 3.x ___

[issue38182] test_asyncio: SubprocessMultiLoopWatcherTests.test_stdin_stdout() failed on AMD64 FreeBSD 10-STABLE Non-Debug 3.x

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: Python 3.8 also has SubprocessMultiLoopWatcherTests so it's also likely affected. I ran this command for 1 minute on my Linux laptop, it didn't fail: # my laptop has 8 logical CPUs $ ./python -m test test_asyncio -m SubprocessMultiLoopWatcherTests -j20 -F -v

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7, 3.7 and 3.8 buildbot workers are also affected. Python 2.7 fails differently: https://buildbot.python.org/all/#/builders/169/builds/166 0:04:53 load avg: 3.40 [217/404/1] test_idle failed -- running: test_decimal (31 sec 780 ms) Warning: unabl

[issue38184] [2.7] test_site: test_s_option() failed on AMD64 Fedora Rawhide Refleaks 2.7

2019-09-16 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/190/builds/151 Re-running test 'test_site' in verbose mode beginning 6 repetitions 123456 (...) test_aliasing_mbcs (test.test_site.ImportSideEffectTests) ... ok test_no_duplicate_paths (test.test_site.ImportSideEf

[issue38152] AST change introduced tons of reference leaks

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: commit 0247e80f3c529900689425676342cb70ea31a13d Author: Eddie Elizondo Date: Sat Sep 14 09:38:17 2019 -0400 Fix leaks in Python-ast.c (#16127) -- ___ Python tracker

[issue38176] test_threading leaked [1, 1, 1] references: test_threads_join

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: commit 09dc2c672f937cbe53300cb680fca1f9c78ff976 Author: Dino Viehland Date: Sun Sep 15 15:51:44 2019 +0100 Fix missing dec ref (#16158) diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index 8b0a0244bf..1ea2bf28ab 100644 --- a/Modules/_ra

[issue38075] Make random module PEP-384 compatible

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: commit 09dc2c672f937cbe53300cb680fca1f9c78ff976 Author: Dino Viehland Date: Sun Sep 15 15:51:44 2019 +0100 Fix missing dec ref (#16158) diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index 8b0a0244bf..1ea2bf28ab 100644 --- a/Modules/_ra

[issue38106] [2.7] Race in PyThread_release_lock on macOS - can lead to memory corruption and deadlock

2019-09-16 Thread STINNER Victor
Change by STINNER Victor : -- title: Race in PyThread_release_lock - can lead to memory corruption and deadlock -> [2.7] Race in PyThread_release_lock on macOS - can lead to memory corruption and deadlock ___ Python tracker

[issue38178] Remove explicit "loop" argument from EchoClientProtocol example

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: > In modern asyncio code the explicit loop arguments are no longer used since > the loop can always be obtained with get_running_loop(). Yeah, the trend changed. Around Python 3.4, passing explicitly loop was preferred for best performances. Since that time,

[issue35638] Introduce fixed point locale aware format type for floating point numbers

2019-09-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -10795 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35638] Introduce fixed point locale aware format type for floating point numbers

2019-09-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -10794 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35638] Introduce fixed point locale aware format type for floating point numbers

2019-09-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -10796 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33214] join method for list and tuple

2019-09-16 Thread Александр Семенов
Александр Семенов added the comment: in javascript join() is made the other way around ['1','2','3'].join(', ') so, [].join() may confuse some peoples. -- nosy: +iamsav ___ Python tracker

[issue33214] join method for list and tuple

2019-09-16 Thread Christian Heimes
Christian Heimes added the comment: > in javascript join() is made the other way around > ['1','2','3'].join(', ') > so, [].join() may confuse some peoples. It would be too confusing to have two different approaches to join strings in Python. Besides ECMAScript 1 came out in 1997, 5 years aft

[issue33214] join method for list and tuple

2019-09-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: How common is the case of variable number of things to concatenate/union/merge? >From my experience, in most ceases this looks like: result = [] for ...: # many complex statements # may include continue and break result.exten

[issue38185] Weird way of case-insensitive indexing of sqlite3.Row

2019-09-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : sqlite3.Row can be indexed by integers and by strings. In the latter case string matching is case insensitive. But the code that implements this is too simple-minded. It compares UTF-8 representation of two strings ignoring some bit. It works for ASCII le

[issue24363] httplib fails to handle semivalid HTTP headers

2019-09-16 Thread Christian Schmidbauer
Change by Christian Schmidbauer : -- keywords: +patch pull_requests: +15787 pull_request: https://github.com/python/cpython/pull/12214 ___ Python tracker ___ __

[issue33214] join method for list and tuple

2019-09-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is history, but in 1997 Python had the same order of arguments as ECMAScript: string.join(words [, sep]). str.join() was added only in 1999 (226ae6ca122f814dabdc40178c7b9656caf729c2). -- ___ Python tracker <

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Kubilay Kocak
Kubilay Kocak added the comment: This is related to issue 37400 and issue 27838 in that specific invocations of the buildbot service (like via sudo) cause the environment to be setup differently. In this case, I had just started the buildbot worker via sudo prior to the build starting and f

[issue38180] Test pyexpat fails on Fedora 30

2019-09-16 Thread Christian Heimes
Christian Heimes added the comment: What's your expat version? Please post the output of "rpm -qa expat" -- nosy: +christian.heimes ___ Python tracker ___

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-16 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15788 pull_request: https://github.com/python/cpython/pull/16178 ___ Python tracker ___ _

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-16 Thread Steve Dower
Steve Dower added the comment: I've published the sources and binaries for Windows - will get to updating the 3.9/3.8/3.7 branches later today unless someone else does first (should just require version number changes). -- ___ Python tracker

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-16 Thread Steve Dower
Steve Dower added the comment: New changeset d8903416d223d01e23dfa8bffe48b1428d90d202 by Steve Dower in branch '2.7': bpo-38117: Updates bundled OpenSSL to 1.0.2t (GH-16178) https://github.com/python/cpython/commit/d8903416d223d01e23dfa8bffe48b1428d90d202 -- ___

[issue38153] Normalize hashing algorithm names

2019-09-16 Thread Christian Heimes
Christian Heimes added the comment: New changeset e8d7fa2db8a6c641019b06943852492f24ac3e69 by Christian Heimes in branch '3.8': [3.8] bpo-38153: Normalize hashlib algorithm names (GH-16083) (GH-16144) https://github.com/python/cpython/commit/e8d7fa2db8a6c641019b06943852492f24ac3e69

[issue38153] Normalize hashing algorithm names

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15789 pull_request: https://github.com/python/cpython/pull/16179 ___ Python tracker ___ __

[issue33095] Cross-reference isolated mode from relevant locations

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15790 pull_request: https://github.com/python/cpython/pull/16180 ___ Python tracker ___ __

[issue33095] Cross-reference isolated mode from relevant locations

2019-09-16 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +15791 pull_request: https://github.com/python/cpython/pull/16181 ___ Python tracker ___ ___

[issue33095] Cross-reference isolated mode from relevant locations

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 07186c3959a61c3d73b5ccae431cdd32afe70e5e by Miss Islington (bot) in branch '3.8': bpo-33095: Add reference to isolated mode in -m and script option (GH-7764) https://github.com/python/cpython/commit/07186c3959a61c3d73b5ccae431cdd32afe70e5e ---

[issue38153] Normalize hashing algorithm names

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 0067fc287a86cdd8d71dc2d402d596950ff88fca by Miss Islington (bot) in branch '3.8': bpo-38153: detect shake independently from sha3 (GH-16143) https://github.com/python/cpython/commit/0067fc287a86cdd8d71dc2d402d596950ff88fca -- nosy: +mi

[issue33095] Cross-reference isolated mode from relevant locations

2019-09-16 Thread Julien Palard
Julien Palard added the comment: New changeset 210dc3bb37ec57a8b8b16ffe0881181138a6e973 by Julien Palard in branch '3.7': [3.7] bpo-33095: Add reference to isolated mode in -m and script option (GH-7764) (GH-16181) https://github.com/python/cpython/commit/210dc3bb37ec57a8b8b16ffe0881181138a6

[issue38186] Use FindFirstFile in ntpath.realpath() when access is denied

2019-09-16 Thread Steve Dower
New submission from Steve Dower : There remains a case in ntpath.realpath() where a (handled) ERROR_ACCESS_DENIED or ERROR_SHARING_VIOLATION will break out of traversing a series of paths. However, in this case (in os.stat(), for example), we could request the real name of the file from the d

[issue38186] Use FindFirstFile in ntpath.realpath() when access is denied

2019-09-16 Thread Steve Dower
Steve Dower added the comment: See issue38081 and PR 16156 for related discussion and changes. -- ___ Python tracker ___ ___ Python

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-16 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15792 pull_request: https://github.com/python/cpython/pull/16184 ___ Python tracker ___ _

[issue38179] Test subprocess fails on Fedora 30: test_group and test_extra_groups

2019-09-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this should be fixed now as reported in https://bugs.python.org/issue36046#msg352235 . Can you please try the latest master branch? -- nosy: +gregory.p.smith, xtreak ___ Python tracker

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-16 Thread Steve Dower
Steve Dower added the comment: New changeset 3ab73f6bbf4ff66e7ace3c4eab25461b5c7d71d4 by Steve Dower in branch 'master': bpo-38117: Update bundled Windows OpenSSL to 1.1.1d (GH-16184) https://github.com/python/cpython/commit/3ab73f6bbf4ff66e7ace3c4eab25461b5c7d71d4 -- _

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15793 pull_request: https://github.com/python/cpython/pull/16185 ___ Python tracker ___ __

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: I suggest to fix the buildbot workers right now. I plan to leave this issue open until test_idle is fixed. -- ___ Python tracker ___ ___

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-16 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15794 pull_request: https://github.com/python/cpython/pull/16186 ___ Python tracker ___ _

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-16 Thread Steve Dower
Steve Dower added the comment: New changeset 89b8933bb537179f81003928786c5cc6183af591 by Steve Dower in branch 'master': bpo-38081: Add more non-fatal error codes for ntpath.realpath (GH-16156) https://github.com/python/cpython/commit/89b8933bb537179f81003928786c5cc6183af591 -- ___

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15795 pull_request: https://github.com/python/cpython/pull/16187 ___ Python tracker ___ __

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-16 Thread Steve Dower
Change by Steve Dower : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 26729ce74a47c3d16f219aee0a712011622aeeb5 by Miss Islington (bot) in branch '3.8': bpo-38117: Update bundled Windows OpenSSL to 1.1.1d (GH-16184) https://github.com/python/cpython/commit/26729ce74a47c3d16f219aee0a712011622aeeb5 --

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 4924d558478c9bd7f7ee7cd9c00c72c0f281f1a5 by Miss Islington (bot) in branch '3.8': bpo-38081: Add more non-fatal error codes for ntpath.realpath (GH-16156) https://github.com/python/cpython/commit/4924d558478c9bd7f7ee7cd9c00c72c0f281f1a5 --

[issue38106] [2.7] Race in PyThread_release_lock on macOS - can lead to memory corruption and deadlock

2019-09-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-16 Thread Steve Dower
Steve Dower added the comment: New changeset 76d8fb771659a5574604bf78eb2ee090f5c337cc by Steve Dower in branch '3.7': bpo-38117: Update bundled Windows OpenSSL to 1.1.1d (GH-16184) https://github.com/python/cpython/commit/76d8fb771659a5574604bf78eb2ee090f5c337cc --

[issue38187] test.test_tools.test_c_analyzer fails in refleak mode

2019-09-16 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Running the test suite to check refleaks over test.test_tools.test_c_analyzer will always fail, make it impossible for the refleak buildbots to run correctly. Steps to reproduce: ./python -m test test_tools -v -R 3:3

[issue38187] test.test_tools.test_c_analyzer fails in refleak mode

2019-09-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Check this failure in the buildbots for reference: https://buildbot.python.org/all/#/builders/80/builds/705/steps/4/logs/stdio -- ___ Python tracker

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-16 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue38100] Spelling error in unittest.mock code

2019-09-16 Thread Lisa Roach
Lisa Roach added the comment: It helps to comment on the issue before making a PR for it to claim it, as now we have 3 PRs all for the same issue :) We will likely accept the first PR that was created (or in this case the first PR that gets a CLA signed for it) -- __

[issue38185] Weird way of case-insensitive indexing of sqlite3.Row

2019-09-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +15796 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16190 ___ Python tracker ___

[issue38100] Spelling error in unittest.mock code

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15797 pull_request: https://github.com/python/cpython/pull/16191 ___ Python tracker ___ __

[issue38100] Spelling error in unittest.mock code

2019-09-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset a9187c31185fe7ea47271839898416400cc3d976 by Stéphane Wirtel (marcoramirezmx) in branch 'master': bpo-38100: Fix spelling error in unittest.mock code (GH-16168) https://github.com/python/cpython/commit/a9187c31185fe7ea47271839898416400cc3d976 -

[issue27071] unittest.TestCase.assertCountEqual is a very misleading name

2019-09-16 Thread Michael Foord
Michael Foord added the comment: I like assertPermutation (with or without the Is, slight preference for without). -- ___ Python tracker ___ _

[issue38136] Remove AsyncMock.assert_awaited_*

2019-09-16 Thread Lisa Roach
Change by Lisa Roach : -- keywords: +patch pull_requests: +15798 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16192 ___ Python tracker ___ _

[issue38100] Spelling error in unittest.mock code

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset cc8edfbd9c66a40e2d405e49b75227a8d2a4dd55 by Miss Islington (bot) in branch '3.8': bpo-38100: Fix spelling error in unittest.mock code (GH-16168) https://github.com/python/cpython/commit/cc8edfbd9c66a40e2d405e49b75227a8d2a4dd55 -- nosy:

[issue38175] Memory leak in comparison of sqlite.Row objects

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15799 pull_request: https://github.com/python/cpython/pull/16193 ___ Python tracker ___ __

[issue38175] Memory leak in comparison of sqlite.Row objects

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15800 pull_request: https://github.com/python/cpython/pull/16194 ___ Python tracker ___ __

[issue38175] Memory leak in comparison of sqlite.Row objects

2019-09-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8debfa50407107ff2329d01081cdc12d359f1d12 by Serhiy Storchaka in branch 'master': bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. (GH-16155) https://github.com/python/cpython/commit/8debfa50407107ff2329d01081cdc12d359f1d12

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Kubilay Kocak
Kubilay Kocak added the comment: I've restarted the worker via sudo service(8), which shouldn't have the same (environment) issue as starting the rc script directly under sudo https://buildbot.python.org/all/#/builders/168/builds/1462 is running now Let me know if you need any further inform

[issue38188] Incorrect Argument Order for Calls to _winapi.DuplicateHandle() in multiprocessing.reduction.DupHandle

2019-09-16 Thread Cameron Kennedy
New submission from Cameron Kennedy : The DuplicateHandle function is utilized by the DupHandle object to duplicate handles for the purpose of sending and receiving between processes on Windows systems. At least on Python 3.7.3, this function is invoked with an incorrect argument order. In mu

[issue38100] Spelling error in unittest.mock code

2019-09-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Lisa, I don't close this issue because I would like to know if we have to back port to 3.7. The spelling error does exist into 3.7 -- versions: +Python 3.8, Python 3.9 ___ Python tracker

[issue38100] Spelling error in unittest.mock code

2019-09-16 Thread Lisa Roach
Lisa Roach added the comment: (y) Thanks for looking into it Stéphane! -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue38100] Spelling error in unittest.mock code

2019-09-16 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +15801 pull_request: https://github.com/python/cpython/pull/16195 ___ Python tracker ___ __

[issue38188] Incorrect Argument Order for Calls to _winapi.DuplicateHandle() in multiprocessing.reduction.DupHandle

2019-09-16 Thread Ammar Askar
Change by Ammar Askar : -- nosy: +eryksun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue38100] Spelling error in unittest.mock code

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 7aae4f004e69ebec011098f85ab232e2778a0ca4 by Miss Islington (bot) (Stéphane Wirtel) in branch '3.7': [3.7] bpo-38100: Fix spelling error in unittest.mock code (GH-16195) https://github.com/python/cpython/commit/7aae4f004e69ebec011098f85ab232e2778a

[issue38100] Spelling error in unittest.mock code

2019-09-16 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7 ___ Python tracker ___

[issue38189] pip does not run in virtual environment in 3.8

2019-09-16 Thread Jonathan Gossage
New submission from Jonathan Gossage : Python 3.8 was installed from source on Ubuntu 19.04 desktop and a virtual environment was created with python3.8 -m venv venvrh. When attempting to use pip to install a package, the following error was encountered: (venvrh) jgossage@jgossage-XPS-8700:~/

[issue38189] pip does not run in virtual environment in 3.8

2019-09-16 Thread Ammar Askar
Ammar Askar added the comment: As the error says: > Can't connect to HTTPS URL because the SSL module is not available. Since you built it from source, you should check your build logs, the _ssl module likely failed to build. You're most probably missing the openssl dependency. --

[issue38189] pip does not run in virtual environment in 3.8

2019-09-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess it's due to the binary not being built with ssl module. During build did you get a message like below ? Could not build the ssl module! Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host(). LibreSSL

[issue38189] pip does not run in virtual environment in 3.8

2019-09-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I close this issue, it's not related to the packaging of Python, but just to your compilation. As explained by Ammar Askar, when you compile Python, you have to be sure that you have the openssl-dev package installed on your system You can read this page:

[issue21705] cgi.py: Multipart with more than one file is misparsed

2019-09-16 Thread Ethan Furman
Ethan Furman added the comment: The last status was "test-needed" -- has anyone verified that a test exists for this scenario? -- ___ Python tracker ___ _

[issue38165] freezes when loading a program on imports

2019-09-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I close the issue because it's a duplicate of an other issue of the same author. -- nosy: +matrixise resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38162] Import Long Load

2019-09-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I close the issue because there is no discussion :/ -- components: +Unicode -Windows nosy: +ezio.melotti, matrixise, vstinner resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Pytho

[issue38162] Import Long Load

2019-09-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and related to 3.6 (security) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +15802 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16198 ___ Python tracker ___ _

[issue33936] OPENSSL_VERSION_1_1 never defined in _hashopenssl.c

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15803 pull_request: https://github.com/python/cpython/pull/16199 ___ Python tracker ___ __

[issue33936] OPENSSL_VERSION_1_1 never defined in _hashopenssl.c

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15804 pull_request: https://github.com/python/cpython/pull/16200 ___ Python tracker ___ __

[issue33936] OPENSSL_VERSION_1_1 never defined in _hashopenssl.c

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 724f1a57231f9287c37255adf0e4364d12cf693d by Miss Islington (bot) (Christian Heimes) in branch 'master': bpo-33936: Don't call obsolete init methods with OpenSSL 1.1.0+ (GH-16140) https://github.com/python/cpython/commit/724f1a57231f9287c37255adf

[issue33936] OPENSSL_VERSION_1_1 never defined in _hashopenssl.c

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15805 pull_request: https://github.com/python/cpython/pull/16201 ___ Python tracker ___ __

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From IDLE's viewpoint, the 2.7 failures are the same. In current 3.x, >GetUserCfgDir has warn = ('\n Warning: unable to create user config directory\n' + userDir + '\n Check path and permissions.\n Exiting!\n') if not idlelib.testing:

[issue38190] regrtest: test suite completes but Tests Result is not displayed and the process hangs

2019-09-16 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/225/builds/239 ... 0:21:16 load avg: 2.54 [422/423] test_venv passed (1 min 31 sec) -- running: test_tools (1 min 27 sec) running: test_tools (1 min 57 sec) running: test_tools (2 min 27 sec) running: test_tools (2

[issue38005] Coercing strings and non-integer numbers to interpreter ID and channel ID

2019-09-16 Thread Eric Snow
Eric Snow added the comment: Yeah, dropping str support is fine. It wouldn't be hard to add it back in if later we find it's useful. :) -- ___ Python tracker ___ ___

[issue33936] OPENSSL_VERSION_1_1 never defined in _hashopenssl.c

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 1ecc75ad1cdf458c2aa7192844e83c4665a5f9b5 by Miss Islington (bot) in branch '3.8': bpo-33936: Don't call obsolete init methods with OpenSSL 1.1.0+ (GH-16140) https://github.com/python/cpython/commit/1ecc75ad1cdf458c2aa7192844e83c4665a5f9b5

[issue33936] OPENSSL_VERSION_1_1 never defined in _hashopenssl.c

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 5d55d52b61f56522e616ac1423437d4e3f641ce6 by Miss Islington (bot) in branch '2.7': bpo-33936: Don't call obsolete init methods with OpenSSL 1.1.0+ (GH-16140) https://github.com/python/cpython/commit/5d55d52b61f56522e616ac1423437d4e3f641ce6

[issue33936] OPENSSL_VERSION_1_1 never defined in _hashopenssl.c

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset c55f69552cdab26362c1ff4416fe1c3e9b27ccbe by Miss Islington (bot) in branch '3.7': [3.7] bpo-33936: Don't call obsolete init methods with OpenSSL 1.1.0+ (GH-16140) (GH-16200) https://github.com/python/cpython/commit/c55f69552cdab26362c1ff4416fe1

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-16 Thread Glenn Gribble
New submission from Glenn Gribble : At present, it is not possible to use the shorthand notation to define a NamedTuple with typename or fields. I.e., NamedTuple('MyTuple', typename=str, fields=int) does not work. Changing the parameter names to _typename and _fields would allow any non-pri

[issue38162] Import Long Load

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: tempfile uses a low number of random bits per filename, so collision is "likely". Two Python processes might attempt to create the same temporary file "at the same time". Maybe not two processes, but two Python threads. Rather than writing complex locking mec

[issue38187] test.test_tools.test_c_analyzer fails in refleak mode

2019-09-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +nanjekyejoannah, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue38190] regrtest: test suite completes but Tests Result is not displayed and the process hangs

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: > command timed out: 1200 seconds without output running ['make', > 'buildbottest', 'TESTOPTS=-j2 -j4 ${BUILDBOT_TESTOPTS}', 'TESTPYTHONOPTS=', > 'TESTTIMEOUT=900'], attempting to kill faulthandler is supposed to display the traceback where the test hangs, b

[issue38190] regrtest: test suite completes but Tests Result is not displayed and the process hangs

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: > https://buildbot.python.org/all/#/builders/225/builds/239 This bug only occurred once, the next build (240) was fine. -- ___ Python tracker __

[issue38187] test.test_tools.test_c_analyzer fails in refleak mode

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: I also opened https://bugs.python.org/issue38177#msg352474 we should only track this leak in a single issue, you can close bpo-38177. -- ___ Python tracker

[issue38192] Fix invocation of EchoClientProtocol

2019-09-16 Thread Hrvoje Nikšić
Change by Hrvoje Nikšić : -- keywords: +patch pull_requests: +15806 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16202 ___ Python tracker ___ ___

  1   2   >