[issue45357] Idle does not check user config for extention configuration

2021-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am puzzled by your report. As explained in the top of idlelib/confix-extensions.def, the options for four features are still defined there for compatibility reasons and user changes to those option *are* stored in ~/.idlerc/config-extensions.cfg and read

[issue45405] Python does not configure on darwin using public llvm / clang version 13.0.0

2021-10-07 Thread debohman
debohman added the comment: Okay, I see from the developer guide, that the generated files should be included. Is it permissible to use the current version of autoconf? -- ___ Python tracker

[issue45405] Python does not configure on darwin using public llvm / clang version 13.0.0

2021-10-07 Thread debohman
Change by debohman : -- title: Python 3.10.0 does not configure on darwin using public llvm / clang -> Python does not configure on darwin using public llvm / clang version 13.0.0 versions: -Python 3.10 ___ Python tracker

[issue45405] Python 3.10.0 does not configure on darwin using public llvm / clang

2021-10-07 Thread debohman
debohman added the comment: Also, what branch should the PR be on, 3.10 or main? -- ___ Python tracker ___ ___ Python-bugs-list

[issue45405] Python 3.10.0 does not configure on darwin using public llvm / clang

2021-10-07 Thread debohman
debohman added the comment: I can put together a pull request to fix this. The fix is in configure.ac. Should I include the mods from the autoreconf in the PR? -- ___ Python tracker

[issue45407] Support buffer protocol for _struct.Struct format argument

2021-10-07 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45351] List all sockets in TCP echo server using streams

2021-10-07 Thread Eric V. Smith
Eric V. Smith added the comment: I'm not clear why you're suggesting this change. Is this additional functionality, or is the current example broken? Is the text wrong, or just the code? -- nosy: +eric.smith ___ Python tracker

[issue45382] platform() is not able to detect windows 11

2021-10-07 Thread Eryk Sun
Eryk Sun added the comment: > use the build number as reference instead of the major.minor It could check the (major, minor, build) tuple, which allows reporting 10.1+ as "post11" and minimizes hard coding of build numbers. For example, given win32_ver() iterates by (major, minor, build)

[issue45409] Support non-standard executables in venv

2021-10-07 Thread Steve Dower
Steve Dower added the comment: Pushed the branch so the changes are out there, but I still need to check (and probably fix) some handling of the Store package layout. The changes now will probably create some executables that won't work (pip.exe and idle.exe), so we might have to go back to

[issue45409] Support non-standard executables in venv

2021-10-07 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +27135 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/28817 ___ Python tracker

[issue45409] Support non-standard executables in venv

2021-10-07 Thread Steve Dower
New submission from Steve Dower : Currently the venv redirector on Windows is hardcoded for "python.exe" and "pythonw.exe". There is no good reason for this, and it's fairly easy to make the redirector able to invoke any executable in the base environment by inspecting its own name. This

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

2021-10-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 4ce55a2353e07962280181df40af0135aef1cf51 by Pablo Galindo Salgado in branch '3.10': [3.10] bpo-45408: Don't override previous tokenizer errors in the second parser pass (GH-28812). (GH-28813)

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

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

[issue45337] Create venv with pip fails when target dir is under userappdata using Microsoft Store python

2021-10-07 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45262] crash if asyncio is used before and after re-initialization if using python embedded in an application

2021-10-07 Thread miss-islington
miss-islington added the comment: New changeset 87f0156a229e4cda92ad8e50645c5a71030caf7c by Miss Islington (bot) in branch '3.9': bpo-45262, asyncio: Fix cache of the running loop holder (GH-28796) https://github.com/python/cpython/commit/87f0156a229e4cda92ad8e50645c5a71030caf7c --

[issue45337] Create venv with pip fails when target dir is under userappdata using Microsoft Store python

2021-10-07 Thread miss-islington
miss-islington added the comment: New changeset 06935bd68e3d89a4cc3f08c1d15eaa651b79a523 by Miss Islington (bot) in branch '3.9': bpo-45337: Use the realpath of the new executable when creating a venv on Windows (GH-28663)

