[issue45743] Cleanup and simplify setup.py

2021-11-09 Thread Christian Heimes
Christian Heimes added the comment: New changeset 8fefaad242f45b3bd97e000a00f2aac16d935315 by Christian Heimes in branch 'main': bpo-45743: -Wl,-search_paths_first is no longer needed (GH-29464) https://github.com/python/cpython/commit/8fefaad242f45b3bd97e000a00f2aac16d935315 -- __

[issue45761] recursive ProcessPoolExecutor invoke unable to return result

2021-11-09 Thread Evan Greenup
Change by Evan Greenup : Added file: https://bugs.python.org/file50432/hello.py ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue45761] recursive ProcessPoolExecutor invoke unable to return result

2021-11-09 Thread Evan Greenup
New submission from Evan Greenup : Read the hello.py in attachment. This simple shallow recursion will never return result. -- components: Library (Lib) files: hello.py messages: 406003 nosy: evan0greenup priority: normal severity: normal status: open title: recursive ProcessPoolExecut

[issue45762] Missing `list` symbols in the object inventory

2021-11-09 Thread Matteo Bertucci
New submission from Matteo Bertucci : Sphinx generates a quite useful inventory file, listing all the different symbols available inside the documentation. You can find the docs.python.org inventory over at https://docs.python.org/objects.inv. The syntax of this file can be found here https:/

[issue45689] Add the ability to give custom names to threads created by ThreadPoolExecutor

2021-11-09 Thread Tangellapalli Sai Hanuma Rahul
Tangellapalli Sai Hanuma Rahul added the comment: In summary; == Current Problem: -- ThreadPoolExecutor handles all threads-related activities so the user needs to just submit tasks and set max_workers and other Executor settings if necessary. If ThreadPoolExecutor

[issue45743] Cleanup and simplify setup.py

2021-11-09 Thread Christian Heimes
Christian Heimes added the comment: New changeset 6a1cc8bf8a0d88af9c7891c6577508ae9f70e3ef by Christian Heimes in branch 'main': bpo-45743: Remove workaround for zlib CVE from 2002 (GH-29457) https://github.com/python/cpython/commit/6a1cc8bf8a0d88af9c7891c6577508ae9f70e3ef -- _

[issue45763] Detect compression libraries in configure

2021-11-09 Thread Christian Heimes
New submission from Christian Heimes : Detect the presence of header files and development libraries for zlib, bz2, and lzma in configure.ac. Also see bpo-45747 -- components: Build messages: 406007 nosy: christian.heimes priority: normal severity: normal status: open title: Detect com

[issue45759] non-matching `elif`/`else` statements with uninformative errors

2021-11-09 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45759] Improve error messages for non-matching `elif`/`else` statements

2021-11-09 Thread Alex Waygood
Change by Alex Waygood : -- title: non-matching `elif`/`else` statements with uninformative errors -> Improve error messages for non-matching `elif`/`else` statements ___ Python tracker _

[issue43656] TracebackException or StackSummary.extract with capture_locals=True fail to catch exceptions raised by repr() on value of frame local variable in FrameSummary.__init__.

2021-11-09 Thread Martin
Martin added the comment: Just to avoid misunderstandings: My pull request is not at all about silencing exceptions. It is about customizing the output of the traceback module. (Just like the introduction of capture_locals previously: #22936) (-X capture_locals, on the other hand, is a hypot

[issue45763] Detect compression libraries in configure

2021-11-09 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27734 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29483 ___ Python tracker ___

[issue45703] importlib.invalidate_caches() does not invalidate _NamespacePath's _last_parent_path-based cache

2021-11-09 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue45354] test_winconsoleio fails on Windows 11

2021-11-09 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue: test_winconsoleio fails on the "AMD64 Windows11 3.x" buildbot, whereas the purpose of this issue was to get test_winconsoleio pass on Windows 11. First AMD64 Windows11 3.x failure: https://buildbot.python.org/all/#/builders/733/builds/243

