[issue45003] Documentation wrote __div__ instead of __truediv__

2021-08-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 46970fdd8ddc18823519d1e1c57136f6bc2a8dac by Miss Islington (bot) in branch '3.9': bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) (GH-27962) https://github.com/python/cpython/commit/46970fdd8ddc18823519d1e1c5713

[issue45003] Documentation wrote __div__ instead of __truediv__

2021-08-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ea39933b4b76da35874be79f2384e24b38c37351 by Miss Islington (bot) in branch '3.10': bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) (GH-27963) https://github.com/python/cpython/commit/ea39933b4b76da35874be79f2384

[issue44997] [sqlite3] build fails on macOS 11.5.1

2021-08-26 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > FTR, this is only a problem if you link with the Apple-supplied system > libsqlite3 [...] Sure, but that should be relatively trivial to detect. AFAIK, the SQLite command line shell seems to be located at the same path every release, so I would guess t

[issue45003] Documentation wrote __div__ instead of __truediv__

2021-08-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker ___

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

2021-08-26 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Thanks for merging the NEWS amendments, Pablo. We can close this issue after landing PR 27642. -- ___ Python tracker ___

[issue45007] OpenSSL 1.1.1l is released

2021-08-26 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue44997] [sqlite3] build fails on macOS 11.5.1

2021-08-26 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: ...or we can just leave it as it. Seems like these reports only pops up once in a while. -- ___ Python tracker ___ __

[issue39218] Assertion failure when calling statistics.variance() on a float32 Numpy array

2021-08-26 Thread Mark Dickinson
Mark Dickinson added the comment: > The rounding correction in _ss() looks mathematically incorrect to me [...] I don't think it was intended as a rounding correction - I think it's just computing the variance (prior to the division by n or n-1) of the `(x - c)` terms using the standard "exp

[issue45011] tests fail when using pure-python instead of _asycio

