[issue42627] urllib.request.getproxies() misparses Windows registry proxy settings

2021-09-07 Thread Keuin
Keuin added the comment: The fix is available as a pull request on GitHub for months (https://github.com/python/cpython/pull/26307). However, it seems that this pull request needs an approval from one maintainer before running any test. Could anyone help this out? -- nosy: +keuin _

[issue45124] Remove deprecated bdist_msi command

2021-09-07 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : The bdist_msi command was deprecated in Python 3.9 by bpo-39586 (commit 2d65fc940b897958e6e4470578be1c5df78e319a). It can be removed in Python 3.11. PR to follow. -- components: Distutils messages: 401216 nosy: dstufft, eric.araujo, hugovk prio

[issue45124] Remove deprecated bdist_msi command

2021-09-07 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +26619 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28195 ___ Python tracker __

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: Marking as *potential* release blocker for 3.10. Pablo, without this change the newest pip (with [PR 10358]) will not work on Python 3.10 built --with-platlibdir. This configure option was added in 3.9 for distros that separate `/usr/lib` and `/usr/lib64`, wh

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: IIUC we need to backport PR27655 to 3.10 no? Or do we need something else? -- ___ Python tracker ___ _

[issue45125] Improve tests and docs of how `pickle` works with `SharedMemory` obejcts

2021-09-07 Thread Nikita Sobolev
New submission from Nikita Sobolev : As we've discussed in https://bugs.python.org/msg401146 we need to improve how `SharedMemory` is documented and tested. Right now docs do not cover `pickle` at all (https://github.com/python/cpython/blob/main/Doc/library/multiprocessing.shared_memory.rst).

[issue45052] WithProcessesTestSharedMemory.test_shared_memory_basics fails on Windows

2021-09-07 Thread Nikita Sobolev
Nikita Sobolev added the comment: Closing and moving to https://bugs.python.org/issue45125 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: Possibly together with PR28011. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26621 pull_request: https://github.com/python/cpython/pull/28196 ___ Python tracker _

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 4f88161f07538dfb24a43189fd59bf966cb40817 by Tzu-ping Chung in branch 'main': bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011) https://github.com/python/cpython/commit/4f88161f07538dfb24a43189fd59bf966cb40817

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +26622 pull_request: https://github.com/python/cpython/pull/28197 ___ Python tracker

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 533e725821b15e2df2cd4479a34597c1d8faf616 by Pablo Galindo Salgado in branch 'main': bpo-44963: Implement send() and throw() methods for anext_awaitable objects (GH-27955) https://github.com/python/cpython/commit/533e725821b15e2df2cd4479a

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-09-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +26623 pull_request: https://github.com/python/cpython/pull/28198 ___ Python tracker _

[issue39586] Deprecate bdist_msi: use bdist_wheel instead

2021-09-07 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Following this deprecation in Python 3.9, please see https://bugs.python.org/issue45124 / https://github.com/python/cpython/pull/28195 to remove the deprecation in Python 3.11. -- ___ Python tracker

[issue38644] Pass explicitly tstate to function calls

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: Raymond: > This adds cost to our most critical code paths. For example, type_call() > will now be slower for every single object instantiation. This issue is now closed. Please open a new issue if you consider that the code should be modified. It would also

[issue45124] Remove deprecated bdist_msi command

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset eb254b43d2916ef8c0e9ca815fe047411d848aae by Hugo van Kemenade in branch 'main': bpo-45124: Remove the bdist_msi command (GH-28195) https://github.com/python/cpython/commit/eb254b43d2916ef8c0e9ca815fe047411d848aae -- nosy: +vstinner __

[issue45124] Remove deprecated bdist_msi command

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: Thanks, I merged your PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: Here, I'm not sure. What do people use --home for? I don't think we need to match the `/usr/` scheme here. For Python software that's not part of a distro, I think just `lib/` is fine. -- nosy: +petr.viktorin ___ P

[issue45125] Improve tests and docs of how `pickle` works with `SharedMemory` obejcts

2021-09-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Go ahead. Fix also other issues in tests: * All pickling tests should test with all supported protocols, not just with the default one. * self.assertTrue( isinstance(deserialized_sl, shared_memory.ShareableList) ) assertIsinstance() can

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hum, I reviewed PR 38011 and the change made sense to me, but If you think we should reconsider PR 28011, please say so ASAP because the 3.10 backport is close to be merged -- ___ Python tracker

[issue45119] test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide 3.x

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: The regression seems to come from this recent Linux kernel change: https://github.com/torvalds/linux/commit/406dd42bd1ba0c01babf9cde169bb319e52f6147 If fixing the kernel takes too long, we can temporarily skip the test on Linux kernel 5.15 (or newer). --