[issue45764] Parse error improvement forgetting ( after def

2021-11-09 Thread Carl Friedrich Bolz-Tereick
New submission from Carl Friedrich Bolz-Tereick : Something I see beginners make occasionally when defining functions without arguments is this: def f: ... Right now it just gives an "invalid syntax", would be nice to get an "expected '('". I will try to give this a go! Should be a matt

[issue45637] The fallback to find the current frame in the gdb helpers fails for inlined frames

2021-11-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset f4c03484da59049eb62a9bfb963e2267d187 by Pablo Galindo Salgado in branch 'main': bpo-45637: Remove broken fallback in gdb helpers to obtain frame variable (GH-29257) https://github.com/python/cpython/commit/f4c03484da59049eb62a9bf

[issue45764] Parse error improvement forgetting ( after def

2021-11-09 Thread Carl Friedrich Bolz-Tereick
Change by Carl Friedrich Bolz-Tereick : -- keywords: +patch pull_requests: +27735 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29484 ___ Python tracker

[issue45759] Improve error messages for non-matching `elif`/`else` statements

2021-11-09 Thread Andre Roberge
Change by Andre Roberge : -- nosy: +aroberge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue43656] TracebackException or StackSummary.extract with capture_locals=True fail to catch exceptions raised by repr() on value of frame local variable in FrameSummary.__init__.

2021-11-09 Thread Martin
Martin added the comment: I improved the example in traceback.rst to illustrate how format_locals works. -- ___ Python tracker ___

[issue43656] TracebackException or StackSummary.extract with capture_locals=True fail to catch exceptions raised by repr() on value of frame local variable in FrameSummary.__init__.

2021-11-09 Thread Ken Jin
Change by Ken Jin : -- nosy: -kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mai

[issue23041] csv needs more quoting rules

2021-11-09 Thread Skip Montanaro
Skip Montanaro added the comment: Further question... All the discussion has been on the writer side of the csv module. Is there any reason that using QUOTE_STRINGS or QUOTE_NOTNULL should have an effect when reading? For example, should this line on input "",,1,'a' produce this list ["",

[issue45354] test_winconsoleio fails on Windows 11

2021-11-09 Thread Eryk Sun
Eryk Sun added the comment: The embedded manifest in python[_d].exe is missing, so the process is running with Windows 8 compatibility mode (i.e. 6.2.9200), and thus the check for Windows 11+ (10.0.22000+) is false. It's disappointing that compatibility mode doesn't restore the old DOS devic

[issue23041] csv needs more quoting rules

2021-11-09 Thread Miha Šetina
Miha Šetina added the comment: I would say that it should follow a rule: both cases values of None are output as an empty field so empty filed should map to None with both QUOTE_NOTNULL and QUOTE_STRINGS that would make: ["", None, 1, "a"] for QUOTE_STRINGS in effect. This would also make i

[issue45354] test_winconsoleio fails on Windows 11

2021-11-09 Thread Eryk Sun
Eryk Sun added the comment: It would also work to add RT_MANIFEST=24 to the ResourceCompile PreprocessorDefinitions in PCbuild\pyproject.props. Though to me, adding the definition there is obscure compared to including a private header, such as "resourcetype.h". --

[issue45723] Improve and simplify configure.ac checks

2021-11-09 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27736 pull_request: https://github.com/python/cpython/pull/29485 ___ Python tracker ___ ___

[issue23041] csv needs more quoting rules

2021-11-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The quoting style affects not only the CSV formatting, but also the CSV parsing. How QUOTE_NOTNULL and QUOTE_STRINGS will affect parsing? -- ___ Python tracker __

[issue45354] test_winconsoleio fails on Windows 11

2021-11-09 Thread Steve Dower
Steve Dower added the comment: > bpo-45220 removed the winuser.h include from the PC\*.rc files, so the > RT_MANIFEST resource type macro isn't defined. It needs to be defined in the > file or a common header. For example: > > #define RT_MANIFEST 24 > 1 RT_MANIFEST "python.manifest

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

2021-11-09 Thread swgmma
swgmma added the comment: Just squashed all the commits. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45354] test_winconsoleio fails on Windows 11

2021-11-09 Thread STINNER Victor
STINNER Victor added the comment: > #define RT_MANIFEST 24 If possible, add a comment with a reference to this issue (bpo-45354) to help future readers ;-) -- ___ Python tracker ___

[issue45723] Improve and simplify configure.ac checks

2021-11-09 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27737 pull_request: https://github.com/python/cpython/pull/29486 ___ Python tracker ___ ___

[issue45723] Improve and simplify configure.ac checks

2021-11-09 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: AC_CHECK_TYPE is obsolete and it's use is discouraged. There are some gotchas we need to check before switching to AC_CHECK_TYPES. See: - https://www.gnu.org/software/autoconf/manual/autoconf-2.70/html_node/Obsolete-Macros.html - https://www.gnu.org/soft

[issue45765] importlib.metadata fails to find distributions in empty path

2021-11-09 Thread Jason R. Coombs
New submission from Jason R. Coombs : Reported in https://github.com/python/importlib_metadata/issues/353, importlib.metadata fails to find distributions in the path "". A fix was applied to importlib_metadata 2.1.2 and 4.8.2. Let's apply that fix and backport it to supported Pythons. --

[issue45754] [sqlite3] SQLITE_LIMIT_LENGTH is incorrectly used to check statement length

2021-11-09 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > > What happens if set SQLITE_LIMIT_SQL_LENGTH to 0 [...] In this case, the limit is actually zero: >>> cx.setlimit(sqlite3.SQLITE_LIMIT_SQL_LENGTH, 0) 1024 >>> cx.execute("select 1") Traceback (most recent call last): File "", line

[issue45765] importlib.metadata fails to find distributions in empty path

2021-11-09 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: -> jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue45765] importlib.metadata fails to find distributions in empty path

