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

2021-11-02 Thread miss-islington
miss-islington added the comment: New changeset cfdd7d26a72e7ae523039e40c11001c2d7ef36ba by Miss Islington (bot) in branch '3.10': bpo-45406: make inspect.getmodule() return None when getabsfile() raises FileNotFoundError (GH-28824) https://github.com/python/cpython/commit/cfdd7d26a72e7ae523

[issue45673] argparse error with option with optional value

2021-11-02 Thread paul j3
paul j3 added the comment: Put the required positional first $ myapp myfile -s or one of the store_true arguments $ myapp -s -j myfile I think $ myapp -s -- myfile will work as well, but that needs to be tested. The '-s' has to be followed by something won't be confused for an argument

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

2021-11-02 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Steve, do you think it is worth it adding an audit hook for setting connection limits? Most of the limits are harmless, but limits that control recursion are more interesting. SQLITE_LIMIT_EXPR_DEPTH: Maximum Depth Of An Expression Tree SQLite

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

2021-11-02 Thread Irit Katriel
Irit Katriel added the comment: Thanks Lukasz. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue45695] Out-of-tree builds are not tested.

2021-11-02 Thread Eric Snow
New submission from Eric Snow : Currently we don't test builds done outside the source tree, neither on GitHub nor the buildbots. [1] As a result, such builds get broken occasionally. I've certainly broken then a couple times, inadvertently. It would be helpful if we tested out-of-tree bui

[issue24139] Use sqlite3 extended error codes

2021-11-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 456e27ac0ac6bc1cfd6da0191bd7802d8667457b by Erlend Egeberg Aasland in branch 'main': bpo-24139: Add support for SQLite extended result codes (GH-28076) https://github.com/python/cpython/commit/456e27ac0ac6bc1cfd6da0191bd7802d8667457b --

[issue24139] Use sqlite3 extended error codes

2021-11-02 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45696] "Deep-freeze": skip the marshal step by generating C code

2021-11-02 Thread Guido van Rossum
New submission from Guido van Rossum : See https://github.com/faster-cpython/ideas/issues/84 This appears to improve startup time by another 10% or more compared to main. -- assignee: gvanrossum components: Interpreter Core messages: 405570 nosy: gvanrossum priority: normal severity: n

[issue45696] "Deep-freeze": skip the marshal step by generating C code

2021-11-02 Thread Guido van Rossum
Change by Guido van Rossum : -- keywords: +patch pull_requests: +27637 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29118 ___ Python tracker ___

[issue45646] Star expression in comprehension wrongly indicates to use or_expression after the star

2021-11-02 Thread Arthur Milchior
Arthur Milchior added the comment: Thank you very much Dennis. For two reasons. First, because I like a lot what you wrote. I suspect that it would have saved me time and make things less confusing. That's not certain, because at the time I was reading the documentation of or_expr, I may ha

[issue45695] Out-of-tree builds are not tested.

2021-11-02 Thread Steve Dower
Steve Dower added the comment: FTR, I used to run all Windows builds out of tree on Azure Pipelines, but too many tests broke so I reverted it: https://github.com/python/cpython/blob/456e27ac0ac6bc1cfd6da0191bd7802d8667457b/.azure-pipelines/windows-steps.yml#L7-L10 Setting $env:Py_OutDir bef

[issue45695] Out-of-tree builds are not tested.

2021-11-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: I always do out of tree builds _(I find people who build anything in tree to be very weird - it makes a mess)_. I intend to look into making sure a Linux buildbot runs this way but don't let that stop anyone else from doing so. -- ___

[issue45695] Out-of-tree builds are not tested.

2021-11-02 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45696] "Deep-freeze": skip the marshal step by generating C code

2021-11-02 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue45646] Star expression in comprehension wrongly indicates to use or_expression after the star

2021-11-02 Thread Dennis Sweeney
Dennis Sweeney added the comment: Feel free to use anything I wrote in a PR and make any revisions/edits you want. -- ___ Python tracker ___ __

[issue45697] PyType_IsSubtype is doing excessive work in the common case

2021-11-02 Thread Itamar Ostricher
New submission from Itamar Ostricher : Based on real world profiling data we collected, a vast amount of `PyType_IsSubtype` calls are coming from `type_call`, when it decides whether `__init__` should run or not. In the common case, the arguments to this call are identical, but the implement

[issue45697] PyType_IsSubtype is doing excessive work in the common case

2021-11-02 Thread Itamar Ostricher
Change by Itamar Ostricher : -- keywords: +patch pull_requests: +27638 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29380 ___ Python tracker ___

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-11-02 Thread swgmma
swgmma added the comment: Anything else left to do? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-11-02 Thread swgmma
Change by swgmma : -- versions: +Python 3.11 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue45697] PyType_IsSubtype is doing excessive work in the common case

2021-11-02 Thread Dennis Sweeney
Dennis Sweeney added the comment: Interesting. It seems like several call sites already check the equality case: setobject.h: #define PyFrozenSet_Check(ob) \ (Py_IS_TYPE(ob, &PyFrozenSet_Type) || \ PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) object.h: stati

[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-11-02 Thread Ned Deily
Ned Deily added the comment: OK, thanks to Marc's quick response, it looks like we have conquered the elusive zombie dialog window. So let's try again. Note that the download file name has changed to avoid any confusion: As of 2021-11-03, the macOS installer file on python.org for the 3.10.0

[issue45641] Error In opening a file through tkinter on macOS Monterey

2021-11-02 Thread Ned Deily
Ned Deily added the comment: An update: we believe that the problem with the Save dialog window not closing has been fixed in a revised updated macOS installer for 3.10.0 which is now available as the default download from python.org. See Issue44828 for more details. -- ___

[issue45598] setup.py grep_headers_for() is broken by design

2021-11-02 Thread Ned Deily
Ned Deily added the comment: > Ned, what about USING_APPLE_OS_LIBFFI? Is it still relevant? It was just added a year ago as part of the support for macOS 11 Big Sur and Apple Silicon systems. -- ___ Python tracker

[issue45697] PyType_IsSubtype is doing excessive work in the common case

2021-11-02 Thread Itamar Ostricher
Itamar Ostricher added the comment: Dennis, you mean something like this? https://github.com/itamaro/cpython/commit/92d46b260cf6ccce1a47003f539294530138e488 sure, that would preempt the `PyType_IsSubtype` calls coming from these specific callsites, but the early return in `PyType_IsSubtype`

[issue45698] Error on importing getopt

2021-11-02 Thread Mgs M Rizqi Fadhlurrahman
New submission from Mgs M Rizqi Fadhlurrahman : It looks like there is a breaking change related to python 3.10.0 implementation that impacted getopt package. https://docs.python.org/3/library/getopt.html https://github.com/python/cpython/blob/3.10/Lib/getopt.py Steps to reproduce: 1. Run pyt

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

2021-11-02 Thread Petr Viktorin
Petr Viktorin added the comment: Hooray! Congratulations, and thanks for your work and determination to get this done :) -- ___ Python tracker ___

[issue45689] Custom Name for ThreadPoolExecutor

2021-11-02 Thread Tangellapalli Sai Hanuma Rahul
Change by Tangellapalli Sai Hanuma Rahul : -- versions: -Python 3.10, Python 3.11 ___ Python tracker ___ ___ Python-bugs-list maili

<    1   2