[issue45123] PyAiter_Check & PyObject_GetAiter issues

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2c3474a637949aa6f2f7e15f9764c2dfc49cdba1 by Yury Selivanov in branch 'main': bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194) https://github.com/python/cpython/commit/2c3474a637949aa6f2f7e15f9764c2dfc49cdba1 -

[issue45123] PyAiter_Check & PyObject_GetAiter issues

2021-09-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +26624 pull_request: https://github.com/python/cpython/pull/28199 ___ Python tracker _

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-09-07 Thread miss-islington
miss-islington added the comment: New changeset adc80a58f9683468e0ba5a6eed72040f7f6ba405 by Miss Islington (bot) in branch '3.10': bpo-44963: Implement send() and throw() methods for anext_awaitable objects (GH-27955) https://github.com/python/cpython/commit/adc80a58f9683468e0ba5a6eed72040f7

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Miro Hrončok
Miro Hrončok added the comment: > I don't think we need to match the `/usr/` scheme here. For Python software > that's not part of a distro, I think just `lib/` is fine. I agree. -- ___ Python tracker _

[issue44964] Semantics of PyCode_Addr2Line() changed

2021-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +26625 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28200 ___ Python tracker __

[issue27277] Test runner should try to increase stack size if it is too low

2021-09-07 Thread Irit Katriel
Change by Irit Katriel : -- components: -Interpreter Core nosy: +iritkatriel, serhiy.storchaka title: Fatal Python error: Segmentation fault in test_exceptions -> Test runner should try to increase stack size if it is too low type: crash -> enhancement versions: +Python 3.11 -Python 3

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Miro, Petr, do you think then that we should revert PR 28011 -- ___ Python tracker ___ ___

[issue44963] anext_awaitable is not a collections.abc.Generator

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

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: The use case is a "personal stash of Python modules", described here: https://docs.python.org/3/install/#alternate-installation-the-home-scheme We don't need the lib/lib64 distinction here. I'd revert the 3.11 change and go with /lib/ only. --

[issue36550] Avoid creating AttributeError exceptions in the debugger

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Closing as the bug is not clear and the OP is not responding to requests on the PR to clarify it. Please create a new issue if you are still seeing a problem. -- nosy: +iritkatriel resolution: -> rejected stage: patch review -> resolved status: open ->

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +26626 pull_request: https://github.com/python/cpython/pull/28201 ___ Python tracker ___ ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, I am reverting PR 28011. Someone should check it again and decide what to do, but this won't enter 3.10 -- ___ Python tracker ___

[issue44964] Semantics of PyCode_Addr2Line() changed

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset fa2c0b85a8d5c9486661083afdf38cbaadb3432a by Pablo Galindo Salgado in branch 'main': bpo-44964: Add a note explaining the new semantics of f_last_i in frame objects (GH-28200) https://github.com/python/cpython/commit/fa2c0b85a8d5c94866610

[issue44964] Semantics of PyCode_Addr2Line() changed

2021-09-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +26627 pull_request: https://github.com/python/cpython/pull/28202 ___ Python tracker _

[issue44964] Semantics of PyCode_Addr2Line() changed

2021-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: I am unable to reproduce the crash with either example on 3.9 or 3.11 on a Mac. Please create a new issue if you still see a problem on a current version (>= 3.9). -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> cl

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 608a6292366ebba20f33d93d8b52cbb928429e47 by Miss Islington (bot) in branch '3.10': bpo-44860: Make sysconfig posix_user not depend on platlibdir (GH-27655) (GH-28197) https://github.com/python/cpython/commit/608a6292366ebba20f33d93d8b52c

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Petr, is something left to do for this release blocker? I am planning to start the release if everything is OK -- ___ Python tracker

[issue44964] Semantics of PyCode_Addr2Line() changed

2021-09-07 Thread miss-islington
miss-islington added the comment: New changeset fc840736e54da0557616882012f362b809490165 by Miss Islington (bot) in branch '3.10': bpo-44964: Add a note explaining the new semantics of f_last_i in frame objects (GH-28200) https://github.com/python/cpython/commit/fc840736e54da0557616882012f36

[issue45123] PyAiter_Check & PyObject_GetAiter issues

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 53257cf19fc06fff446815b3278d4b80ec3e7ba3 by Miss Islington (bot) in branch '3.10': bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194) (GH-28199) https://github.com/python/cpython/commit/53257cf19fc06fff446815b3278d4b

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 0474d06008f8c9eba660ed20d336ffdc5c4db121 by Erlend Egeberg Aasland in branch 'main': bpo-44991: Normalise `sqlite3` callback naming (GH-28088) https://github.com/python/cpython/commit/0474d06008f8c9eba660ed20d336ffdc5c4db121 -- ___