2021-11-09 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +27738 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29487 ___ Python tracker ___

[issue45764] Parse error improvement forgetting ( after def

2021-11-09 Thread miss-islington
miss-islington added the comment: New changeset 2819e98d1048238bf94dc2ba88ae2455d01861bc by Carl Friedrich Bolz-Tereick in branch 'main': bpo-45764: improve error message when missing '(' after 'def' (GH-29484) https://github.com/python/cpython/commit/2819e98d1048238bf94dc2ba88ae2455d01861bc

[issue39026] Include/cpython/pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2021-11-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +27739 pull_request: https://github.com/python/cpython/pull/29488 ___ Python tracker ___ __

[issue39026] Include/cpython/pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2021-11-09 Thread STINNER Victor
STINNER Victor added the comment: I wrote a different fix: PR 29488. Can someone please check if it fix the issue with Xcode? -- ___ Python tracker ___ __

[issue45754] [sqlite3] SQLITE_LIMIT_LENGTH is incorrectly used to check statement length

2021-11-09 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +27740 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29489 ___ Python tracker __

[issue45766] Add direct proportion option to statistics.linear_regression()

2021-11-09 Thread Raymond Hettinger
New submission from Raymond Hettinger : Signature: def linear_regression(x, y, /, *, proportional=False): Additional docstring with example: If *proportional* is true, the independent variable *x* and the dependent variable *y* are assumed to be directly proportional. The data

[issue45766] Add direct proportion option to statistics.linear_regression()

2021-11-09 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +27741 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29490 ___ Python tracker __

[issue45723] Improve and simplify configure.ac checks

2021-11-09 Thread miss-islington
miss-islington added the comment: New changeset 185533639d6eddd42a28f9e3517067bd877e34c5 by Erlend Egeberg Aasland in branch 'main': bpo-45723: Remove obsolete AC_EXEEXT from configure.ac (GH-29486) https://github.com/python/cpython/commit/185533639d6eddd42a28f9e3517067bd877e34c5 --

[issue45763] Detect compression libraries in configure

2021-11-09 Thread Christian Heimes
Christian Heimes added the comment: New changeset 5b7c7cb104163a178e9d70cb3c80cbfa6af8fbfc by Christian Heimes in branch 'main': bpo-45763: Detect compression build deps in configure (GH-29483) https://github.com/python/cpython/commit/5b7c7cb104163a178e9d70cb3c80cbfa6af8fbfc -- ___

[issue45763] Detect compression libraries in configure

2021-11-09 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45732] Update python.org Windows and macOS installers to use Tk 8.6.12