[issue45337] Create venv with pip fails when target dir is under userappdata using Microsoft Store python

2021-10-07 Thread miss-islington
miss-islington added the comment: New changeset eabca6e593269301a0b7a36c4dc3525f04f5bb36 by Miss Islington (bot) in branch '3.10': bpo-45337: Use the realpath of the new executable when creating a venv on Windows (GH-28663)

[issue45262] crash if asyncio is used before and after re-initialization if using python embedded in an application

2021-10-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +27134 pull_request: https://github.com/python/cpython/pull/28816 ___ Python tracker ___

[issue45262] crash if asyncio is used before and after re-initialization if using python embedded in an application

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

[issue45262] crash if asyncio is used before and after re-initialization if using python embedded in an application

2021-10-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 392a89835371baa0fc4bf79ae479abb80661f57d by Matthias Reichl in branch 'main': bpo-45262, asyncio: Fix cache of the running loop holder (GH-28796) https://github.com/python/cpython/commit/392a89835371baa0fc4bf79ae479abb80661f57d --

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

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

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

2021-10-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 0219017df7ec41839fd0d56a3076b5f09c58d313 by Pablo Galindo Salgado in branch 'main': bpo-45408: Don't override previous tokenizer errors in the second parser pass (GH-28812)

[issue45405] Python 3.10.0 does not configure on darwin using public llvm / clang

2021-10-07 Thread debohman
debohman added the comment: By "public llvm / clang", I mean the toolchain version released by the llvm project. They just released version 13.0.0 last week. The problem is that version 12 of llvm / clang did not implement --print-multiarch, so this logic in configure was not exercised due

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

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

[issue45337] Create venv with pip fails when target dir is under userappdata using Microsoft Store python

2021-10-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +27130 pull_request: https://github.com/python/cpython/pull/28811 ___ Python tracker ___

[issue45337] Create venv with pip fails when target dir is under userappdata using Microsoft Store python

2021-10-07 Thread Steve Dower
Steve Dower added the comment: New changeset 6811fdaec825bd6ab64e358a4b480108f5634d2d by Steve Dower in branch 'main': bpo-45337: Use the realpath of the new executable when creating a venv on Windows (GH-28663)

[issue45337] Create venv with pip fails when target dir is under userappdata using Microsoft Store python

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

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

2021-10-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: Marking release blocker as a crash is bad for a function that is documented as safe for use on untrusted input so long as it isn't large enough to overflow the stack. https://docs.python.org/3/library/ast.html#ast.literal_eval -- priority: normal

[issue16379] SQLite error code not exposed to python

2021-10-07 Thread miss-islington
miss-islington added the comment: New changeset 8deb7afbd847656842375119f8dbef8aea54 by Erlend Egeberg Aasland in branch 'main': bpo-16379: Fix SQLite version checks in test_module_constants() (GH-28809) https://github.com/python/cpython/commit/8deb7afbd847656842375119f8dbef8aea54

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

2021-10-07 Thread Łukasz Langa
Łukasz Langa added the comment: Confirmed in 3.10 and 3.11: >>> ast.literal_eval(r'''\ ... \ ... (\ ... \ ''') fish: Job 1, 'python' terminated by signal SIGSEGV (Address boundary error) 3.9 raises SyntaxError: >>> ast.literal_eval(r''' ... \ ... (\ ... \ ''') Traceback (most recent call

[issue16379] SQLite error code not exposed to python

2021-10-07 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27128 pull_request: https://github.com/python/cpython/pull/28809 ___ Python tracker ___

[issue37157] shutil: add reflink=False to file copy functions to control clone/CoW copies (use copy_file_range)

2021-10-07 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45403] test_sys: test_stdlib_dir() fails when Python is built outside the source tree

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

[issue45403] test_sys: test_stdlib_dir() fails when Python is built outside the source tree