[issue44991] [sqlite3] cleanup callbacks (GIL handling, naming, ...)

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 0474d06008f8c9eba660ed20d336ffdc5c4db121 by Erlend Egeberg Aasland in branch 'main': bpo-44991: Normalise `sqlite3` callback naming (GH-28088) https://github.com/python/cpython/commit/0474d06008f8c9eba660ed20d336ffdc5c4db121 -- ___

[issue44991] [sqlite3] cleanup callbacks (GIL handling, naming, ...)

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: The remaining function_pinboard_* renames are part of PR-27940. -- ___ Python tracker ___ ___ Pyth

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

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

[issue45123] PyAiter_Check & PyObject_GetAiter issues

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

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 97b754d4b46ad9dd63f68906484f805931578c81 by Pablo Galindo Salgado in branch 'main': Revert "bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011)" (GH-28201) https://github.com/python/cpython/commit/97b754d4b46ad9dd63f6890

[issue45126] [sqlite3] cleanup and harden connection init

2021-09-07 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : Quoting Petr Viktorin in PR 27940, https://github.com/python/cpython/pull/27940#discussion_r703424148: - db is not set to NULL if init fails. - This segfaults for me: import sqlite3 conn = sqlite3.connect(':memory:') conn.execute('CREATE TABLE fo

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: I believe everything is in order now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45034] Improve struct.pack out of range error messages

2021-09-07 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset 8ca6b61e3fd7f1e2876126cee82da8d812c8462f by Nikita Sobolev in branch 'main': bpo-45034: Fix how upper limit is formatted for `struct.pack("H", ...)` (GH-28178) https://github.com/python/cpython/commit/8ca6b61e3fd7f1e2876126cee82da8d812c8462f

[issue45111] whole website translation error

2021-09-07 Thread Eric V. Smith
Eric V. Smith added the comment: Per PEP 545, you should probably raise this on the doc-sig mailing list (https://mail.python.org/mailman/listinfo/doc-sig), and/or one of the repos https://github.com/python/python-docs-zh-cn or https://github.com/python/python-docs-zh-cn. I'm going to close

[issue36550] Avoid creating AttributeError exceptions in the debugger

2021-09-07 Thread daniel hahler
daniel hahler added the comment: Given code like the following the try/except handling of Pdb (via `Cmd.onecmd`, see https://github.com/python/cpython/pull/4666) will mess with `sys.exc_info()`, which could be avoided: ``` try: raise ValueError() except Exception as exc: e = exc _

[issue45034] Improve struct.pack out of range error messages

2021-09-07 Thread Mark Dickinson
Mark Dickinson added the comment: The out-of-range error messages for unsigned short and short have been fixed, thanks to Nikita Sobolev. They resulted from a rather odd use of the Py_STRINGIFY macro, which meant that not only were the messages obscure, but they differed from system to syste

[issue44869] MacOS Monterrey malloc issue

2021-09-07 Thread Eduardo Morales
Eduardo Morales added the comment: Not sure if this is helpful, but I am attaching the MacOS bug log that is auto-generated when Python fails. -- Added file: https://bugs.python.org/file50267/bug.log ___ Python tracker

[issue44869] MacOS Monterrey malloc issue

2021-09-07 Thread Eduardo Morales
Eduardo Morales added the comment: Also: (base) ➜ backend git:(development) ✗ PYTHONFAULTHANDLER=1 python3 server.py CONFIG_FILE=../config/development.json Python(27657,0x10839f600) malloc: *** error for object 0x7ffb4ac81d10: pointer being freed was not allocated Python(27657,0x10839f600) m

[issue44869] MacOS Monterrey malloc issue

2021-09-07 Thread Eduardo Morales
Change by Eduardo Morales : -- versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue17970] Mutlithread XML parsing cause segfault

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: I've reproduced the segfault on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___

[issue21825] Embedding-Python example code from documentation crashes

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: 3.4 is long out of maintenance, please create a new issue if you are seeing this problem on a current version (>= 3.9). You are more likely to receive a response if you include a precise and complete description of the problem. For example, instead of saying "

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 979336de34e3d3f40cf6e666b72a618f6330f3c1 by Erlend Egeberg Aasland in branch 'main': bpo-42064: Pass module state to trace, progress, and authorizer callbacks (GH-27940) https://github.com/python/cpython/commit/979336de34e3d3f40cf6e666b72a618f63

[issue44991] [sqlite3] cleanup callbacks (GIL handling, naming, ...)

2021-09-07 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36550] Avoid creating AttributeError exceptions in the debugger

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Reopened. -- resolution: rejected -> status: closed -> open versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +26628 pull_request: https://github.com/python/cpython/pull/28204 ___ Python tracker ___ __

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-07 Thread Vincent Michel
Vincent Michel added the comment: My team ran into this issue while developing a fuse application too. In an effort to help this issue move forward, I tried to list all occurrences of the `isatty` C function in the cpython code base. I found 14 of them. 9 of them are directly related to stdi