2021-11-09 Thread Steve Dower
Steve Dower added the comment: New changeset bcc4e46832010469bb35a97c1d1e962a82ee7fd9 by Steve Dower in branch 'main': bpo-45732: Update bundled Tcl/Tk on Windows to 8.6.12 (GH-29477) https://github.com/python/cpython/commit/bcc4e46832010469bb35a97c1d1e962a82ee7fd9 -- _

[issue45732] Update python.org Windows and macOS installers to use Tk 8.6.12

2021-11-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +27742 pull_request: https://github.com/python/cpython/pull/29493 ___ Python tracker ___ _

[issue45767] Fix types for dev_t processing in posix module

2021-11-09 Thread Dmitry Marakasov
New submission from Dmitry Marakasov : So, I was investigating a test failure of python 3.11 and 3.10 on FreeBSD (but it likely applies to all python versions): == FAIL: test_makedev (test.test_posix.PosixTester) -

[issue45767] Fix types for dev_t processing in posix module

2021-11-09 Thread Dmitry Marakasov
Change by Dmitry Marakasov : -- pull_requests: +27743 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29494 ___ Python tracker ___

[issue45757] dis module incorrectly handles EXTENDED_ARG + NOP sequence

2021-11-09 Thread Brandt Bucher
Brandt Bucher added the comment: I don't think that it does, since oparg gets totally reassigned each time we load a new instruction. EXTENDED_ARG actually needs to hack around this by advancing the instruction itself, updating oparg, and jumping straight into the next opcode. -- _

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2021-11-09 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +27745 pull_request: https://github.com/python/cpython/pull/29495 ___ Python tracker ___

[issue45768] SyntaxError: 'await' outside function" in "asyncio-task.html#waiting-primitives" code snippets

2021-11-09 Thread Jose Ville
New submission from Jose Ville : https://docs.python.org/3/library/asyncio-task.html#asyncio.wait has the following two code snippets both of which fail with ""SyntaxError: 'await' outside function" when I run them in Python 3.9.7 Snippet 1: ``` async def foo(): return 42 coro = foo() d

[issue45769] SyntaxError: 'await' outside function" in "asyncio-task.html#waiting-primitives" code snippets

2021-11-09 Thread Jose Ville
New submission from Jose Ville : https://docs.python.org/3/library/asyncio-task.html#asyncio.wait has the following two code snippets both of which fail with ""SyntaxError: 'await' outside function" when I run them in Python 3.9.7 Snippet 1: ``` async def foo(): return 42 coro = foo() d

[issue45770] SyntaxError: 'await' outside function" in "asyncio-task.html#waiting-primitives" code snippets

2021-11-09 Thread Jose Ville
New submission from Jose Ville : https://docs.python.org/3/library/asyncio-task.html#asyncio.wait has the following two code snippets both of which fail with ""SyntaxError: 'await' outside function" when I run them in Python 3.9.7 Snippet 1: ``` async def foo(): return 42 coro = foo() d

[issue45732] Update python.org Windows and macOS installers to use Tk 8.6.12

2021-11-09 Thread Steve Dower
Steve Dower added the comment: New changeset 340ecafdf3bfb1377a1b8584addbb8e7bb423459 by Steve Dower in branch '3.10': bpo-45732: Update bundled Tcl/Tk on Windows to 8.6.12 (GH-29477) https://github.com/python/cpython/commit/340ecafdf3bfb1377a1b8584addbb8e7bb423459 -- _

[issue45689] Add the ability to give custom names to threads created by ThreadPoolExecutor

2021-11-09 Thread Mark Dickinson
Mark Dickinson added the comment: Sorry Rahul: I'm not the right person to help you push this forward. I'm sympathetic to the problem: I've encountered similar issues in "Real Code", where we needed to associate log outputs generated by worker pool threads with the actual tasks that generate

[issue45732] Update python.org Windows and macOS installers to use Tk 8.6.12

2021-11-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +27746 pull_request: https://github.com/python/cpython/pull/29496 ___ Python tracker ___ _

[issue42411] respect cgroups limits when trying to allocate memory