2021-08-26 Thread mattip
New submission from mattip : PyPy has no asyncio c-extension module _asyncio. I see stdlib test failures when running the tests in test/test_asyncio/*.py. If I disable _asyncio in Lib/asyncio/events.py (at the end of the file) I see similar failures in CPython3.8 on Ubuntu 20.04 in test_buff

[issue39218] Assertion failure when calling statistics.variance() on a float32 Numpy array

2021-08-26 Thread Mark Dickinson
Mark Dickinson added the comment: > what it's correcting for is an inaccurate value of "c" [...] In more detail: Suppose "m" is the true mean of the x in data, but all we have is an approximate mean "c" to work with. Write "e" for the error in that approximation, so that c = m + e. Then (us

[issue42238] Deprecate suspicious.py?

2021-08-26 Thread Julien Palard
Julien Palard added the comment: New changeset 21fa8547921d28b80b8a88d034081cab000d5480 by Julien Palard in branch 'main': bpo-42238: [doc] Some more make suspicious false positives. (GH-27945) https://github.com/python/cpython/commit/21fa8547921d28b80b8a88d034081cab000d5480 -- ___

[issue14613] time.time can return NaN

2021-08-26 Thread Mark Dickinson
Mark Dickinson added the comment: > I propose we close it [...] Seconded! -- stage: test needed -> resolved status: pending -> closed ___ Python tracker ___ _

[issue24234] Should we define complex.__complex__ and bytes.__bytes__?

2021-08-26 Thread Mark Dickinson
Mark Dickinson added the comment: All done, I think. Closing. -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44986] Date formats in help messages of argparse

2021-08-26 Thread Matías Senger
Matías Senger added the comment: With this change there should be no need to escape anything, and it is still compatible with the old formatting. Plus, with the current implementation if you forget to escape something like %Y the error message is not helpful at all and only happens when invok

[issue25867] os.stat raises exception when using unicode and no locale is set

2021-08-26 Thread Irit Katriel
Irit Katriel added the comment: It's doing this now, so seems like it has been fixed: % env -i ./python.exe Python 3.11.0a0 ... >>> import os >>> os.stat(u"\xf0") Traceback (most recent call last): File "", line 1, in FileNotFoundError: [Errno 2] No such file or directory: 'ð' >>> -

[issue43398] [sqlite3] sqlite3.connect() segfaults if given a faulty Connection factory

2021-08-26 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: This issue has been fixed by recent sqlite3 improvements. Suggesting to still expand the test suite with tests for defect connection factories. -- status: open -> pending ___ Python tracker

[issue43398] [sqlite3] sqlite3.connect() segfaults if given a faulty Connection factory

2021-08-26 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +26413 status: pending -> open pull_request: https://github.com/python/cpython/pull/27966 ___ Python tracker ___ ___

[issue43398] [sqlite3] sqlite3.connect() segfaults if given a faulty Connection factory

2021-08-26 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue42085] Add dedicated slot for sending values

2021-08-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Oh, my bad. I can't find the enum values of the return type, though (PySendResult). -- ___ Python tracker ___ ___

[issue45000] del __debug__ should be a SyntaxError

2021-08-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6ea6cf22e9d084c27a4fffbbd298098a6ad5b776 by Dong-hee Na in branch '3.10': [3.10] bpo-45000: Update whatsnews about deleting __debug__ (GH-27956) (GH-27958) https://github.com/python/cpython/commit/6ea6cf22e9d084c27a4fffbbd298098a6ad5b776

[issue45000] del __debug__ should be a SyntaxError

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

[issue45000] del __debug__ should be a SyntaxError

2021-08-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 32c1caa87f68a650f2d009a589a1db30484499cb by Dong-hee Na in branch '3.10': bpo-45000: Raise SyntaxError when try to delete __debug__ (GH-27947) (GH-27957) https://github.com/python/cpython/commit/32c1caa87f68a650f2d009a589a1db30484499cb

[issue45011] tests fail when using pure-python instead of _asyncio

2021-08-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka title: tests fail when using pure-python instead of _asycio -> tests fail when using pure-python instead of _asyncio ___ Python tracker ___

[issue44945] Specialize BINARY_ADD using PEP 659 machinery.

2021-08-26 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +26414 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27967 ___ Python tracker ___ ___

[issue45011] tests fail when using pure-python instead of _asyncio

2021-08-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +26415 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27968 ___ Python tracker ___

[issue45011] tests fail when using pure-python instead of _asyncio

2021-08-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I do not know why asyncio.events._get_running_loop was patched in FunctionalTestCaseMixin. -- nosy: +lukasz.langa, pablogsal priority: normal -> release blocker type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9

[issue36073] sqlite crashes with converters mutating cursor

2021-08-26 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: This issue was fixed by GH-27884 (bpo-44976). I suggest to expand the test suite with the reproducer Sergey provided before closing the issue. -- status: open -> pending ___ Python tracker

[issue36073] sqlite crashes with converters mutating cursor

2021-08-26 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- status: pending -> open Removed message: https://bugs.python.org/msg400334 ___ Python tracker ___ _

[issue36073] sqlite crashes with converters mutating cursor

2021-08-26 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: After GH-27884 (bpo-44976) there is no longer a segfault. I suggest to expand the test suite with the reproducer Sergey provided. -- ___ Python tracker _

[issue36073] sqlite crashes with converters mutating cursor

2021-08-26 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Er, a little bit too fast there. There is still a crash, but it is of course postponed bco. bpo-44976. New reproducer: import sqlite3 as sqlite con = sqlite.connect(':memory:', detect_types=sqlite.PARSE_COLNAMES) cur = con.cursor() sqlite.converters['CURSO

[issue45012] DirEntry.stat method should release GIL

2021-08-26 Thread Uosiu
New submission from Stanisław Skonieczny (Uosiu) : We have an application that crawls filesystem using `os.scandir`. It uses multiple threads for various things. Application is used on variety of filesystems, some of them might be slow or occasionally unresponsive. We have found out that some

[issue25867] os.stat raises exception when using unicode and no locale is set

2021-08-26 Thread Eryk Sun
Eryk Sun added the comment: > It's doing this now, so seems like it has been fixed Yes. In POSIX systems since Python 3.7, if the LC_CTYPE locale is the legacy "C" or "POSIX" locale, by default it tries to coerce LC_CTYPE to "C.UTF-8", "C.utf8", or "UTF-8". If coercion fails or is disabled (

[issue44967] pydoc should return non-zero exit code when a query is not found

2021-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8868d48712aee2b490efaf60bed8dfe9fb14d6b7 by Gregory Anders in branch 'main': bpo-44967: pydoc: return non-zero exit code when query is not found (GH-27868) https://github.com/python/cpython/commit/8868d48712aee2b490efaf60bed8dfe9fb14d6b7

[issue44967] pydoc should return non-zero exit code when a query is not found

2021-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the report and fix, Gregory! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 ___ Python tracker

[issue45013] os.path.isfile fails on path exactly 260 Chars long in Windows

2021-08-26 Thread Luke Rossi
New submission from Luke Rossi : I saw 33105, but believe this to be a different issue as path length 260 is valid. I did testing by crafting a path that is exactly 260 by hand - A path 259 in length reports .isfile() as True. -- components: Library (Lib) messages: 400341 nosy: serhi

[issue45013] os.path.isfile fails on path exactly 260 Chars long in Windows

2021-08-26 Thread Luke Rossi
Luke Rossi added the comment: I saw 33105, but believe this to be a different issue as path length 260 is valid. I did testing by crafting a path that is exactly 260 by hand - A path 259 in length reports .isfile() as True. The Stack Error: [WinError 3] The system cannot find the path speci

[issue45011] tests fail when using pure-python instead of _asyncio

2021-08-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +26417 pull_request: https://github.com/python/cpython/pull/27970 ___ Python tracker ___ __

[issue45011] tests fail when using pure-python instead of _asyncio

2021-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7dc505b8655b3e48b93a4274dfd26e5856d9c64f by Serhiy Storchaka in branch 'main': bpo-45011: Fix test_asyncio without C module _asyncio (GH-27968) https://github.com/python/cpython/commit/7dc505b8655b3e48b93a4274dfd26e5856d9c64f --

[issue45011] tests fail when using pure-python instead of _asyncio

2021-08-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +26416 pull_request: https://github.com/python/cpython/pull/27969 ___ Python tracker _

[issue40635] Documentation for socket.getfqdn incorrect?

2021-08-26 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch nosy: +andrei.avk nosy_count: 3.0 -> 4.0 pull_requests: +26418 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27971 ___ Python tracker

[issue45014] SyntaxError describing the error using a wrong term

2021-08-26 Thread Takuo Matsuoka
New submission from Takuo Matsuoka : The error is this: >>> *() File "", line 1 SyntaxError: can't use starred expression here I think it's right SyntaxError is raised here, but the message is incorrect. Indeed, many starred expressions are actually allowed there. E.g., >>> *(), () I hap

[issue45011] tests fail when using pure-python instead of _asyncio

2021-08-26 Thread miss-islington
miss-islington added the comment: New changeset 9f814beadb3ee2c7b37e949a2acf72117a449ffd by Miss Islington (bot) in branch '3.10': bpo-45011: Fix test_asyncio without C module _asyncio (GH-27968) https://github.com/python/cpython/commit/9f814beadb3ee2c7b37e949a2acf72117a449ffd -- _

[issue45015] Language Reference failing to describe the treatment of starred expressions

2021-08-26 Thread Takuo Matsuoka
New submission from Takuo Matsuoka : The issue is described as Issue (1) here: https://mail.python.org/archives/list/python-id...@python.org/message/BEGGQEU6MG7RYIY7HB4I6VQ23L6TXB6H/ Please look at "Note" just before "Issues treated" there as well. What's mentioned in this note is also filed i

[issue45009] Get last modified date of Folders and Files using pathlib module

2021-08-26 Thread Vedran Čačić
Vedran Čačić added the comment: It probably has nothing to do with your bug, but your title is wrong. You are _not_ getting mtime using pathlib (but using os.path instead). That is done like using this approach: https://docs.python.org/3/library/pathlib.html#pathlib.Path.stat Just to elimina

[issue33092] The bytecode for f-string formatting is inefficient.

2021-08-26 Thread Mark Shannon
Mark Shannon added the comment: No significant change in performance https://gist.github.com/markshannon/34a780d65e69b5a573a83f3fdb0139aa I think this merely indicates that there are little to no f-strings in the pyperformance benchmark suite. -- ___

[issue45009] Get last modified date of Folders and Files using os.path module

2021-08-26 Thread Gopesh Singh
Gopesh Singh added the comment: Updated title. As I used getmtime of os.path module. -- title: Get last modified date of Folders and Files using pathlib module -> Get last modified date of Folders and Files using os.path module ___ Python tracker

[issue45009] Get last modified date of Folders and Files using os.path module

2021-08-26 Thread Gopesh Singh
Gopesh Singh added the comment: Thanks Vedram for the response. Changed the title. But I get the same issue with Path.stat(). When I put a sleep time for each iteration, it works fine. Else, it gives current date as modified date. -- ___ Python t

[issue45001] Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs

2021-08-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +26420 pull_request: https://github.com/python/cpython/pull/27973 ___ Python tracker ___ __

[issue45001] Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs

2021-08-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26419 pull_request: https://github.com/python/cpython/pull/27972 ___ Python tracker _

[issue45001] Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs

2021-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 989f6a3800f06b2bd31cfef7c3269a443ad94fac by wouter bolsterlee in branch 'main': bpo-45001: Make email date parsing more robust against malformed input (GH-27946) https://github.com/python/cpython/commit/989f6a3800f06b2bd31cfef7c3269a443ad94fac -

[issue45001] Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs

2021-08-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +26421 pull_request: https://github.com/python/cpython/pull/27974 ___ Python tracker ___ __

[issue45001] Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs

2021-08-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +26422 pull_request: https://github.com/python/cpython/pull/27975 ___ Python tracker ___ __

[issue45001] Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs

2021-08-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +26423 pull_request: https://github.com/python/cpython/pull/27976 ___ Python tracker ___ __

[issue40772] module 'resource' has no attribute 'RLIMIT_VMEM'

2021-08-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: According to https://man7.org/linux/man-pages/man2/getrlimit.2.html there is no RLIMIT_VMEM on linux, RLIMIT_AS is the closest equivalent. -- nosy: +ronaldoussoren resolution: -> not a bug stage: -> resolved status: open -> closed

[issue45013] os.path.isfile fails on path exactly 260 Chars long in Windows

2021-08-26 Thread Eryk Sun
Eryk Sun added the comment: The legacy maximum buffer size is 260 characters, but remember that strings in C are terminated by a null character (i.e. "\0"). So the maximum path length is actually 259 characters when opening files. In Windows 10 with Python 3.6+, you can enable the `LongPath

[issue44990] Change layout of frames back to specials-locals-stack (from locals-specials-stack)

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

[issue44946] Integer operations are inefficient for "medium" integers.

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

[issue45016] Multiprocessing freeze support unclear

2021-08-26 Thread Ronald Oussoren
New submission from Ronald Oussoren : The requirements on a freezing tool to work with the freeze support in the multiprocessing library are unclear. In particular, I'm trying to support multiprocessing in py2app and cannot rely on the documentation to implement that support. The particular

[issue45017] move opcode-related logic from modulefinder to dis

2021-08-26 Thread Irit Katriel
New submission from Irit Katriel : The modulefinder library module has logic that understands particular opcodes (such as the scan_opcodes method). This should be encapsulated in the dis module, and modulefinder should not process opcodes directly. -- components: Library (Lib) message

[issue45017] move opcode-related logic from modulefinder to dis

2021-08-26 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue45001] Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs

2021-08-26 Thread miss-islington
miss-islington added the comment: New changeset 9a79242567d79f42ad1a953cce2b1c4a94df23ea by Miss Islington (bot) in branch '3.10': bpo-45001: Make email date parsing more robust against malformed input (GH-27946) https://github.com/python/cpython/commit/9a79242567d79f42ad1a953cce2b1c4a94df23

[issue45001] Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs

2021-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2cdbd3b8b2bb4fa0dbcc04ce305fbafaeedd9e67 by Miss Islington (bot) in branch '3.9': bpo-45001: Make email date parsing more robust against malformed input (GH-27946) (GH-27973) https://github.com/python/cpython/commit/2cdbd3b8b2bb4fa0dbcc04ce305fbaf

[issue45001] Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs

2021-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 81148c6f91092c3aa207a53b657b2548a20b230c by Miss Islington (bot) in branch '3.8': bpo-45001: Make email date parsing more robust against malformed input (GH-27946) (GH-27974) https://github.com/python/cpython/commit/81148c6f91092c3aa207a53b657b254

[issue45001] Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs

2021-08-26 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue39218] Assertion failure when calling statistics.variance() on a float32 Numpy array

2021-08-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: > what it's correcting for is an inaccurate value of "c" [...] I'll leave the logic as-is and just add a note about what is being corrected. > Numerically, it's probably not helpful. To make a difference, the mean would have to have huge magnitude relativ

[issue45018] Pickling a range iterator with an index of over sizeof(int) stores an invalid index

2021-08-26 Thread Łukasz Langa
New submission from Łukasz Langa : Consider the following: >>> it = iter(range(2**32 + 2)) >>> for _ in range(2**32): ... _ = next(it) >>> it2 = pickle.loads( ... pickle.dumps(it) ... ) >>> assert next(it) == next(it2) This assert currently fails because the reduce method for range iterator

[issue45018] Pickling a range iterator with an index of over sizeof(int) stores an invalid index

2021-08-26 Thread Jordan Limor
Change by Jordan Limor : -- keywords: +patch nosy: +chilaxan nosy_count: 1.0 -> 2.0 pull_requests: +26424 pull_request: https://github.com/python/cpython/pull/27938 ___ Python tracker

[issue45011] tests fail when using pure-python instead of _asyncio

2021-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 970533e65c1a1129dfc1cc1867f6ad075f7f5bf6 by Miss Islington (bot) in branch '3.9': [3.9] bpo-45011: Fix test_asyncio without C module _asyncio (GH-27968) (GH-27970) https://github.com/python/cpython/commit/970533e65c1a1129dfc1cc1867f6ad075f7f5bf6

[issue45011] tests fail when using pure-python instead of _asyncio

2021-08-26 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue45010] Remove support of special method __div__ in unittest.mock

2021-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f9cd40f5e242d3c64cc20a5064500f5fe864f91f by Serhiy Storchaka in branch 'main': bpo-45010: Remove support of special method __div__ in unittest.mock (GH-27965) https://github.com/python/cpython/commit/f9cd40f5e242d3c64cc20a5064500f5fe864f91f -

[issue30274] Rename 'name' to 'fullname' argument to ExtensionFileLoader

2021-08-26 Thread Diana Van Straaten
Diana Van Straaten added the comment: I want to work on it. -- nosy: +zemlya3018 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue45010] Remove support of special method __div__ in unittest.mock

2021-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: Agreed, let's get rid of it. Thanks! I grepped for this and there's still one left-over here: https://github.com/python/cpython/blob/f9cd40f5e242d3c64cc20a5064500f5fe864f91f/Lib/importlib/metadata/_meta.py#L40-L41 Fortunately, this was already fixed upstream:

[issue40635] Documentation for socket.getfqdn incorrect?

2021-08-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26425 pull_request: https://github.com/python/cpython/pull/27977 ___ Python tracker _

[issue40635] Documentation for socket.getfqdn incorrect?

2021-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fdcb675eed47b1f6054fae381af4388b16a6fff4 by andrei kulakov in branch 'main': bpo-40635: Fix getfqdn() docstring and docs (GH-27971) https://github.com/python/cpython/commit/fdcb675eed47b1f6054fae381af4388b16a6fff4 -- nosy: +lukasz.langa

[issue40635] Documentation for socket.getfqdn incorrect?

2021-08-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +26426 pull_request: https://github.com/python/cpython/pull/27978 ___ Python tracker ___ __

[issue44997] [sqlite3] build fails on macOS 11.5.1

2021-08-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that sqlite3_enable_load_extension was unavailable way before macOS 11.5.1, the symbol is not present on 10.15 (I used 'nm /usr/lib/libsqlite3.dylib' to check for symbol availability). Just checking for MACOS and a system include directory should do th

[issue44997] [sqlite3] build fails on macOS 11.5.1

2021-08-26 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue44997] [sqlite3] build fails on macOS 11.5.1

2021-08-26 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Thanks, Ronald, that's a nice improvement. I'll create a PR for it. -- ___ Python tracker ___

[issue44933] python3.9-intel64 hardened runtime not enabled

2021-08-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: @ned: the "reliable way to run under rosetta" is using "arch -x86_64 python3". I don't particularly like having another executable to accomplish the same goal. -- ___ Python tracker

[issue44997] [sqlite3] build fails on macOS 11.5.1

2021-08-26 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +26427 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/27979 ___ Python tracker __

[issue45019] Freezing modules has manual steps but could be automated.

2021-08-26 Thread Eric Snow
New submission from Eric Snow : Currently we freeze the 3 main import-related modules, as well as one module for testing. Adding more modules or otherwise making any adjustments requires manually editing several files (frozen.c, Makefile.pre.in, ...). Those files aren't particularly obvious

[issue45019] Freezing modules has manual steps but could be automated.

2021-08-26 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +26428 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/27980 ___ Python tracker ___

[issue45020] Freeze all modules imported during startup.

2021-08-26 Thread Eric Snow
New submission from Eric Snow : Currently we freeze the 3 main import-related modules into the python binary (along with one test module). This allows us to bootstrap the import machinery from Python modules. It also means we get better performance importing those modules. If we freeze mod

[issue45020] Freeze all modules imported during startup.

2021-08-26 Thread Eric Snow
Eric Snow added the comment: FYI, with my branch I'm getting a 15% improvement to startup for "./python -c pass". -- ___ Python tracker ___ __

[issue45020] Freeze all modules imported during startup.

2021-08-26 Thread Eric Snow
Eric Snow added the comment: I'm aware of two potentially problematic consequences to this change: * making changes to those source files for the modules will not be reflected during execution until after "make" is run * tricks to inject hooks ASAP (e.g. coverage.py swaps the encodings module

[issue45020] Freeze all modules imported during startup.

2021-08-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Not sure whether you are aware, but the PyRun project I'm maintaining does that and goes beyond this by freezing almost the complete stdlib and statically linking most C extensions into a single binary: https://www.egenix.com/products/python/PyRun/ Startu

[issue45020] Freeze all modules imported during startup.

2021-08-26 Thread Ronald Oussoren
Change by Ronald Oussoren : -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue45020] Freeze all modules imported during startup.

2021-08-26 Thread Eric Snow
Eric Snow added the comment: > The big time consumer is turning marshal'ed code objects back > into Python objects, though. If that could be made faster by > e.g. using a more efficient storage format such as one which is > platform dependent, it'd be a much bigger win than the freezing > appro

[issue30274] Rename 'name' to 'fullname' argument to ExtensionFileLoader

2021-08-26 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 6.0 -> 7.0 pull_requests: +26429 pull_request: https://github.com/python/cpython/pull/27981 ___ Python tracker ___ __

[issue45020] Freeze all modules imported during startup.

2021-08-26 Thread Ned Batchelder
Change by Ned Batchelder : -- nosy: -nedbat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue40635] Documentation for socket.getfqdn incorrect?

2021-08-26 Thread miss-islington
miss-islington added the comment: New changeset 719af92e108ea3b31729cb09077673b8f13905d2 by Miss Islington (bot) in branch '3.10': bpo-40635: Fix getfqdn() docstring and docs (GH-27971) https://github.com/python/cpython/commit/719af92e108ea3b31729cb09077673b8f13905d2 -- ___

[issue40635] Documentation for socket.getfqdn incorrect?

2021-08-26 Thread miss-islington
miss-islington added the comment: New changeset f1e3fc4631da5e6ca1ea047c82bd9b42db9dd9ae by Miss Islington (bot) in branch '3.9': bpo-40635: Fix getfqdn() docstring and docs (GH-27971) https://github.com/python/cpython/commit/f1e3fc4631da5e6ca1ea047c82bd9b42db9dd9ae --

[issue45007] OpenSSL 1.1.1l is released

2021-08-26 Thread Steve Dower
Steve Dower added the comment: The new build and tags for Windows are up. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue40635] Documentation for socket.getfqdn incorrect?

2021-08-26 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6 ___ Python tracker _

[issue45021] Race condition in thread.py

2021-08-26 Thread nullptr
New submission from nullptr : The following code can sometimes hang up import random from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor from time import sleep def worker():

[issue34804] Repetition of 'for example' in documentation

2021-08-26 Thread Diana
Diana added the comment: I will handle it. I will send a pull request within 3 days. -- nosy: +DonnaDia ___ Python tracker ___ ___

[issue45021] Race condition in thread.py

2021-08-26 Thread nullptr
Change by nullptr : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue45021] Race condition in thread.py

2021-08-26 Thread nullptr
nullptr added the comment: A more direct way to reproduce from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor from time import sleep def worker(): with ProcessPoolExecutor() as pool: r = list(pool.map(sleep, [0.01] * 8)) def submit(pool): pool.submit(subm

[issue45020] Freeze all modules imported during startup.

2021-08-26 Thread Eric Snow
Eric Snow added the comment: > For the latter, the obvious solution is to introduce a startup hook I'm not sure why I said "obvious". Sorry about that. -- ___ Python tracker ___

[issue45022] Update libffi to 3.4.2

2021-08-26 Thread Steve Dower
New submission from Steve Dower : libffi is doing releases again! We're a few versions behind, so should pull in the latest. https://github.com/libffi/libffi/ Adding RMs for opinions on backporting, and Ned in case this impacts the macOS build. -- components: Build, Windows, ctypes m

  1   2   >