[issue45052] WithProcessesTestSharedMemory.test_shared_memory_basics fails on Windows

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This seem to have caused several errors that have manifested on the release of 3.10.0rc2: test test_multiprocessing_fork failed -- Traceback (most recent call last): File "/tmp/tmpu30qfjpr/installation/lib/python3.10/unittest/mock.py", line 1239, in

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: See also the email on python-dev: https://mail.python.org/archives/list/python-...@python.org/thread/5UU6V2B3KBS4Z7OG5T7D6YQZASFNSBJM/ -- ___ Python tracker

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: See also the email on python-dev: https://mail.python.org/archives/list/python-...@python.org/thread/5UU6V2B3KBS4Z7OG5T7D6YQZASFNSBJM/ -- ___ Python tracker

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: I wrote the PR 28204 to change the unix_home used by the distutils install command. Previous code: if sys.version_info >= (3, 9) and key == "platlib": # platlibdir is available since 3.9: bpo-1294959 value = value.replace("/lib/

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: Let's continue the discussion for the unix_home scheme in bpo-45035. -- ___ Python tracker ___ __

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-09-07 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +26629 pull_request: https://github.com/python/cpython/pull/28205 ___ Python tracker ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm doing the release of 3.10.0rc2 as we speak. Please, review this ASAP or otherwise this PR will not be backported to 3.10.0 and will have to wait to 3.10.1 as per the devguide. -- ___ Python tracker

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: AFAICS: this is a bug, but in deprecated code. Not worth fixing in 3.11, and definitely not worth fixing in a RC, and . People should stop using distutils, and those who can't won't be happy with changes to it. Consider that existing distutils issues on bpo w

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset fb305092a5d7894b41f122c1a1117b3abf4c567e by Victor Stinner in branch 'main': bpo-44348: BaseException deallocator uses trashcan (GH-28190) https://github.com/python/cpython/commit/fb305092a5d7894b41f122c1a1117b3abf4c567e -- __

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: (Sorry for the extra `and`; I hit Submit too soon) -- ___ Python tracker ___ ___ Python-bugs-list

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: Even if Python 3.9 and 3.10 have the idea, I don't think that long exception chains are common enough to justify a backport. I prefer to leave the code as it it in stable branches, and see how things go with the change in the main branch. I close the issue.

[issue45094] Consider using __forceinline and __attribute__((always_inline)) on static inline functions (Py_INCREF, Py_TYPE) for debug builds

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: Using __forceinline didn't fix test_exceptions: see https://bugs.python.org/issue44348#msg401185 Since I created the issue to fix bpo-44348 and it doesn't work, I close the issue. Moreover, always inlining can have a negative impact on release builds.

[issue45115] Windows: enable compiler optimizations when building Python in debug mode

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: Steve: > I strongly disagree. If CI needs to be faster, please just change the CI > configuration. If contributors have to wait a few minutes longer, they can > wait - they'll save that time in local compilations. > Local debugging absolutely relies on debug

[issue45119] test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide 3.x: Linux kernel 5.15 regression

2021-09-07 Thread STINNER Victor
Change by STINNER Victor : -- title: test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide 3.x -> test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide 3.x: Linux kernel 5.15 regression ___ Python tracker

[issue34498] Python 3.7 breaks on singledispatch_function.register(pseudo_type), which Python 3.6 accepted

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. I've changed type because crash typically refers to segfault rather than an exception being raised. -- nosy: +iritkatriel type: crash -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 _

[issue34498] Python 3.7+ break on singledispatch_function.register(pseudo_type), which Python 3.6 accepted

2021-09-07 Thread Irit Katriel
Change by Irit Katriel : -- title: Python 3.7 breaks on singledispatch_function.register(pseudo_type), which Python 3.6 accepted -> Python 3.7+ break on singledispatch_function.register(pseudo_type), which Python 3.6 accepted ___ Python tracker