2021-11-09 Thread Caleb Collins-Parks
Caleb Collins-Parks added the comment: @christian.heimes following up on this - we have been having frequent memory issues with Python 3.7 in Kubernetes. It could just be the code, but if it does turn out this is a bug then fixing it could be very beneficial. -- nosy: +caleb2 __

[issue45771] urllib.request.urlopen can leak socket.timeout to callers

2021-11-09 Thread Michael Thorpe
New submission from Michael Thorpe : urllib.request.urlopen can raise socket.timeout, outside of the documented contract, if reading response data times out. -- components: Library (Lib) messages: 406038 nosy: thorpe-dev priority: normal severity: normal status: open title: urllib.requ

[issue45701] Add tuple tests to `functools.lru_cache`

2021-11-09 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger nosy_count: 1.0 -> 2.0 pull_requests: +27747 pull_request: https://github.com/python/cpython/pull/29498 ___ Python tracker __

[issue45754] [sqlite3] SQLITE_LIMIT_LENGTH is incorrectly used to check statement length

2021-11-09 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Also, SQLITE_LIMIT_LENGTH and SQLITE_LIMIT_SQL_LENGTH is inclusive in SQLite. We should treat them likewise. -- ___ Python tracker ___ __

[issue45732] Update python.org Windows and macOS installers to use Tk 8.6.12

2021-11-09 Thread Steve Dower
Steve Dower added the comment: New changeset 4d1cdd7006def053c815c354bd6f266b4850bd97 by Steve Dower in branch '3.9': bpo-45732: Update bundled Tcl/Tk on Windows to 8.6.12 (GH-29477) https://github.com/python/cpython/commit/4d1cdd7006def053c815c354bd6f266b4850bd97 -- __

[issue45771] urllib.request.urlopen can leak socket.timeout to callers

2021-11-09 Thread Michael Thorpe
Change by Michael Thorpe : -- keywords: +patch pull_requests: +27748 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29499 ___ Python tracker ___ _

[issue45754] [sqlite3] SQLITE_LIMIT_LENGTH is incorrectly used to check statement length

2021-11-09 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I believe it is best to go with alternative 1. The error strings produced by SQLite may change from release to release, so for example a buildbot update may suddenly break the CI. -- ___ Python tracker

[issue43656] TracebackException or StackSummary.extract with capture_locals=True fail to catch exceptions raised by repr() on value of frame local variable in FrameSummary.__init__.

2021-11-09 Thread Joe Wells
Joe Wells added the comment: Some quick comments on Martin's pull request. 1. The changes are sufficient to let the user make things work the way it is requested that they work and anyone who does not start using the new format_locals parameter will get the old behavior. 2. A side comment:

[issue45723] Improve and simplify configure.ac checks

2021-11-09 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27749 pull_request: https://github.com/python/cpython/pull/29500 ___ Python tracker ___ ___

[issue45354] test_winconsoleio fails on Windows 11

2021-11-09 Thread Steve Dower
Steve Dower added the comment: FYI, adding a fix for this on issue45220 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39026] Include/cpython/pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2021-11-09 Thread Gaige Paulsen
Gaige Paulsen added the comment: I'll try to check that in the next day or two. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-11-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +27750 pull_request: https://github.com/python/cpython/pull/29501 ___ Python tracker ___ _

[issue45772] socket.socket should be a class instead of a function

2021-11-09 Thread Oleg Iarygin
New submission from Oleg Iarygin : Found a twice stale bpo-less but useful pull request 23960, so publish it here: > Currently socket.socket is documented as a function, but it is really a class (and thus has function-like usage to construct an object). This correction would ensure that Python

[issue45773] Compiler hangs during jump elimination

2021-11-09 Thread Brandt Bucher
New submission from Brandt Bucher : The following code hangs during compilation on 3.11 and 3.10: >>> while True or spam: pass Our peepholer gets stuck in a loop, repeatedly "optimizing" instruction 4 (POP_JUMP_IF_TRUE -> JUMP_ABSOLUTE): 1 0 JUMP_ABSOLUTE0 (to 0)

[issue45757] dis module incorrectly handles EXTENDED_ARG + NOP sequence