2021-10-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 768aaf6c433e6a13b82c7bdebd0062c7472c1fc7 by Victor Stinner in branch 'main': bpo-45403: Fix test_sys.test_stdlib_dir() (GH-28785) https://github.com/python/cpython/commit/768aaf6c433e6a13b82c7bdebd0062c7472c1fc7 --

[issue45407] Support buffer protocol for _struct.Struct format argument

2021-10-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I prefer to remove the comment. The format string is a text by its nature, there is no reason to support arbitrary binary data. Bytes objects are only supported for compatibility (with Python 2 strings). -- nosy: +serhiy.storchaka

[issue45402] ERROR: test_sundry (test.test_tools.test_sundry.TestSundryScripts): SystemExit: ERROR: missing _freeze_module

2021-10-07 Thread STINNER Victor
STINNER Victor added the comment: Thanks Miro for the bug report, it's now fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue45402] ERROR: test_sundry (test.test_tools.test_sundry.TestSundryScripts): SystemExit: ERROR: missing _freeze_module

2021-10-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset ff8859d965815e8b5af346bd90299cfa5568c855 by Victor Stinner in branch 'main': bpo-45402: Fix test_tools.test_sundry() (GH-28786) https://github.com/python/cpython/commit/ff8859d965815e8b5af346bd90299cfa5568c855 --

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

2021-10-07 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45393] help() on operator precedence has confusing entries "await" "x" and "not" "x"

2021-10-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In past we could backport some simple documentation fixes to security-only branches. But currently only the release manager of the corresponded version has permission to commit to these branches, and we do not want to disturb them for such minor cause. I

[issue45401] logging TimedRotatingFileHandler must not rename devices like /dev/null

2021-10-07 Thread Vinay Sajip
Vinay Sajip added the comment: RotatingFileHandler is also affected by the same issue. Both RotatingFileHandler and TimedRotatingFileHandler have a shouldRollover method which, if it returns False, should prevent rollover. I would think that putting something like if not

[issue45116] Performance regression 3.10b1 and later on Windows: Py_DECREF() not inlined in PGO build

2021-10-07 Thread Steve Dower
Steve Dower added the comment: If we know which parts of the function are critical, perhaps we should be designing a PGO profile that actually hits them all? The current profile is very arbitrary, basically just waiting for someone motivated enough to figure out a better one. --

[issue27580] CSV Null Byte Error

2021-10-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It looks to me that rejecting the null character is just an implementation artifact. 0 is used both as signalling value for "not set" character parameter and as the end-of-line character in the state automata. We can use different values outside of the

[issue27580] CSV Null Byte Error

2021-10-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +27127 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28808 ___ Python tracker

[issue45116] Performance regression 3.10b1 and later on Windows: Py_DECREF() not inlined in PGO build

2021-10-07 Thread Steve Dower
Steve Dower added the comment: I would very much appreciate any new compiler be compatible with the standard Windows debuggers (windbg primarily, but I imagine most contributors would like it to keep working from VS). Last I heard, clang is fine as a compiler for debugging if you use the

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

2021-10-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: (unable to reproduce on 3.9) -- nosy: +gregory.p.smith versions: -Python 3.9 ___ Python tracker ___

[issue45393] help() on operator precedence has confusing entries "await" "x" and "not" "x"

2021-10-07 Thread Max
Max added the comment: option 1 looks most attractive to me (and will also look most attractive in the rendering, IMHO -- certainly better than "await" "x", in any case). P.S.: OK, thanks for explanations concerning 3.6 - 3.8. I do understand that it won't be fixed for these versions (not

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

2021-10-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

