[issue46623] test_zlib: test_pair() and test_speech128() fail with s390x hardware accelerator

2022-03-03 Thread Petr Viktorin
Petr Viktorin added the comment: The current fix skips all of the tests, rather than just the parts that fail. -- nosy: +petr.viktorin resolution: fixed -> status: closed -> open ___ Python tracker

[issue46675] Allow more than 16 items in split-keys dicts and "virtual" object dicts.

2022-03-03 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45065] test_asyncio failed (env changed) on s390x RHEL8 Refleaks 3.10: RuntimeError('Event loop is closed') in _SSLProtocolTransport.__del__

2022-03-03 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this issue recently, I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue46903] Crash when setting attribute with string subclass as the name (--with-pydebug)

2022-03-03 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +29776 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31658 ___ Python tracker ___

[issue46894] make install DESTDIR= uses /lib/python3.10/lib-dynload out of DESTDIR

2022-03-03 Thread Дилян Палаузов
Дилян Палаузов added the comment: I want to compile and install python for a chrooted environment. --prefix are the path within the chrooted-environment. DESTDIR is the location of the root of the chrooted-environment. When I glue DESTDIR with --prefix= (thus use no DESTDIR) this happens:

[issue45065] test_asyncio failed (env changed) on s390x RHEL8 Refleaks 3.10: RuntimeError('Event loop is closed') in _SSLProtocolTransport.__del__

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: asyncio ssl implementation has been rewritten with bpo-44011: This is outdated now and should be closed @vstinner. -- nosy: +kumaraditya303 ___ Python tracker

[issue37368] test_asyncio: test_create_server_ssl_match_failed() failed on s390x SLES 3.x and logged an unraisable exception

2022-03-03 Thread STINNER Victor
STINNER Victor added the comment: I failed to reproduce the issue with: "./python -m test test_asyncio -m test_create_server_ssl_match_failed -F -j50 --fail-env-changed" It ran 1000 iterations in 5 minutes with a load average of 50 (my laptop has 4 CPU cores: 8 threads). --

[issue37368] test_asyncio: test_create_server_ssl_match_failed() failed on s390x SLES 3.x and logged an unraisable exception

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: This is outdated as the last failure was almost a year ago. This should be closed or at least marked pending @vstinner. -- nosy: +kumaraditya303 ___ Python tracker

[issue46832] unicodeobject.c doesn't compile when defined EXPERIMENTAL_ISOLATED_SUBINTERPRETERS, variable "interned" not found

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: @vstinner it is broken on main branch also. -- nosy: +kumaraditya303 ___ Python tracker ___ ___

[issue45062] test_asyncio: test_huge_content_recvinto() failed on PPC64LE RHEL8 Refleaks 3.9

2022-03-03 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure recently, I just close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue46832] unicodeobject.c doesn't compile when defined EXPERIMENTAL_ISOLATED_SUBINTERPRETERS, variable "interned" not found

2022-03-03 Thread STINNER Victor
STINNER Victor added the comment: This build flag is experimental and unsupported. If you care, you should target Python 3.11 which is currently under development. -- ___ Python tracker

[issue46886] ARM64 Windows Non-Debug 3.x: random build error: failure during conversion to COFF: file invalid or corrupt

2022-03-03 Thread STINNER Victor
STINNER Victor added the comment: > I guess we can close the ticket and can reopen if it happens again. Ok, let's do that! -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue46906] Add PyFloat_(Pack|Unpack)(2|4|8) to the public C API

2022-03-03 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +lemburg, mark.dickinson, rhettinger, stutzbach ___ Python tracker ___ ___ Python-bugs-list

[issue46906] Add PyFloat_(Pack|Unpack)(2|4|8) to the public C API

2022-03-03 Thread STINNER Victor
STINNER Victor added the comment: I prepared a pythoncapi_compat PR to provide these functions to Python 3.10 and older: https://github.com/pythoncapi/pythoncapi_compat/pull/26 Note: bpo-11734 (commit 7c4e409d075fdb923807513353b18a75a4520eba) added _PyFloat_Pack2() and _PyFloat_Unpack2() to

[issue46909] Update getpath.py to look for os.pyc in __pycache__ folders

2022-03-03 Thread Steve Dower
Steve Dower added the comment: It's looking for a precompiled bundled stdlib, rather than one that's been generated from adjacent source files. This is deliberate (also quite an advanced scenario, but it does get used). -- components: -Documentation resolution: -> not a bug stage:

[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: The original issue is fixed on main branch with bpo-44011 GH-31275, It now only raises warnings but no exceptions: --- (env) @kumaraditya303 ➜ /workspaces/cpython (latin1 ✗) $ python main.py

[issue46910] Expect IndentationError, get SyntaxError: 'break' outside loop

2022-03-03 Thread Jonathan Fine
New submission from Jonathan Fine : This arises from a request for help made by Nguyễn Ngọc Tiến to the visually impaired programmers lists, see https://www.freelists.org/post/program-l/python,48. Please keep this in mind. Nguyễn asked for help with the syntax error created by === count = 0

[issue39758] StreamWriter.wait_closed() can hang indefinitely.

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: On main branch with rewritten SSL implementation GH-31275 bpo-44011, this raises TimeoutError: opened close started Traceback (most recent call last): File

[issue45062] test_asyncio: test_huge_content_recvinto() failed on PPC64LE RHEL8 Refleaks 3.9

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: @vstinner This issue has not been happening on the CI recently so can this be marked as pending or even close it and reopen when it does fail? -- nosy: +kumaraditya303 ___ Python tracker

[issue46909] Update getpath.py to look for os.pyc in __pycache__ folders

2022-03-03 Thread Russel Webber
New submission from Russel Webber : The STDLIB_LANDMARKS in Modules/getpath,py refers to os.pyc in an old location: STDLIB_LANDMARKS = [f'{STDLIB_SUBDIR}/os.py', f'{STDLIB_SUBDIR}/os.pyc'] Since https://www.python.org/dev/peps/pep-3147 the .pyc files are in __pycache__ folders. The

[issue46832] unicodeobject.c doesn't compile when defined EXPERIMENTAL_ISOLATED_SUBINTERPRETERS, variable "interned" not found

2022-03-03 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +eric.snow, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46389] 3.11: unused generator comprehensions cause f_lineno==None