2021-11-09 Thread Irit Katriel
Irit Katriel added the comment: New changeset cb414cf0e207668300c4fe3f310c0bd249153273 by Irit Katriel in branch 'main': bpo-45757: Fix bug where dis produced an incorrect oparg on EXTENDED_ARG before a no-arg opcode (GH-29480) https://github.com/python/cpython/commit/cb414cf0e207668300c4fe3

[issue45757] dis module incorrectly handles EXTENDED_ARG + NOP sequence

2021-11-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +27752 pull_request: https://github.com/python/cpython/pull/29502 ___ Python tracker _

[issue45757] dis module incorrectly handles EXTENDED_ARG + NOP sequence

2021-11-09 Thread Irit Katriel
Irit Katriel added the comment: The 3.9 backport had a conflict, but I think it's not worth worrying about because this scenario only showed up in 3.10. -- versions: -Python 3.9 ___ Python tracker

[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-11-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +27753 pull_request: https://github.com/python/cpython/pull/29503 ___ Python tracker ___ __

[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-11-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +27754 pull_request: https://github.com/python/cpython/pull/29504 ___ Python tracker ___ __

[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-11-09 Thread Steve Dower
Steve Dower added the comment: New changeset a56fbad85ea655631bce68d4c0f47f1a8b500abd by Steve Dower in branch 'main': bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource files (GH-29501) https://github.com/python/cpython/commit/a56fbad85ea655631bce68d4c0f47f1a8b500abd

[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-11-09 Thread miss-islington
miss-islington added the comment: New changeset d29f591dd6b1dcd4f36b5b49761cf8225be690bd by Miss Islington (bot) in branch '3.10': bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource files (GH-29501) https://github.com/python/cpython/commit/d29f591dd6b1dcd4f36b5b49761cf8

[issue45767] Fix types for dev_t processing in posix module

2021-11-09 Thread Dmitry Marakasov
Dmitry Marakasov added the comment: In case you're curious, here are some st_dev values which are encountered on my FreeBSD: - 0xac2308de99d1f699 - ZFS - 0x7100ff00 - devfs - 0x8700ff01 - tmpfs - 0x2900ff4e - nullfs I suspect Linux uses smaller numbers which do not cause overflows so

[issue45235] argparse does not preserve namespace with subparser defaults

2021-11-09 Thread dgw
dgw added the comment: Can confirm that this patch DOES cause backward compatibility issues, as paul.j3's gut feeling said it could. One of my projects, testing against 3.6-3.9, now fails its test suite on Python 3.9.8, which includes this change. Arguments passed to a subparser are indeed i

[issue45747] Detect dbm and gdbm dependencies in configure.ac

2021-11-09 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: AC_SEARCH_LIBS() will search libc before checking external libraries, FWIW. -- nosy: +erlendaasland ___ Python tracker ___ ___

[issue45723] Improve and simplify configure.ac checks

2021-11-09 Thread miss-islington
miss-islington added the comment: New changeset 49171aa91ab78c2608a26e5a75cdceab3bad6176 by Erlend Egeberg Aasland in branch 'main': bpo-45723: Remove dead code for obsolete `--with-dyld` option (GH-29500) https://github.com/python/cpython/commit/49171aa91ab78c2608a26e5a75cdceab3bad6176 ---

[issue43773] macOS official installer builds not respecting DYLD_LIBRARY_PATH environment variable.

2021-11-09 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher nosy_count: 3.0 -> 4.0 pull_requests: +27755 pull_request: https://github.com/python/cpython/pull/29505 ___ Python tracker ___

[issue45773] Compiler hangs during jump elimination

2021-11-09 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch pull_requests: +27756 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29505 ___ Python tracker ___ __

[issue43773] macOS official installer builds not respecting DYLD_LIBRARY_PATH environment variable.

2021-11-09 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: -27755 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue43773] macOS official installer builds not respecting DYLD_LIBRARY_PATH environment variable.

2021-11-09 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: -brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue45235] argparse does not preserve namespace with subparser defaults

2021-11-09 Thread RhinosF1
Change by RhinosF1 : -- nosy: +RhinosF1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue45757] dis module incorrectly handles EXTENDED_ARG + NOP sequence

2021-11-09 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +27757 pull_request: https://github.com/python/cpython/pull/29506 ___ Python tracker ___

[issue45745] ./python -m test --help output for refleaks seems wrong

2021-11-09 Thread Irit Katriel
Irit Katriel added the comment: That's probably why --findleaks was deprecated (in 3.8, PR12951). We could remove it now. + vstinner -- nosy: +iritkatriel, vstinner ___ Python tracker ___

[issue45757] dis module incorrectly handles EXTENDED_ARG + NOP sequence

2021-11-09 Thread Irit Katriel
Irit Katriel added the comment: New changeset c5bfb88eb6f82111bb1603ae9d78d0476b552d66 by Irit Katriel in branch '3.10': [3.10] bpo-45757: Fix bug where dis produced an incorrect oparg on EXTENDED_ARG before a no-arg opcode (GH-29480) (GH-29506) https://github.com/python/cpython/commit/c5bfb

[issue45757] compiler emits EXTENDED_ARG + NOP sequence in 3.10

2021-11-09 Thread Irit Katriel
Irit Katriel added the comment: > I don't think that it does, since oparg gets totally reassigned each time > we load a new instruction. EXTENDED_ARG actually needs to hack around > this by advancing the instruction itself, updating oparg, and jumping > straight into the next opcode. Right, it

[issue44813] generate specialization stat names list into opcode.h

2021-11-09 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue45757] compiler emits EXTENDED_ARG + NOP sequence in 3.10