2021-10-07 Thread Ammar Askar
New submission from Ammar Askar : >From the newly added ast.literal_eval(x) fuzzer, the following string fed to >ast.literal_eval will cause a null pointer in get_error_line: \ (\ \ This can be recreated with: ❯ ./python Python 3.11.0a1+ (heads/fuzz_ast-dirty:6c942a86a4, Oct 6

[issue45407] Support buffer protocol for _struct.Struct format argument

2021-10-07 Thread youknowone
New submission from youknowone : This feature is commented as `XXX` for years. https://github.com/python/cpython/blob/4e605666b08b8f863cbbbdaa34bb06988e648d26/Modules/_struct.c#L1478 Giving a bug tracker id or removing the comment will clarify the problem. -- components: Library

[issue29410] Moving to SipHash-1-3

2021-10-07 Thread Guido van Rossum
Guido van Rossum added the comment: Victor: > I expect even more interesting speedup with bytes string longer than 6k > bytes. And I'm quite sure that it's common that people manipulates long > strings in Python :-) But do they use them as dict keys? AFAIK strings aren't hashed until hash()

[issue45405] Python 3.10.0 does not configure on darwin using public llvm / clang

2021-10-07 Thread Ned Deily
Ned Deily added the comment: On what platform and OS version are you building? When you say "public llvm / clang", do you mean from Apple for macOS or from some other source? Be aware that we only officially test and support building Python for macOS on macOS itself using the Apple build

[issue45398] Bugs in set operations in 3.8.10 (detected in Win7)

2021-10-07 Thread Alexey
Change by Alexey : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42066] CookieJar cookies should not be sorted

2021-10-07 Thread Patrick Decat
Change by Patrick Decat : -- nosy: +Patrick Decat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37157] shutil: add reflink=False to file copy functions to control clone/CoW copies (use copy_file_range)

2021-10-07 Thread Albert Zeyer
Albert Zeyer added the comment: > How is CoW copy supposed to be done by using copy_file_range() exactly? I think copy_file_range() will just always use copy-on-write and/or server-side-copy when available. You cannot even turn that off. -- ___

[issue45103] IDLE: make configdialog font page survive font failures

2021-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. Did the FiraCode font work for you or merely not work without crashing? -- ___ Python tracker ___

