[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Got it: 0:02:29 load avg: 2.81 [389] test_ssl test test_ssl failed -- Traceback (most recent call last): File "/Users/erlendaasland/src/cpython-ssl/Lib/test/test_ssl.py", line 2132, in test_get_server_certificate _test_get_server_certificate(self, *s

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Getting there. The error message is similar: $ ./python.exe -m test test_ssl -m test_get_server_certificate -u all -F ... 0:02:11 load avg: 2.10 [328] test_ssl test test_ssl failed -- Traceback (most recent call last): File "/Users/erlendaasland/src/cpyth

[issue43921] test_ssl fails on Windows buildbots

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Also, I think the solution in: https://github.com/python/cpython/pull/25561 (skipping the test) is not acceptable for the next beta. Christian, I know that this is complicated for you yo reproduce and that this is a hard issue to debug, but this see

[issue42392] [document removal of] the deprecated 'loop' parameter asyncio API in 3.10

2021-05-25 Thread Ken Jin
Ken Jin added the comment: > There appear to be no versionchanged:: 3.10 in the asyncio docs on the APIs > that formerly accepted a loop= parameter Sorry, I missed that. Working on it. -- ___ Python tracker __

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I feared that ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue43921] test_ssl fails on Windows buildbots

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Also, this started to happen after the changes in PEP 644, and seems that reverting all changes related to the pep fixes the issue (at least I cannot reproduce it anymore after manually reverting the changes). -- _

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Is possible that these are flaky tests but I am afraid this may be something more important so o would prefer to go with 3 ;) -- ___ Python tracker _

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I’ll see if I can provoke it on my Mac. What’s the preferred solution? 1. Catch the connection failure and skip the test? 2. Retry connection? 3. Find the root cause and make sure it never ever happens :) Maybe 2. is acceptable :) --

[issue43921] test_ssl fails on Windows buildbots

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, but bear in mind that this will block the next beta and you are the expert in this area. -- ___ Python tracker ___ __

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I neither have a macOS nor a Windows machine to reproduce and debug the > issue. Can you maybe use a VM for Windows? -- ___ Python tracker __

[issue44131] [C API] Add tests on Py_FrozenMain()

2021-05-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue5758] fileinput.hook_compressed returning bytes from gz file

2021-05-25 Thread Jason R. Coombs
Jason R. Coombs added the comment: I did consider and confirm that mode="rb" does also provide a uniform solution, but it also regresses the behavior of uncompressed inputs, making them bytes where they were text. This approach feels like the "Python 1" compatibility approach. At least in m

[issue44208] argparse: Accept option without needing to distinguish "-" from "_" in arg_string

2021-05-25 Thread Eric V. Smith
Eric V. Smith added the comment: I agree with Raymond: I've never seen this behavior anywhere. In general, I think being looser with allowed inputs is not a good idea. -- nosy: +eric.smith ___ Python tracker __

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-05-25 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +24946 pull_request: https://github.com/python/cpython/pull/26354 ___ Python tracker ___ ___

[issue44233] Provide Windows Terminal Fragment Extension

2021-05-25 Thread Mickaël Véril
New submission from Mickaël Véril : Windows terminal has now a new feature called Fragment Extension. This can be used by third party applications to let Terminal know they exist. So, if the python team add a Fragment Extensions for python it allows python to appear directly as a profile in Wi

[issue44131] [C API] Add tests on Py_FrozenMain()

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 68b9c20a98887bf0a92698f8df9f28b9440970dc by Miss Islington (bot) in branch '3.10': bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241) (GH-26353) https://github.com/python/cpython/commit/68b9c20a98887bf0a92698f8

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 68b9c20a98887bf0a92698f8df9f28b9440970dc by Miss Islington (bot) in branch '3.10': bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241) (GH-26353) https://github.com/python/cpython/commit/68b9c20a98887bf0a92698f8

[issue42591] Method Py_FrozenMain missing in libpython3.9

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 68b9c20a98887bf0a92698f8df9f28b9440970dc by Miss Islington (bot) in branch '3.10': bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241) (GH-26353) https://github.com/python/cpython/commit/68b9c20a98887bf0a92698f8

