[issue47031] math.nan should note that NANs do not compare equal to anything

2022-03-15 Thread Steven D'Aprano
New submission from Steven D'Aprano : The IEEE-754 requirement that NANs are never equal to anything, even to themselves, is a common stumbling block for those new to the consequences of IEEE-754. See for example #47020. The documentation for math.nan would be a good place to add a note like

[issue18795] pstats - allow stats sorting by cumulative time per call and total time per call

2022-03-15 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 5.0 -> 6.0 pull_requests: +30009 pull_request: https://github.com/python/cpython/pull/31919 ___ Python tracker

[issue18795] pstats - allow stats sorting by cumulative time per call and total time per call

2022-03-15 Thread Daniël van Noord
Daniël van Noord added the comment: I resubmitted the original patch and updated it with documentation and news item changes. This would still be a valuable addition imo, as it can help single out expensive calls in your module/script. -- nosy: +danielnoord

[issue46404] 3.11a4: a small attrs regression

2022-03-15 Thread Lumír Balhar
Lumír Balhar added the comment: We have the same problem reported in attrs here in dataclasses and because it's not tested the way to manipulate __closure__ cells changes frequently. My plan is to implement something similar to this into dataclasses:

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-15 Thread Steve Dower
Steve Dower added the comment: The fix for this regressed the installer for the py.exe launcher, which breaks our release builds. I'm patching it now. It's going under the same issue number because it will be needed for anyone applying this patch directly and then building the installer

[issue47009] Streamline list.append for the common case

2022-03-15 Thread Inada Naoki
Inada Naoki added the comment: Thank you. I agree that inlining is worth enough. But we already inlined too many functions in ceval and there is an issue caused by it... (bpo-45116) -- ___ Python tracker

[issue45150] Add a file_digest() function in hashlib

2022-03-15 Thread Aur Saraf
Aur Saraf added the comment: Added an attempt to handle signals. I don't think it's working, because when I press Ctrl+C while hashing a long file, it only raises KeyboardInterrupt after waiting the amount of time it usually takes the C code to return, but maybe that's not a good test?

[issue47033] Build failure on macOS Big Sur

2022-03-15 Thread Ghyslain Leclerc
New submission from Ghyslain Leclerc : I have tried to compile python on macOS and I have failed. I have cloned the cpython repository, then used ./configure and make. There are build errors on my system. They seem related to https://bugs.python.org/issue42692. I have tried the

[issue47033] Build failure on macOS Big Sur

2022-03-15 Thread Ghyslain Leclerc
Ghyslain Leclerc added the comment: Here is a build output. -- Added file: https://bugs.python.org/file50681/build.out ___ Python tracker ___

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-15 Thread miss-islington
miss-islington added the comment: New changeset 70eb9db39817a8f9abef801a2a4a7bb2c7411654 by Miss Islington (bot) in branch '3.9': bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920)