[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-07 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 07.10.2021 16:40, Eric Snow wrote: > > On Thu, Oct 7, 2021 at 1:17 AM Marc-Andre Lemburg > wrote: >> I'm not sure I follow, but in any case, please make sure that >> the freeze tool in Tools/ continues to work with the new mechanism. >> >> The freeze

[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-07 Thread Eric Snow
Eric Snow added the comment: On Thu, Oct 7, 2021 at 1:17 AM Marc-Andre Lemburg wrote: > I'm not sure I follow, but in any case, please make sure that > the freeze tool in Tools/ continues to work with the new mechanism. > > The freeze tool would also need to know which modules are already >

[issue29410] Moving to SipHash-1-3

2021-10-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do Rust and Ruby cache the hash of the string in the string object? If they do not then the hashing speed is more important to them. -- ___ Python tracker

[issue37157] shutil: add reflink=False to file copy functions to control clone/CoW copies (use copy_file_range)

2021-10-07 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > So using copy_file_range (if available) should be the most generic solution, > which includes copy-on-write support, and server-side copy support. Doesn't this imply to pass some flag to copy_file_range()? "man copy_file_range" says: > The flags

[issue45340] Lazily create dictionaries for plain Python objects

2021-10-07 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +27125 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28802 ___ Python tracker ___

[issue29410] Moving to SipHash-1-3

2021-10-07 Thread Christian Heimes
Christian Heimes added the comment: I suggest that you write a new PEP that discusses possible improvement for str and bytes hashing. This BPO is just about SipHash-1-3. As the author and implementer of PEP 456, I only approve SipHash-1-3 as new default algorithm. All other change proposals

[issue45397] Doc for turtle.write missing the tuple part of the font param in 3.10+

2021-10-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I tested with Sphinx 1.5.4, and this issue is gone. It introduces a regression with some smart quotes (see https://github.com/sphinx-doc/sphinx/issues/9713), but it is less severe than incorrect rendering of tuples as parameter defaults. --

[issue45397] Doc for turtle.write missing the tuple part of the font param in 3.10+

2021-10-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: jg, please remove the copy of other message when answer. It makes painfully difficult reading the discussion for visually impaired people. -- ___ Python tracker

[issue37157] shutil: add reflink=False to file copy functions to control clone/CoW copies (use copy_file_range)

2021-10-07 Thread Dulanic
Dulanic added the comment: As a note, coreutils 9.0 cp defaults now to reflink=auto. https://www.phoronix.com/scan.php?page=news_item=GNU-Coreutils-9.0 -- nosy: +dulanic ___ Python tracker

[issue45397] Doc for turtle.write missing the tuple part of the font param in 3.10+

2021-10-07 Thread jg
jg added the comment: I forgot to mention I'm on Windows 10 PC and see the same thing under Edge and FireFox. John G. Gammon -. .. .. .-.. .- -.. -- .. .-. .- .-. .. This message and any attachments hereto may contain confidential and/or privileged information. If you

[issue45393] help() on operator precedence has confusing entries "await" "x" and "not" "x"

2021-10-07 Thread Zachary Ware
Zachary Ware added the comment: Correct; 3.7 and 3.8 are both in security-fix-only maintenance mode; their documentation is no longer updated unless a security-related fix causes a significant change in behavior that needs to be documented. As far as fixing this issue, we have a few

[issue29410] Moving to SipHash-1-3

2021-10-07 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 07.10.2021 15:29, Christian Heimes wrote: > > Christian Heimes added the comment: > > JP got back to me > > On 07/10/2021 14.34, Jean-Philippe Aumasson wrote: >> xxHash is much faster indeed, but collisions seem trivial to find, which >> might

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-10-07 Thread Miroslav Suchý
Change by Miroslav Suchý : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-10-07 Thread Miroslav Suchý
New submission from Miroslav Suchý : When you exec inspect.getouterframes() in directory, which no longer exists, then you get traceback, because the code traverse to os.getcwd() which fails. Reproducer: $ mkdir /tmp/bar $ cd /tmp/bar $ rmdir /tmp/bar $ python3 Python 3.10.0rc2 (default, Sep

[issue45116] Performance regression 3.10b1 and later on Windows: Py_DECREF() not inlined in PGO build

2021-10-07 Thread STINNER Victor
STINNER Victor added the comment: > How feasible would it be to use Clang or GCC on Windows? clang seems to have a good Windows support and tries to the ABI compatible with MSC which is a must have to keep wheel package support (especially for the stable ABI, used by PyQt on Windows for

[issue45400] test_name_error_suggestions_do_not_trigger_for_too_many_locals: AssertionError: 'a1' unexpectedly found in Traceback

2021-10-07 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker ___

[issue17659] no way to determine First weekday (based on locale)

2021-10-07 Thread Cédric Krier
Cédric Krier added the comment: I have updated the PR to be included in 3.11 -- versions: +Python 3.11 -Python 3.10 ___ Python tracker ___

[issue45262] crash if asyncio is used before and after re-initialization if using python embedded in an application

2021-10-07 Thread Matthias Reichl
Matthias Reichl added the comment: We were hitting the same issue in kodi, which uses embedded sub-interpreters to run python addons, after one of the addons was switched to asyncio. The immediate cause of the assertion failure is a use-after-free issue from the running loop holder cache:

[issue29410] Moving to SipHash-1-3

2021-10-07 Thread Christian Heimes
Christian Heimes added the comment: JP got back to me On 07/10/2021 14.34, Jean-Philippe Aumasson wrote: > xxHash is much faster indeed, but collisions seem trivial to find, which > might allow hash-flood DoS again (see for example > https://github.com/Cyan4973/xxHash/issues/180 >

[issue45262] crash if asyncio is used before and after re-initialization if using python embedded in an application

2021-10-07 Thread Matthias Reichl
Change by Matthias Reichl : -- keywords: +patch nosy: +HiassofT nosy_count: 4.0 -> 5.0 pull_requests: +27124 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28796 ___ Python tracker

[issue45404] Undefined I_* macros when building 3.10 on Ubuntu?

2021-10-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is the output of the following command? ./python -m sysconfig | grep HAVE_STROPTS_H Also, is there the stropts.h file on your system and where? dlocate stropts.h locate stropts.h -- nosy: +serhiy.storchaka

[issue41105] Add some extra content check in configure process for some empty header file who has been deprecated by glibc

2021-10-07 Thread Diego Alonso
Diego Alonso added the comment: Yes, I have the same problem. The empty file is needed to avoid compilation errors in certain builds, but in this case it creates an error... -- nosy: +etale-cohomology ___ Python tracker

[issue45116] Performance regression 3.10b1 and later on Windows: Py_DECREF() not inlined in PGO build

2021-10-07 Thread Mark Shannon
Mark Shannon added the comment: Sadly the MSVC team are claiming that this isn't a bug in their compiler. Not sure how we convince them that it is. The website rejects any attempt to reopen the issue. How feasible would it be to use Clang or GCC on Windows? --

[issue45398] Bugs in set operations in 3.8.10 (detected in Win7)

2021-10-07 Thread Alexey
Alexey added the comment: Is interesting, that in win10 the bug is not reproduced too ! (only in win7!!!) -- ___ Python tracker ___

[issue45405] Python 3.10.0 does not configure on darwin using public llvm / clang

2021-10-07 Thread debohman
New submission from debohman : % CC=clang CXX=clang++ ./configure --enable-optimizations --with-lto checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking for python3.10... no checking for python3... python3 checking for

[issue45243] [sqlite3] add support for changing connection limits

2021-10-07 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27123 pull_request: https://github.com/python/cpython/pull/28790 ___ Python tracker ___

[issue29410] Moving to SipHash-1-3

2021-10-07 Thread Christian Heimes
Christian Heimes added the comment: SipHash is a cryptographically secure PRF, not a cryptographic hashing algorithm, https://www.python.org/dev/peps/pep-0456/#siphash I'm strongly against using a different algorithm when the rest of the world is using either SipHash-2-4 or SipHash-1-3. A

[issue45400] test_name_error_suggestions_do_not_trigger_for_too_many_locals: AssertionError: 'a1' unexpectedly found in Traceback

2021-10-07 Thread miss-islington
miss-islington added the comment: New changeset d55bf81c4ee2dcdd5dfa3b5a9905a0b32ca8d38b by Miss Islington (bot) in branch '3.10': bpo-45400: Fix suggestion test of test_exceptions (GH-28783) https://github.com/python/cpython/commit/d55bf81c4ee2dcdd5dfa3b5a9905a0b32ca8d38b --

[issue45400] test_name_error_suggestions_do_not_trigger_for_too_many_locals: AssertionError: 'a1' unexpectedly found in Traceback

2021-10-07 Thread STINNER Victor
STINNER Victor added the comment: > I am working on a fix Or, I missed your message. You wrote it 4 minutes before I created my PR :-) -- ___ Python tracker ___

[issue10716] Modernize pydoc to use better HTML and separate CSS

2021-10-07 Thread Julien Palard
Julien Palard added the comment: Does someone want to review https://github.com/python/cpython/pull/28651? -- ___ Python tracker ___

[issue45404] Undefined I_* macros when building 3.10 on Ubuntu?

2021-10-07 Thread Diego Alonso
New submission from Diego Alonso : Trying to build Python 3.10 on Ubuntu 20.04. It builds everything but the fcntl module; ie. at the end it says: Failed to build these modules: fcntl. Here are the compilation errors. It's trying to use certain macros that are undefined: I_PUSH, I_POP,

[issue45103] IDLE: make configdialog font page survive font failures

2021-10-07 Thread E. Paine
E. Paine added the comment: I am unable to reproduce on either Python 3.9.6 (Tk 8.6.9) or 3.10.0 (Tk 8.6.10). -- ___ Python tracker ___

[issue45400] test_name_error_suggestions_do_not_trigger_for_too_many_locals: AssertionError: 'a1' unexpectedly found in Traceback

2021-10-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4e605666b08b8f863cbbbdaa34bb06988e648d26 by Victor Stinner in branch 'main': bpo-45400: Fix suggestion test of test_exceptions (GH-28783) https://github.com/python/cpython/commit/4e605666b08b8f863cbbbdaa34bb06988e648d26 --

[issue45400] test_name_error_suggestions_do_not_trigger_for_too_many_locals: AssertionError: 'a1' unexpectedly found in Traceback

2021-10-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +27122 pull_request: https://github.com/python/cpython/pull/28787 ___ Python tracker

[issue45402] ERROR: test_sundry (test.test_tools.test_sundry.TestSundryScripts): SystemExit: ERROR: missing _freeze_module

2021-10-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +27121 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28786 ___ Python tracker ___

[issue29410] Moving to SipHash-1-3

2021-10-07 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 07.10.2021 12:48, Christian Heimes wrote: > >> I don't quite follow. Why is it fine that you discuss DoS, but it's not > fine when others discuss DoS ? > > But this BPO is not about discussing mitigations against DoS attacks in > general. It's about

[issue45402] ERROR: test_sundry (test.test_tools.test_sundry.TestSundryScripts): SystemExit: ERROR: missing _freeze_module

2021-10-07 Thread STINNER Victor
STINNER Victor added the comment: My fix for bpo-45020 no longer works, I'm not sure why: commit 41551ee7e24fb6c58846836d3655dbb212281206 Author: Victor Stinner Date: Fri Sep 17 20:20:43 2021 +0200 bpo-45020: Fix build out of source tree (GH-28410) * Makefile.pre.in: Add

[issue45403] test_sys: test_stdlib_dir() fails when Python is built outside the source tree

2021-10-07 Thread STINNER Victor
STINNER Victor added the comment: Python 3.10 is not affected: sys._stdlib_dir was added to Python 3.11. -- ___ Python tracker ___

[issue45403] test_sys: test_stdlib_dir() fails when Python is built outside the source tree

2021-10-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +27120 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28785 ___ Python tracker ___

[issue29410] Moving to SipHash-1-3

2021-10-07 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: BTW: We already use (a slight variant of) xxHash for tuples: https://bugs.python.org/issue34751 The issues is an interesting read, in particular on how xxHash was eventually chosen, with a whole set of other hash algorithms in between. --

[issue45403] test_sys: test_stdlib_dir() fails when Python is built outside the source tree

2021-10-07 Thread STINNER Victor
New submission from STINNER Victor : Reproduce the issue: --- # go to Python source tree mkdir build cd build ../configure make ./python -m test test_sys --- Output: == FAIL: test_stdlib_dir (test.test_sys.SysModuleTest)

[issue45400] test_name_error_suggestions_do_not_trigger_for_too_many_locals: AssertionError: 'a1' unexpectedly found in Traceback

2021-10-07 Thread Miro Hrončok
Change by Miro Hrončok : -- pull_requests: +27119 pull_request: https://github.com/python/cpython/pull/28784 ___ Python tracker ___

[issue26651] Deprecate register_adapter() and register_converter() in sqlite3

2021-10-07 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- versions: +Python 3.11 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45400] test_name_error_suggestions_do_not_trigger_for_too_many_locals: AssertionError: 'a1' unexpectedly found in Traceback

2021-10-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +27118 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28783 ___ Python tracker ___

[issue45400] test_name_error_suggestions_do_not_trigger_for_too_many_locals: AssertionError: 'a1' unexpectedly found in Traceback

2021-10-07 Thread Miro Hrončok
Miro Hrončok added the comment: I am working on a fix -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >