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

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

[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

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

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

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

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

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

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

[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

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

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

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

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

[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

[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

[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

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

[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

[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

[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

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

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

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

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

[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

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

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

[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

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

[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

[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

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

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

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

[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 STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker ___ __

[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

[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

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

[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

[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

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

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

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

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

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

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

[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

[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

[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

[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

[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

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

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

[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

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

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

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

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

[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 Erlend E. Aasland
Erlend E. Aasland added the comment: I feared that ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

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

[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

[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

[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: $ git diff diff --git a/Lib/ssl.py b/Lib/ssl.py index 2b131de043..9c281d8028 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -257,8 +257,9 @@ class _TLSMessageType: if sys.platform == "win32": from _ssl import enum_certificates, enum_crls +from test.supp

[issue44232] Crash in Objects/typeobject.c

2021-05-25 Thread Ken Jin
Ken Jin added the comment: Can you please try removing the `assert(type != NULL);` line at https://github.com/python/cpython/blob/main/Objects/typeobject.c#L3313 and see if it works for you? I suspect that `winner->tp_new()` may sometimes fail and *should* return NULL to indicate that in tho

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

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 29669245d4ad760f43853a7a0434143090135331 by Ken Jin in branch 'main': bpo-44156: Make cached string constants in compile.c subinterpreter compatible (GH-26161) https://github.com/python/cpython/commit/29669245d4ad760f43853a7a0434143090135331

[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1b940eb410e2755538a36d87fe4aa8d8783183d6 by Erlend Egeberg Aasland in branch 'main': bpo-44231: Don't export internal _PyTuple_FromArray() symbol (GH-26352) https://github.com/python/cpython/commit/1b940eb410e2755538a36d87fe4aa8d8783183d6

[issue44231] Remove _PyTuple_FromArray from the public API

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

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

2021-05-25 Thread STINNER Victor
STINNER Victor added the comment: > make test TESTOPTS="-v test_embed test_tabnanny" I'm talking about commands *before make test. How did you get the tarball? How did you configure Python? How did you build it? log_configure 3.9.2.log doesn't contain the configure command. log_make 3.9.2.

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Erlend, could you maybe add some context to the messages, unfortunately, I am failing to understand what they mean :( -- ___ Python tracker _

[issue44234] Debugging with LLDB doesn't work for universal2 installer on macOS Big Sur

2021-05-25 Thread Ronald Oussoren
New submission from Ronald Oussoren : I've installed python 3.9.5 using the universal2 installer on my M1 MacBook. Debugging this python using lldb doesn't work because the debugger cannot attach to the (newly launched) binary. This appears to be due to a missing entitlement in the signed ex

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Christian Heimes
Christian Heimes added the comment: me, too. Did the change of import for timeout setting cause the issue? -- ___ Python tracker ___ __

[issue38768] [feature request] Add lldb equivalent to Tools/gdb

2021-05-25 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue20408] memoryview() constructor documentation error

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

[issue20408] memoryview() constructor documentation error

2021-05-25 Thread Berker Peksag
Berker Peksag added the comment: New changeset d18e5dae914b1db49b25ed7729c07a535d1f0c52 by Mariusz Felisiak in branch 'main': bpo-20408: Fix memoryview() signature in docs (GH-24431) https://github.com/python/cpython/commit/d18e5dae914b1db49b25ed7729c07a535d1f0c52 -- __

[issue20408] memoryview() constructor documentation error

2021-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +24947 pull_request: https://github.com/python/cpython/pull/26355 ___ Python tracker _

[issue44232] Crash in Objects/typeobject.c

2021-05-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-lis

[issue20408] memoryview() constructor documentation error

2021-05-25 Thread Berker Peksag
Berker Peksag added the comment: New changeset 05f8ad0c745016cd8b5bdbda4336688b80f45fd7 by Miss Islington (bot) in branch '3.10': bpo-20408: Fix memoryview() signature in docs (GH-24431) https://github.com/python/cpython/commit/05f8ad0c745016cd8b5bdbda4336688b80f45fd7 -- __

[issue20408] memoryview() constructor documentation error

2021-05-25 Thread Berker Peksag
Berker Peksag added the comment: New changeset 8accb8c8ccf371021cba5a2b91f5b7c711fa8149 by Miss Islington (bot) in branch '3.9': bpo-20408: Fix memoryview() signature in docs (GH-24431) https://github.com/python/cpython/commit/8accb8c8ccf371021cba5a2b91f5b7c711fa8149 -- ___

[issue20408] memoryview() constructor documentation error

2021-05-25 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.8 ___ Python tracker ___

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

2021-05-25 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +24949 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/26357 ___ Python tracker ___ __

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

2021-05-25 Thread Filipe Laíns
Filipe Laíns added the comment: I would not expect SOURCE_DATE_EPOCH to sacrifice performance. During packaging, SOURCE_DATE_EPOCH is always set, and sometimes we need to perform expensive operations. We only need this behavior during cache generation, making the solution not optimal. Backtr

[issue44235] Remove l*gettext() and related functions in the gettext module

2021-05-25 Thread Dong-hee Na
New submission from Dong-hee Na : Those APIs were planned to remove at Python 3.10. Now it's python 3.11 it looks okay to remove now. -- components: Library (Lib) messages: 394362 nosy: corona10, serhiy.storchaka priority: normal severity: normal status: open title: Remove l*gettext() a

[issue44214] PyArg_Parse* for vectorcall?

2021-05-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: Annoyingly the keywords variant is the most interesting to expose :-) due to the complexity of correctly interpreting keyword arguments. I agree that we should be careful in exposing the APIs using _PyArg_Parser, although it should be easer to expose it onl

[issue44235] Remove l*gettext() and related functions in the gettext module

2021-05-25 Thread Dong-hee Na
Dong-hee Na added the comment: @serhiy If you are okay, can I process this issue? -- ___ Python tracker ___ ___ Python-bugs-list m

[issue44235] Remove l*gettext() and related functions in the gettext module

2021-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Go ahead! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue44010] IDLE: highlight soft keywords

2021-05-25 Thread E. Paine
E. Paine added the comment: Can we close this, or are we leaving it open for when (if) we do a colouriser refactor? -- ___ Python tracker ___

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Yes, sorry ‘bout the cryptic messages :) This is against current main branch (I’m not at my computer right now, so I don’t have the git ref). The first two failures came after 328 and 389 runs. Increasing the timeout (using test.support.SHORT_TIMEOUT) made

[issue44236] Define SOABI, LIBRARY, LDLIBRARY and LIBPL on Windows

2021-05-25 Thread Steve Dower
New submission from Steve Dower : Python on Windows currently has no values in sysconfig to locate the lib files for building. Though these are very predictable (for now), it would be nice to have them in the same place as for other platforms. I propose defining the following config vars in s

[issue44236] Define SOABI, LIBRARY, LDLIBRARY and LIBPL on Windows

2021-05-25 Thread Steve Dower
Steve Dower added the comment: Should actually be: LIBPL=Path(sysconfig.get_config_var("installed_base")) / "libs" -- ___ Python tracker ___ _

[issue44010] IDLE: highlight soft keywords

2021-05-25 Thread Tal Einat
Tal Einat added the comment: IMO this can be closed, so I'm closing this. (Terry is welcome to reopen this if needed.) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue44232] Crash in Objects/typeobject.c

2021-05-25 Thread Ken Jin
Ken Jin added the comment: Alright, I got a minimum reproducible example: class XBase(type): def __new__(cls, name, bases, attrs, **kwargs): attrs.pop('__module__') return super().__new__(cls, name, bases, attrs, **kwargs) class X(metaclass=XBase): ... type('A', (X, ), {}

[issue44214] PyArg_Parse* for vectorcall?

2021-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are alternative ideas of parsing API which should be considered: 1. Linearize keyword arguments using _PyArg_UnpackKeywords() and parse the linear array of arguments with a variant of _PyArg_ParseStack(). 2. Parse arguments outside of the user functi

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

2021-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Possible solution: add an ordered subtype of frozenset which would keep an array of items in the original order. The compiler only creates frozenset when optimizes "x in {1, 2}" or "for x in {1, 2}". It should now create an ordered frozenset from a list of

  1   2   >