2022-03-03 Thread Mark Shannon
Mark Shannon added the comment: Ned, is this fixed for you now? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46891] Crash in ModuleType subclass with __slots__

2022-03-03 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46906] Add PyFloat_(Pack|Unpack)(2|4|8) to the public C API

2022-03-03 Thread STINNER Victor
STINNER Victor added the comment: The pack/unpack functions have been moved to the internal C API by this change: commit 0a883a76cda8205023c52211968bcf87bd47fd6e Author: Victor Stinner Date: Thu Oct 14 23:41:06 2021 +0200 bpo-35134: Add Include/cpython/floatobject.h (GH-28957)

[issue46906] Add PyFloat_(Pack|Unpack)(2|4|8) to the public C API

2022-03-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29775 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/31657 ___ Python tracker ___

[issue46891] Crash in ModuleType subclass with __slots__

2022-03-03 Thread Mark Shannon
Mark Shannon added the comment: New changeset 751c9ed801ad1189272ca10f0749bfc9d49b5038 by Mark Shannon in branch 'main': bpo-46891: Fix creating a new instance of a module subclass with slots (GH-31643) https://github.com/python/cpython/commit/751c9ed801ad1189272ca10f0749bfc9d49b5038

[issue46908] Debugger jumps to a wrong instruction in for loop

2022-03-03 Thread Francisco Arenas Afán de Rivera
New submission from Francisco Arenas Afán de Rivera : I found that the debugger doesn't follow the normal program order when executing a foor loop with more than 3 instructions inside and one loop. code example: a = 0 b = 0 c = 0 for i in range(1): a += 1 b += 1 # Set breakpoint here

[issue16535] json encoder unable to handle decimal

2022-03-03 Thread Luca Lesinigo
Change by Luca Lesinigo : -- nosy: +luca.lesinigo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46906] Add PyFloat_(Pack|Unpack)(2|4|8) to the public C API

2022-03-03 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue, I would like to make these functions public :-) I searched for the 6 functions moved to the internal C API and I found 6 projets using it in the top 5000 PyPI projects (at 2022-01-26): * msgpack * ddtrace * bitstruct * pickle5 *

[issue43455] pathlib mistakenly assumes os.getcwd() is a resolved path in Windows

2022-03-03 Thread Tzu-ping Chung
Tzu-ping Chung added the comment: I believe this has been fixed in https://github.com/python/cpython/pull/25264 -- ___ Python tracker ___

[issue45373] ./configure --enable-optimizations should enable LTO

2022-03-03 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46907] Update Windows and MacOS installer to SQLite 3.38.0.

2022-03-03 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Steve, would you mind updating the cpython sources repo? (No hurry; let's see if a patch release surfaces first.) -- ___ Python tracker

[issue46907] Update Windows and MacOS installer to SQLite 3.38.0.

2022-03-03 Thread Mariusz Felisiak
Change by Mariusz Felisiak : -- pull_requests: +29774 pull_request: https://github.com/python/cpython/pull/31656 ___ Python tracker ___

[issue46907] Update Windows and MacOS installer to SQLite 3.38.0.

2022-03-03 Thread Mariusz Felisiak
Change by Mariusz Felisiak : -- keywords: +patch pull_requests: +29773 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31655 ___ Python tracker

[issue46907] Update Windows and MacOS installer to SQLite 3.38.0.

2022-03-03 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: +1 for SQLite 3.38.0. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46907] Update Windows and MacOS installer to SQLite 3.38.0.

2022-03-03 Thread Mariusz Felisiak
New submission from Mariusz Felisiak : SQLite 3.37.0 was released on 2022-02-22: https://sqlite.org/releaselog/3_38_0.html -- components: Windows, macOS messages: 414412 nosy: erlendaasland, felixxm, ned.deily, paul.moore, ronaldoussoren, steve.dower, tim.golden, zach.ware priority:

[issue46906] Make _PyFloat_(Pack|Unpack)(4|8) cpython API, not internal.

2022-03-03 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46906] Make _PyFloat_(Pack|Unpack)(4|8) cpython API, not internal.

2022-03-03 Thread Inada Naoki
Inada Naoki added the comment: OK. By quick grepping, I found only msgpack and bitstruct use these API. It is not enough number to make them public. -- ___ Python tracker ___

[issue46906] Make _PyFloat_(Pack|Unpack)(4|8) cpython API, not internal.

2022-03-03 Thread STINNER Victor
STINNER Victor added the comment: I disagree. A function should be either fully public: tested, documented. Or fully internal. In the past, many functions were in both, in the gray area. If these functions are useful, please make them *public* and document them. I'm +1 to make these

<    1   2