[issue44230] lookup extensions with the stable ABI under a platform specific name

2021-05-25 Thread Matthias Klose
Matthias Klose added the comment: > How will these filenames be generated? Won't build tools like setuptools need > to be changed as well? If the preferred file name stays the same, it would be up to the distro specific packaging tools. But yes, if the platform specific name would be the p

[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +24942 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26352 ___ Python tracker __

[issue42591] Method Py_FrozenMain missing in libpython3.9

2021-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24944 pull_request: https://github.com/python/cpython/pull/26353 ___ Python tracker _

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +24943 pull_request: https://github.com/python/cpython/pull/26353 ___ Python tracker ___ __

[issue44131] [C API] Add tests on Py_FrozenMain()

2021-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24945 pull_request: https://github.com/python/cpython/pull/26353 ___ Python tracker _

[issue44230] lookup extensions with the stable ABI under a platform specific name

2021-05-25 Thread Petr Viktorin
Petr Viktorin added the comment: How will these filenames be generated? Won't build tools like setuptools need to be changed as well? -- ___ Python tracker ___ __

[issue44232] Crash in Objects/typeobject.c

2021-05-25 Thread Mariusz Felisiak
New submission from Mariusz Felisiak : We noticed a behavior change in [1]. One of our tests `apps.tests.AppsTests.test_model_clash()`[2] crashes with: python: Objects/typeobject.c:3219: type_new: Assertion `type != NULL' failed. Fatal Python error: Aborted Current thread 0x7ffa6951a280 (

[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- Removed message: https://bugs.python.org/msg394328 ___ Python tracker ___ ___ Python-bugs-list mail

[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : I propose to remove the undocumented function _PyTuple_FromArray from the public API, by using the extern keyword iso. PyAPI_FUNC. _PyTuple_FromArray was introduced by bpo-36030 in GH-11954 during the Python 3.8 alpha phase. In the stdlib, it is used by

[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : I propose to remove the undocumented function _PyTuple_FromArray from the public API, by using the extern keyword iso. PyAPI_FUNC. _PyTuple_FromArray was introduced by bpo-36030 in GH-11954 during the Python 3.8 alpha phase. In the stdlib, it is used by

[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-25 Thread George-Cristian Bîrzan
George-Cristian Bîrzan added the comment: The timeline there is wrong. This issue's creation time isn't the disclosure time, it's when the bug was introduced. The disclosure was on 30th of May, when I emailed secur...@python.org and Christian Heimes commented here and made https://github.com/

[issue44206] Add a version number to dict keys.

2021-05-25 Thread Mark Shannon
Mark Shannon added the comment: Which optimizations? LOAD_GLOBAL: Using a keys version instead of a whole dict version means that LOAD_GLOBAL won't leak references. It also means that we can (in the future) remove the PEP 509 version and save 8 bytes per dict. LOAD_ATTR: _PyDict_GetItemHint

[issue44230] lookup extensions with the stable ABI under a platform specific name

2021-05-25 Thread Matthias Klose
New submission from Matthias Klose : On Posix targets, the file names for extensionsions are currently foo.cpython-39-x86_64-linux-gnu.so foo.abi3.so for platforms which have PLATFORM_TRIPLET defined. This makes it clear which extension belongs to which interpreter, and at least on Debian an

[issue43109] When using Apple Clang, --with-lto builds should not check for llvm-ar

2021-05-25 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker ___ __

[issue43109] When using Apple Clang, --with-lto builds should not check for llvm-ar

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: Thanks to the bug report Andrew C. Morrow, it's now fixed. Commits in main: commit 59acfd4a09df1c141dac7845eed008af8970fce7 Author: Ned Deily Date: Mon May 24 23:00:04 2021 -0400 bpo-43109: Fix --with-lto configure option on macOS (GH-26341)

[issue43109] When using Apple Clang, --with-lto builds should not check for llvm-ar

2021-05-25 Thread miss-islington
miss-islington added the comment: New changeset ddc503c8d20c4893e69b5bf466ad85da6a3f0be6 by Miss Islington (bot) in branch '3.10': bpo-43109: configure doc: LTO requires "ar" on macOS (GH-26349) https://github.com/python/cpython/commit/ddc503c8d20c4893e69b5bf466ad85da6a3f0be6 -- __

[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: I created https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html to track this vulnerability. Python 3.8 is left unchanged (accept leading zeros). Python 3.7 and older are not affected. -- ___

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-05-25 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +24941 pull_request: https://github.com/python/cpython/pull/26351 ___ Python tracker ___ ___

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Christian Heimes
Christian Heimes added the comment: The problem could be related to bpo-43921. I neither have a macOS nor a Windows machine to reproduce and debug the issue. Since I'm cannot reproduce the problem on Linux, I'm unable to debug and fix it. -- ___ P

[issue43921] test_ssl fails on Windows buildbots

2021-05-25 Thread Christian Heimes
Christian Heimes added the comment: I neither have a macOS nor a Windows machine to reproduce and debug the issue. Since I'm cannot reproduce the problem on Linux, I'm unable to debug and fix it. -- ___ Python tracker

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Notice this issue is marked as "deferred blocker" it won't block this beta release (beta 2) but it will block the next. -- ___ Python tracker ___

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue43921] test_ssl fails on Windows buildbots

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The issue is marked as referred blocker, it won't block this beta release, but it will block the next, so we should decide how to proceed by then -- ___ Python tracker _

[issue43921] test_ssl fails on Windows buildbots

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately this is still failing sporadically. Last failure 5 days ago: https://buildbot.python.org/all/#/builders/405/builds/153 -- ___ Python tracker __

[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm closing this, if someone thinks something is missing, please, reopen -- nosy: +pablogsal resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43109] When using Apple Clang, --with-lto builds should not check for llvm-ar

2021-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +24940 pull_request: https://github.com/python/cpython/pull/26350 ___ Python tracker ___ __

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: Guido: "I don’t think we’re waiting for more crazy hacks." Right now, _ast.AST is still mutable: $ ./python Python 3.11.0a0 (heads/subtype_dealloc-dirty:efd45ad788, May 21 2021 >>> import _ast >>> _ast.AST.x=1 >>> _ast.AST.x 1 --

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: main branch: commit a09fc9c63f1b5980c62ff2712f67500bacb92b04 Author: Erlend Egeberg Aasland Date: Fri May 14 00:44:55 2021 +0200 bpo-43908: Add What's New entry for Py_TPFLAGS_IMMUTABLETYPE flag (GH-25816) -- _

[issue44031] python3.8.9, python3.9.2 test_embed test_tabnanny failed

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: Please provide *all* commands that you typed before you got the error. -- ___ Python tracker ___

[issue43583] make test failures, 2 tests failed: test_embed test_tabnanny

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: > I'm trying to install python 3.9.2 on a 18.04.5 ubuntu. I downloaded the > Python-3.9.2.tar.xz and followed the readme.txt installation instructions. > When executing the "make test" command I get this error : Please provide *all* commands that you typed

[issue37596] Reproducible pyc: frozenset is not serialized in a deterministic order

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: > Another idea, would it be possible to add a flag to turn on reproducibility, > sacrificing performance? The flag is the SOURCE_DATE_EPOCH env var, no? -- ___ Python tracker

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: > The commit that fixes the issue in 3.10 is > https://github.com/python/cpython/commit/7f1305ef9ea7234e1a5aacbea17490232e9b7dc2 Right, the _ssl module was ported to multiphase initialization (PEP 489) in bpo-42333 (fixed in Python 3.10.0a3). > This is a r

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: I close the issue, but you can still reference the bpo issue number for your PR with the changelog (NEWS) entry. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-05-25 Thread Jakub Kulik
Jakub Kulik added the comment: Sorry for delayed response. Considering that we are not delivering or using 3.8 in any way and this issue doesn't seem to impact anybody else, we can omit the backport to 3.8. I will prepare another PR with a news fragment, and after that, this can be considere

[issue44156] [subinterpreters] Replace static string caches with subinterpreter-compatible alternatives

2021-05-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: Fix in the main branch: commit c10c2ec7a0e06975e8010c56c9c3270f8ea322ec Author: Antoine Pitrou Date: Fri May 14 21:37:20 2021 +0200 bpo-37788: Fix reference leak when Thread is never joined (GH-26103) When a Thread is not joined afte

[issue44032] Function locals and evaluation stack should be stored in a contiguous, per-thread stack

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: bpo-44184 has been fixed, it was unrelated. Mark fixed a bug in commit af5d497f72ceaf3f207a8aded028607c4c46a993. It seems like all issues are solved, I close the issue. Mark: please set the version field to 3.11 for work in 3.11. Commits: commit b11a951f1

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: Do you want to attempt to backport the fix to 3.8, or can this issue be closed? -- ___ Python tracker ___ ___

[issue43109] When using Apple Clang, --with-lto builds should not check for llvm-ar

2021-05-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +24939 pull_request: https://github.com/python/cpython/pull/26349 ___ Python tracker ___ __

[issue44228] [urllib] Error with handling of urllib.parse.quote. Terminates halfway

2021-05-25 Thread Swee Tat Lim
Swee Tat Lim added the comment: yeah. Please close. Definitely a problem with the parameter expansion. -- ___ Python tracker ___

[issue44228] [urllib] Error with handling of urllib.parse.quote. Terminates halfway

2021-05-25 Thread Martin Panter
Martin Panter added the comment: I presume this is because you are running a Unix shell, and it's nothing to do with Python. Look up how quoting and variable substitution with dollar signs $ works. $ set -o nounset $ python3 -c "import urllib.parse; print (urllib.parse.quote('ab$cd&efg#hij$

[issue41282] Deprecate and remove distutils

2021-05-25 Thread Petr Viktorin
Petr Viktorin added the comment: Thank you for doing the hard part, Ned! -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue42194] Docs for argparse.BooleanOptionalAction missing "New in version 3.9"

2021-05-25 Thread John Belmonte
Change by John Belmonte : -- nosy: +jbelmonte nosy_count: 6.0 -> 7.0 pull_requests: +24938 pull_request: https://github.com/python/cpython/pull/26348 ___ Python tracker ___ ___

[issue44206] Add a version number to dict keys.

2021-05-25 Thread Inada Naoki
Inada Naoki added the comment: For class dict, there is a method cache. For instance dict, there is a LOAD_ATTR optimization. https://github.com/python/cpython/blob/b11a951f16f0603d98de24fee5c023df83ea552c/Python/ceval.c#L3458 So I want to see the performance gain of the optimization using dk_

[issue44120] logging.config.fileConfig/dictConfig can not import class

2021-05-25 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue44043] 3.10 b1 armhf Bus Error in hashlib test: test_gil

2021-05-25 Thread Christian Heimes
Christian Heimes added the comment: The fix was merged into 3.10 almost 3 weeks ago, https://github.com/python/cpython/commit/3b2a45ff95a68acc8276b37678c98740a232f6d4 . I forgot to close this bug. -- resolution: -> fixed stage: -> resolved status: open -> closed __

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- title: test_get_server_certificate fails on macOS -> test_get_server_certificate fails intermittently on macOS ___ Python tracker ___

[issue44229] test_get_server_certificate fails on macOS

2021-05-25 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : See https://github.com/python/cpython/pull/26104/checks?check_run_id=2662511684 == ERROR: test_get_server_certificate (test.test_ssl.SimpleBackgroundTests) ---

[issue2771] Test issue

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: Close (test IRC bot). Test is successful! "09:18 < irker301> vstinner #2771/Test issue: [open] test IRC bot https://bugs.python.org/issue2771"; logged on #python-dev-infras https://github.com/python/psf-salt/issues/208#event-4790301517 -- resolution

[issue2771] Test issue

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: test IRC bot -- nosy: +vstinner resolution: fixed -> status: closed -> open ___ Python tracker ___ __

[issue33213] crypt function not hashing properly on Mac (uses a specific salt)

2021-05-25 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: -mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

<    1   2