2021-11-09 Thread Brandt Bucher
Brandt Bucher added the comment: Indeed. Do you plan on removing the extra EXTENDED_ARGs in instrsize and write_op_arg? I can take care of it if not. -- ___ Python tracker __

[issue45774] Detect SQLite in configure.ac

2021-11-09 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : "Autoconfiscate" SQLite detection. Plan: - Detect header/library using AC_CHECK_HEADERS/AC_CHECK_LIB - Check required version using AC_COMPILE_IFELSE - Use AC_CHECK_LIB to check if sqlite3_load_extension is present, and if the result harmonises with --en

[issue45774] Detect SQLite in configure.ac

2021-11-09 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +27758 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29507 ___ Python tracker __

[issue45757] compiler emits EXTENDED_ARG + NOP sequence in 3.10

2021-11-09 Thread Irit Katriel
Irit Katriel added the comment: That sounds like a good idea. Please go ahead. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue34498] Python 3.7+ break on singledispatch_function.register(pseudo_type), which Python 3.6 accepted

2021-11-09 Thread Alex Waygood
Change by Alex Waygood : -- keywords: +patch nosy: +AlexWaygood nosy_count: 8.0 -> 9.0 pull_requests: +27759 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29508 ___ Python tracker _

[issue45774] Detect SQLite in configure.ac

2021-11-09 Thread Christian Heimes
Christian Heimes added the comment: Your solution looks very similar to my WIP patch: AC_CHECK_HEADERS([sqlite3.h], [AC_SEARCH_LIBS([sqlite3_version], [sqlite3])] ) AS_VAR_IF([ac_cv_search_sqlite3_version], [no], [], [ # found a working sqlite3.h and sqlite3 library # ac_cv_search_sqlit

[issue40464] functools.singledispatch doesn't verify annotation is on FIRST parameter

2021-11-09 Thread Alex Waygood
Alex Waygood added the comment: Reproduced on 3.11. -- nosy: +AlexWaygood, lukasz.langa, rhettinger versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker

[issue15967] Slaves don't seem to clean up their /tmp mess if a step fails.

2021-11-09 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> regrtest: when interrupted, temporary directory is not removed ___ Python tracker _

[issue45701] Add tuple tests to `functools.lru_cache`

2021-11-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 912a4ccc3a523e2990cc501393adfc661614c73a by Raymond Hettinger in branch 'main': bpo-45701: Improve documentation for *typed* parameter (GH-29498) https://github.com/python/cpython/commit/912a4ccc3a523e2990cc501393adfc661614c73a --

[issue45701] Add tuple tests to `functools.lru_cache`

2021-11-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27760 pull_request: https://github.com/python/cpython/pull/29509 ___ Python tracker _

  1   2   >