[issue45052] WithProcessesTestSharedMemory.test_shared_memory_basics fails on Windows

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm planning to revert PR 28185 because this is blocking the release -- ___ Python tracker ___ ___

[issue27658] python 3.5.2 built from source fails to install completely on Mac OS X 10.11.6. Crashes subsequently.

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: 3.5 is long out of maintenance. I suggest we close this and look into it if the problem is reported for a newer version. -- nosy: +iritkatriel resolution: -> third party status: open -> pending ___ Python tracker <

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Petr Viktorin
New submission from Petr Viktorin : The `replace` method of `code` allows setting e.g. * co_filename to a subclass of str * co_consts to an arbitrary tuple and possibly more weird cases. This makes code objects unmarshallable. One way to create such a code object is to call `compileall.compile

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Petr Viktorin
Change by Petr Viktorin : Added file: https://bugs.python.org/file50269/reproducer_compileall.py ___ Python tracker ___ ___ Python-bugs-list

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: How to fix this? I guess: * co_filename should be converted to an actual str, or reject subclasses with an exception * for co_consts, the [marshal docs] could be updated to add code objects to "containers". The [code docs] already say co_consts "is a tuple co

[issue45122] Remove PyCode_New and PyCode_NewWithPosOnlyArgs

2021-09-07 Thread Guido van Rossum
Guido van Rossum added the comment: Da-woods, can you take care of that? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue42839] SourceFileLoader does not (fully) accept path-like objects

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: I just filed the slightly more general bpo-45127. -- nosy: +petr.viktorin ___ Python tracker ___ _

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: See also bpo-42839 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue34262] Asyncio test fails under Win 7

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Changing type since the crash was fixed under issue23919. There remains (possibly) the failure of test_sendfile_close_peer_in_the_middle_of_receiving. -- nosy: +iritkatriel type: crash -> behavior ___ Python tracker

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-07 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Quoting Petr from PR 28133: Without the ability to tell SQLite to abort on trace failure, I doubt we can do much better than the current behavior. Getting an exception and having the data inserted seems quite irregular. Closing this issue as won't fi

[issue45121] Regression in 3.9.7 with typing.Protocol

2021-09-07 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch nosy: +uriyyo nosy_count: 3.0 -> 4.0 pull_requests: +26630 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28206 ___ Python tracker

[issue45121] Regression in 3.9.7 with typing.Protocol

2021-09-07 Thread Eric V. Smith
Eric V. Smith added the comment: Sorry I didn't notice your reference to issue 45081. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue35270] Cmd.complete does not handle cmd=None

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Changing type since crash is typically used for a segfault rather than an exception. -- nosy: +iritkatriel type: crash -> behavior ___ Python tracker

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-09-07 Thread Nikita Sobolev
Change by Nikita Sobolev : -- pull_requests: +26631 pull_request: https://github.com/python/cpython/pull/28182 ___ Python tracker ___ __

[issue34846] Runtime failure with Failed to import site module

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: It doesn't look like there is enough information here to do anything about this, and there has been no response from the OP to follow-up questions. I think we need to close it. -- nosy: +iritkatriel status: open -> pending

[issue45128] test_multiprocessing fails sporadically on the release artifacts

2021-09-07 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : While testing the release artifacts I encountered this failure: test test_multiprocessing_fork failed -- Traceback (most recent call last): File "/tmp/tmpu30qfjpr/installation/lib/python3.10/unittest/mock.py", line 1239, in _dot_lookup return g

[issue45052] WithProcessesTestSharedMemory.test_shared_memory_basics fails on Windows

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Opened https://bugs.python.org/issue45128 -- ___ Python tracker ___ ___ Python-bugs-list m

[issue39570] Python 3.7.3 Crash on msilib actions

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: I personally don't feel like downloading a binary from b.p.o and opening it on my machine. Can you provide more information about the issue? For instance, what do you mean by crash? Do you have any stack trace or other output? What is the value in the registr

[issue45129] Remove deprecated reuse_address parameter from create_datagram_endpoint()

2021-09-07 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : The reuse_address parameter was deprecated in Python 3.9 by bpo-37228. It can be removed in Python 3.11. PR to follow. -- components: asyncio messages: 401290 nosy: asvetlov, hugovk, yselivanov priority: normal severity: normal status: open titl

[issue45128] test_multiprocessing fails sporadically on the release artifacts

2021-09-07 Thread Nikita Sobolev
Nikita Sobolev added the comment: Related issues: - https://bugs.python.org/issue45042 - https://bugs.python.org/issue45052 -- nosy: +sobolevn ___ Python tracker ___ _

  1   2   >