[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower
Steve Dower added the comment: New changeset 7c776521418676c074a483266339d31c950f516e by Steve Dower in branch 'main': bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails (GH-31921)

[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +30017 pull_request: https://github.com/python/cpython/pull/31926 ___ Python tracker ___

[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +30018 pull_request: https://github.com/python/cpython/pull/31927 ___ Python tracker ___

[issue47033] Build failure on macOS Big Sur

2022-03-15 Thread Ned Deily
Ned Deily added the comment: You don't say exactly what changeset of the cpython repo you are trying to build from. The line numbers in the compiler warnings in your build.out extract do not seem to match up with either a current 3.10 branch checkout or a main branch checkout. Please make

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-15 Thread Ned Deily
Ned Deily added the comment: New changeset 4a1d65fe8528c3a6e0cf2f4f9d4b58249164589d by Miss Islington (bot) in branch '3.7': bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920) (GH-31925)

[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread miss-islington
miss-islington added the comment: New changeset 04fdbb4f7003a7399f7ba626cf548e2b9dac1045 by Steve Dower in branch '3.10': [3.10] bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails (GH-31921) (GH-31926)

[issue45150] Add a file_digest() function in hashlib

2022-03-15 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +30019 pull_request: https://github.com/python/cpython/pull/31928 ___ Python tracker ___

[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread miss-islington
miss-islington added the comment: New changeset ad6ddd89006b9fa4836a944c99f8076f26faf299 by Steve Dower in branch '3.9': [3.9] bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails (GH-31921) (GH-31927)

[issue45150] Add a file_digest() function in hashlib

2022-03-15 Thread Aur Saraf
Aur Saraf added the comment: PR contains a draft implementation, would appreciate some review before I implement the same interface on all builtin hashes as well as OpenSSL hashes. -- ___ Python tracker

[issue45150] Add a file_digest() function in hashlib

2022-03-15 Thread Aur Saraf
Aur Saraf added the comment: The rationale behind `from_raw_file()` and the special treatment of non-buffered IO is that there is no `read_buffer()` API or other clean way to say "I want to read just what's currently in the buffer so that from now on I could read directly from the file

[issue47033] Build failure on macOS Big Sur

2022-03-15 Thread Ghyslain Leclerc
Ghyslain Leclerc added the comment: Thank you for your quick answer. Your comment about the configure output has made me think to look at it more carefully. No error was reported, so I did not think to look at it before. Looking at it and trying to figure out the problems, I figured out

[issue47033] Build failure on macOS Big Sur

2022-03-15 Thread Ghyslain Leclerc
Change by Ghyslain Leclerc : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue47025] bytes do not work on sys.path

2022-03-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'd advocate for not supporting bytes paths and instead updating the documentation to require strings. -- nosy: +jaraco ___ Python tracker

[issue45150] Add a file_digest() function in hashlib

2022-03-15 Thread Aur Saraf
Aur Saraf added the comment: Forgot an important warning: this is the first time I write C code against the Python API, and I didn't thoroughly read the guide (or at all, to be honest). I think I did a good job, but please suspect my code of noob errors. I'm especially not confident that

[issue46744] installers on ARM64 suggest wrong folders

2022-03-15 Thread conio
conio added the comment: I opened a PR for this change (https://github.com/python/cpython/pull/31803). I'd appreciate your comments and/or approval. I didn't add anything to the NEWS.d folder since it seems to me like something completely internal to the build process and so minor not worth

[issue45405] configure fails on macOS with non-Apple clang version 13 which implements --print-multiarch

2022-03-15 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29987 pull_request: https://github.com/python/cpython/pull/31889 ___ Python tracker ___

[issue45405] configure fails on macOS with non-Apple clang version 13 which implements --print-multiarch

2022-03-15 Thread Ned Deily
Ned Deily added the comment: As of Xcode 13.3, released 2022-03-14 to support macOS 12.3 et al, the included Apple Clang (Apple clang version 13.1.6 (clang-1316.0.21.2)) now supports the --print-multiarch option and so Python 3.8 and 3.7 are now vulnerable to this issue when building with

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-15 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : PEP 594 – Removing dead batteries from the standard library As mentioned in the SC acceptance: > One thing we’d like to see happen while implementing it: Document the status > of the modules being deprecated and removed and backport those deprecation >

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-15 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +29989 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31891 ___ Python tracker

[issue47024] Update to OpenSSL 1.1.1n

2022-03-15 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +29992 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31895 ___ Python tracker

[issue43863] [Windows] test_distutils logs: DeprecationWarning: bdist_msi command is deprecated since Python 3.9, use bdist_wheel (wheel packages) instead

2022-03-15 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_distutils emits deprecation warning about distutils ___ Python tracker

[issue47019] Fatal Python Error in sqlite3 Python 3.10

2022-03-15 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > My recommended fix is to call sqlite3_close() within > Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS, and manually Py_DECREF all > connection-related functions afterward. 3.11 already drops the GIL before sqlite3_close_v2(); backporting this change to

[issue47000] Make encoding="locale" uses locale encoding even in UTF-8 mode is enabled.

2022-03-15 Thread Inada Naoki
Inada Naoki added the comment: I created another topic relating this issue. https://discuss.python.org/t/add-legacy-text-encoding-option-to-make-utf-8-default/14281 If we add another option (e.g. legacy_text_encoding), we do not need to change UTF-8 mode behavior. --

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-15 Thread Maximilian Hils
Change by Maximilian Hils : -- pull_requests: +29990 pull_request: https://github.com/python/cpython/pull/31892 ___ Python tracker ___

[issue47019] Fatal Python Error in sqlite3 Python 3.10

2022-03-15 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I'm removing 3.11 from the versions field: $ python3.11 sqlite3_fatal_python_error.py Exception ignored in: Traceback (most recent call last): File "/Users/erlendaasland/src/cpython-build/sqlite3_fatal_python_error.py", line 10, in

[issue47019] Fatal Python Error in sqlite3 Python 3.10

2022-03-15 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > A perfect repro has been attached, should be run on Linux. FTR, the repo works on macOS 12.2.1 as well: $ python3.10 ./sqlite3_fatal_python_error.py Fatal Python error: PyThreadState_Get: the function must be called with the GIL held, but the

[issue24224] test_msilib is inadequate

2022-03-15 Thread Irit Katriel
Irit Katriel added the comment: msilib is deprecated as per PEP 594, so there won't be further enhancements to it. -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue46996] Drop support of Tcl/Tk older than 8.5.12

2022-03-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Tkinter nosy: +christian.heimes, epaine, erlendaasland ___ Python tracker ___ ___

[issue47024] Update to OpenSSL 1.1.1n

2022-03-15 Thread Christian Heimes
New submission from Christian Heimes : Update OpenSSL to 1.1.1n and test with OpenSSL 3.0.2. The update will become available later today and features a HIGH security bug, https://mta.openssl.org/pipermail/openssl-announce/2022-March/000216.html $ sed -i 's/1.1.1m/1.1.1n/g'

[issue46884] [doc] msilib.rst uses data directive to document modules

2022-03-15 Thread Irit Katriel
Irit Katriel added the comment: msilib is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue47025] bytes do not work on sys.path

2022-03-15 Thread Thomas Grainger
New submission from Thomas Grainger : importing a module with bytes in `sys.path` fails with: File "", line 182, in _path_isabs TypeError: startswith first arg must be bytes or a tuple of bytes, not str (see reproducer in attached demo.py) however `sys.path` is documented as supporting

[issue47025] bytes do not work on sys.path

2022-03-15 Thread Thomas Grainger
Change by Thomas Grainger : -- components: +Library (Lib) versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker ___

[issue45405] configure fails on macOS with non-Apple clang version 13 which implements --print-multiarch

2022-03-15 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29988 pull_request: https://github.com/python/cpython/pull/31890 ___ Python tracker ___

[issue45405] configure fails on macOS with non-Apple clang version 13 which implements --print-multiarch

2022-03-15 Thread Ned Deily
Ned Deily added the comment: New changeset 720bb456dc711b0776bae837d1f9a0b10c28ddf2 by Ned Deily in branch '3.7': bpo-45405: Prevent internal configure error when running configure with recent versions of clang. (GH-28845) (GH-31890)

[issue47025] bytes do not work on sys.path

2022-03-15 Thread Eric V. Smith
Eric V. Smith added the comment: In case it helps anyone: On Windows 3.11.0a5+ the full traceback is: $ ./python.bat demo.py Running Debug|x64 interpreter... Traceback (most recent call last): File "...\demo.py", line 23, in sys.exit(main()) ^^ File

[issue45979] Fix Tkinter tests with old Tk

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

[issue43721] Documentation of property.{getter, setter, deleter} fails to mention that a *new* property is returned

2022-03-15 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk nosy_count: 4.0 -> 5.0 pull_requests: +29991 pull_request: https://github.com/python/cpython/pull/31893 ___ Python tracker ___

[issue37907] speed-up PyLong_As*() for large longs

2022-03-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47023] re.sub shows key error on regex escape chars provided in repl param

2022-03-15 Thread Siddhesh Sathe
New submission from Siddhesh Sathe : Python 3.9.10 (main, Jan 15 2022, 18:56:52) [GCC 7.5.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import re >>> re.sub(r"{\w}", "\s", "Hello! {user}") Traceback (most recent call last): File

[issue47025] bytes do not work on sys.path

2022-03-15 Thread Thomas Grainger
Change by Thomas Grainger : -- keywords: +patch pull_requests: +29993 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31897 ___ Python tracker ___

[issue45979] Fix Tkinter tests with old Tk

2022-03-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is a great idea. I have opened issue46996 for this. -- ___ Python tracker ___ ___

[issue46557] Logging captured warnings with a format string unnecessarily groups warnings together

2022-03-15 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset d8066b420b888591f485d132e62979d07abfc3f4 by Michael P. Nitowski in branch 'main': bpo-46557: Log captured warnings without format string (GH-30975) https://github.com/python/cpython/commit/d8066b420b888591f485d132e62979d07abfc3f4 --

[issue46587] datetime and time tests use non-portable "%4Y" format

2022-03-15 Thread Christian Heimes
Christian Heimes added the comment: New changeset 2cf7f865f099db11cc6903b334d9c376610313e8 by Christian Heimes in branch 'main': bpo-46587: Skip tests if strftime does not support glibc extension (GH-31873) https://github.com/python/cpython/commit/2cf7f865f099db11cc6903b334d9c376610313e8

[issue20392] Inconsistency with uppercase file extensions in MimeTypes.guess_type

2022-03-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 5dd7ec52b83e7f239774cf7478106fcc7b0a36f3 by Kumar Aditya in branch 'main': bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229)

[issue47026] BytesWarning in zipimport paths on sys.path

2022-03-15 Thread Thomas Grainger
New submission from Thomas Grainger : importing from a bytes zipimport path on sys.path results in a BytesWarning: Comparison between bytes and string running the reproducer with `python -b` shows: python -b zipfile_demo.py :1345: BytesWarning: Comparison between bytes and string see also

[issue47025] bytes do not work on sys.path

2022-03-15 Thread Eryk Sun
Eryk Sun added the comment: > this is a regression from 3.2 In Windows, bytes paths in sys.path do not work in 3.2+. I didn't test 3.0 and 3.1, but practically one can say that bytes paths were never supported in Python 3 on Windows. -- nosy: +eryksun

[issue46291] [doc] First argument to raise can also be BaseException

2022-03-15 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +29995 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31899 ___ Python tracker ___

[issue31892] ssl.get_server_certificate should allow specifying certificate / key type

2022-03-15 Thread Hanno Boeck
Hanno Boeck added the comment: Any update? :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47025] bytes do not work on sys.path

2022-03-15 Thread Thomas Grainger
Thomas Grainger added the comment: https://docs.python.org/3/reference/import.html#path-entry-finders says "The encoding of bytes entries is determined by the individual path entry finders." see https://github.com/python/cpython/commit/82c1c781c7ee6496bd4c404b7ba972eed5dbcb12 --

[issue47025] bytes do not work on sys.path

2022-03-15 Thread Thomas Grainger
Thomas Grainger added the comment: interestingly bytes filenames pointing to zip files on sys.path do support bytes (see zipfile_demo.py) -- Added file: https://bugs.python.org/file50679/zipfile_demo.py ___ Python tracker

[issue47000] Make encoding="locale" uses locale encoding even in UTF-8 mode is enabled.

2022-03-15 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: FWIW: I don't think the "locale" encoding is a good idea. Instead of trying to fix this to make it more usable, I'd suggest to deprecate and remove it again. When it comes to encodings, explicit is better than implicit. If an application wants to work

[issue46841] Inline bytecode caches

2022-03-15 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +29996 pull_request: https://github.com/python/cpython/pull/31901 ___ Python tracker ___

[issue47023] re.sub shows key error on regex escape chars provided in repl param

2022-03-15 Thread Eric V. Smith
Eric V. Smith added the comment: Isn't '\s' covered by: " Unknown escapes of ASCII letters are reserved for future use and treated as errors" (https://docs.python.org/3/library/re.html#re.sub)? -- nosy: +eric.smith ___ Python tracker

[issue46993] Speed up bytearray creation from list and tuple

2022-03-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 6dfe09fc5fd5a3ddc6009d5656e635eae30c5240 by Kumar Aditya in branch 'main': bpo-46993: Speed up bytearray creation from list and tuple (GH-31834) https://github.com/python/cpython/commit/6dfe09fc5fd5a3ddc6009d5656e635eae30c5240 --

[issue8704] cgitb sends a bogus HTTP header if the app crashes before finishing headers

2022-03-15 Thread Colin 't Hart
Colin 't Hart added the comment: 1. This module is scheduled to be removed by Python 3.13 (although I preseonally am of the opinion that it is a useful module and would like to see it brought up-to-date). 2. Is reset() even necessary anymore? Can't the same results be achieved with CSS

[issue47025] bytes do not work on sys.path

2022-03-15 Thread Thomas Grainger
Thomas Grainger added the comment: zipimporter.zipimporter handles non-bytes paths here: https://github.com/python/cpython/blob/2cf7f865f099db11cc6903b334d9c376610313e8/Lib/zipimport.py#L65-L67 I think FileFinder should do the same -- ___ Python

[issue47025] bytes do not work on sys.path

2022-03-15 Thread Thomas Grainger
Thomas Grainger added the comment: this is a regression from 3.2: ``` Python 3.2.6 (default, Jan 18 2016, 19:21:14) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import tempfile >>> tempfile.TemporaryDirectory() >>> v = _ >>> tmp_dir =

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-03-15 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +29994 pull_request: https://github.com/python/cpython/pull/31898 ___ Python tracker ___

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-15 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-15 Thread miss-islington
miss-islington added the comment: New changeset 88c243fd8d5a43282ef06bd0872e3b88c68bb856 by Miss Islington (bot) in branch '3.10': bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892) https://github.com/python/cpython/commit/88c243fd8d5a43282ef06bd0872e3b88c68bb856

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-03-15 Thread Christian Heimes
Christian Heimes added the comment: New changeset b43b9b49be7d42d2826106c719d1e51f0776be0a by Christian Heimes in branch 'main': bpo-40280: Skip wakeup_fd pipe tests on Emscripten (GH-31909) https://github.com/python/cpython/commit/b43b9b49be7d42d2826106c719d1e51f0776be0a --

[issue46907] Update Windows and MacOS installer to SQLite 3.38.1

2022-03-15 Thread Steve Dower
Steve Dower added the comment: Was there any reason/need to backport this? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46907] Update Windows and MacOS installer to SQLite 3.38.1

2022-03-15 Thread Steve Dower
Steve Dower added the comment: New changeset a8c728b8b742fd8ca5a225f79d99014794b8fdf3 by Mariusz Felisiak in branch 'main': bpo-46907: Update Windows installer to SQLite 3.38.1. (GH-31655) https://github.com/python/cpython/commit/a8c728b8b742fd8ca5a225f79d99014794b8fdf3 --

[issue46907] Update Windows and MacOS installer to SQLite 3.38.1

2022-03-15 Thread Ned Deily
Ned Deily added the comment: I think we can hold off on deciding whether to backport until at least the next round of bugfix releases. I don't know of any pressing reason one way or the other, ATM. -- ___ Python tracker

[issue46896] add support for watching writes to selected dictionaries

2022-03-15 Thread Carl Meyer
Carl Meyer added the comment: Thanks for the extended example. I think in order for this example to answer the question I asked, a few more assumptions should be made explicit: 1) Either `spam_var` and/or `eggs_var` are frequently re-bound to new values in a hot code path somewhere. (Given

[issue47027] subprocess.run(), subprocess.Popen() should accept file descriptor as cwd parameter

2022-03-15 Thread Yann Droneaud
New submission from Yann Droneaud : subprocess.run() and subprocess.Popen() accepts a cwd= parameter to change directory before running the subprocess. Unfortunately it's not possible to use a file descriptor to run the subprocess in a directory already opened. For example: import os

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks! -- resolution: -> fixed status: -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue20392] Inconsistency with uppercase file extensions in MimeTypes.guess_type

2022-03-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +29998 pull_request: https://github.com/python/cpython/pull/31904 ___ Python tracker ___

[issue20392] Inconsistency with uppercase file extensions in MimeTypes.guess_type

2022-03-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +29997 pull_request: https://github.com/python/cpython/pull/31903 ___ Python tracker

[issue46907] Update Windows and MacOS installer to SQLite 3.38.1

2022-03-15 Thread Ned Deily
Ned Deily added the comment: New changeset ea786a882b9ed4261eafabad6011bc7ef3b5bf94 by Mariusz Felisiak in branch 'main': bpo-46907: Update macOS installer to SQLite 3.38.1. (GH-31656) https://github.com/python/cpython/commit/ea786a882b9ed4261eafabad6011bc7ef3b5bf94 --

[issue46896] add support for watching writes to selected dictionaries

2022-03-15 Thread Carl Meyer
Carl Meyer added the comment: > There should not be much of a slowdown for this code when watching `CONST`: How and when (and based on what data?) would the adaptive interpreter make the decision that for this code sample the key `CONST`, but not the key `var`, should be watched in the

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-15 Thread miss-islington
miss-islington added the comment: New changeset 64a68c39cb508b016e5a4486ebb4052f6e65fca0 by Miss Islington (bot) in branch '3.9': bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892) https://github.com/python/cpython/commit/64a68c39cb508b016e5a4486ebb4052f6e65fca0

[issue47028] Incorrect behaviour when zipping a bunch of maps

2022-03-15 Thread Dennis Sweeney
Dennis Sweeney added the comment: This is because i is not captured by the function definition. `lambda x: x**i` always makes the "input to the ith power" function, never the "input to the 3rd power" function, even if i happens to be 3 right now. Consider replacing `lambda x: x**i` with

[issue46896] add support for watching writes to selected dictionaries

2022-03-15 Thread Mark Shannon
Mark Shannon added the comment: Let me give you an example. #module eggs eggs_var = 0 # a variable, maybe a counter or similar EGGS_CONST # a constant #module spam import eggs spam_var # Another variable def foo(): use(eggs.EGGS_CONST) - We will want to treat

[issue45405] configure fails on macOS with non-Apple clang version 13 which implements --print-multiarch

2022-03-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset dea270a2a80214de22afadaaca2043d0d782eb7d by Ned Deily in branch '3.8': bpo-45405: Prevent internal configure error when running configure with recent versions of clang. (GH-28845) (GH-31889)

[issue46993] Speed up bytearray creation from list and tuple

2022-03-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45405] configure fails on macOS with non-Apple clang version 13 which implements --print-multiarch

2022-03-15 Thread Ned Deily
Change by Ned Deily : -- priority: release blocker -> resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue46985] Upgrade ensurepip bundled pip to 22.0.4

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

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 10.0 -> 11.0 pull_requests: +2 pull_request: https://github.com/python/cpython/pull/31905 ___ Python tracker

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +3 pull_request: https://github.com/python/cpython/pull/31906 ___ Python tracker ___

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 70155412f1543f100d4aa309b8691cbcabd3e0e1 by Maximilian Hils in branch 'main': bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892) https://github.com/python/cpython/commit/70155412f1543f100d4aa309b8691cbcabd3e0e1 --

[issue45923] Improve performance of sys.settracing based tools.

2022-03-15 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +30001 pull_request: https://github.com/python/cpython/pull/31908 ___ Python tracker ___

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-03-15 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30002 pull_request: https://github.com/python/cpython/pull/31909 ___ Python tracker ___

[issue20392] Inconsistency with uppercase file extensions in MimeTypes.guess_type

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

[issue20392] Inconsistency with uppercase file extensions in MimeTypes.guess_type

2022-03-15 Thread miss-islington
miss-islington added the comment: New changeset 32ae9ab55f2cd97b5a28d5398c4820d8bc96f30c by Miss Islington (bot) in branch '3.9': bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229)

[issue45997] asyncio.Semaphore waiters deque doesn't work

2022-03-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +30003 pull_request: https://github.com/python/cpython/pull/31910 ___ Python tracker ___

[issue46817] Add a line-start table to the code object.

2022-03-15 Thread Mark Shannon
Mark Shannon added the comment: sys.settrace line events cannot use the co_lines table. They need additional state, as we don't want to trace the same line twice (unless there is a backwards jump). Using the start of a entry in `co_lines` doesn't work when some entries have no line number.

[issue46985] Upgrade ensurepip bundled pip to 22.0.4

2022-03-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7a315d8a0d4df01f96d82286739b86920ccebc05 by Ned Deily in branch '3.8': bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31851) https://github.com/python/cpython/commit/7a315d8a0d4df01f96d82286739b86920ccebc05 --

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20392] Inconsistency with uppercase file extensions in MimeTypes.guess_type

2022-03-15 Thread miss-islington
miss-islington added the comment: New changeset 3c4f24face4cca9256ae79bf6968663a04daf655 by Miss Islington (bot) in branch '3.10': bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229)

  1   2   >