[issue43510] PEP 597: Implemente encoding="locale" option and EncodingWarning

2021-04-02 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +23893 pull_request: https://github.com/python/cpython/pull/25146 ___ Python tracker ___ _

[issue26053] regression in pdb output between 2.7 and 3.5

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: > If we want to backport then we need both PRs. Commit 652bfdee9495dca241d48278742fe035b7a82bdb is a bugfix and this issue is marked as Python 3.8-3.10, so yeah, a backport is worth it. You can create a PR for Python 3.9 combining the two commits. I like to

[issue43510] PEP 597: Implemente encoding="locale" option and EncodingWarning

2021-04-02 Thread Inada Naoki
Inada Naoki added the comment: New changeset bec8c787ec72d73b39011bde3f3a93e9bb1174b7 by Inada Naoki in branch 'master': bpo-43510: Fix emitting EncodingWarning from _io module. (GH-25146) https://github.com/python/cpython/commit/bec8c787ec72d73b39011bde3f3a93e9bb1174b7 --

[issue37804] Remove Thread.isAlive in Python 3.9

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: > The threading documentation for 3.9 still claims "While they are not listed > below, the camelCase names used for some methods and functions in this module > in the Python 2.x series are still supported by this module." It would be > better to mention when

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-04-02 Thread Łukasz Langa
Change by Łukasz Langa : -- priority: release blocker -> deferred blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue43223] [security] http.server: Open Redirection if the URL path starts with //

2021-04-02 Thread Łukasz Langa
Łukasz Langa added the comment: Deferred the blocker to a regular release due to lack of activity in time for the current expedited releases. -- priority: release blocker -> deferred blocker ___ Python tracker _

[issue43124] [security] smtplib multiple CRLF injection

2021-04-02 Thread Łukasz Langa
Łukasz Langa added the comment: Deferred the blocker to a regular release due to lack of activity in time for the current expedited releases. -- priority: release blocker -> deferred blocker ___ Python tracker _

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-04-02 Thread Łukasz Langa
Łukasz Langa added the comment: Deferred the blocker to the next regular release due to lack of activity in time for the current expedited releases. -- ___ Python tracker ___

[issue43687] use unicode_state empty string before unicode_init. without define WITH_DOC_STRINGS

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner nosy_count: 1.0 -> 2.0 pull_requests: +23894 pull_request: https://github.com/python/cpython/pull/25147 ___ Python tracker ___ ___

[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2021-04-02 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 11.0 -> 12.0 pull_requests: +23895 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25148 ___ Python tracker _

[issue43664] Long computations in pdb.run() lead to segfault

2021-04-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: ```pdb.run(...)``` is ends up in ```bdb.Bdb.run```, which uses compile and exec to run the code. And indeed: >>> compile("1+2" * 100, "-", "exec") zsh: segmentation fault python3.9 -- components: +Interpreter Core nosy: +ronaldoussoren __

[issue26053] regression in pdb output between 2.7 and 3.5

2021-04-02 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +23896 pull_request: https://github.com/python/cpython/pull/25149 ___ Python tracker ___

[issue43703] xml.etree parser does not accept valid control characters

2021-04-02 Thread Romuald Brunet
New submission from Romuald Brunet : Python XML parser (xml.etree) does not seems to allow control characters that are invalid in XML 1.0, but valid in XML 1.1 [1] [2] Considering the following sample: import xml.etree.ElementTree as ET bad = 'bar baz' print(ET.fromstring(bad)) The pars

[issue26053] regression in pdb output between 2.7 and 3.5

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7ad56e254519047aeb9c669b9ea2f2bf0acfd401 by Irit Katriel in branch '3.9': [3.9] bpo-26053: Fix args echoed by pdb run command (GH-25149) https://github.com/python/cpython/commit/7ad56e254519047aeb9c669b9ea2f2bf0acfd401 -- ___

[issue26053] regression in pdb output between 2.7 and 3.5

2021-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +23897 pull_request: https://github.com/python/cpython/pull/25150 ___ Python tracker _

[issue26053] regression in pdb output between 2.7 and 3.5

2021-04-02 Thread miss-islington
miss-islington added the comment: New changeset 2049bb2517c08b0d9eaaa4dd624afa5d60e8b5a8 by Miss Islington (bot) in branch '3.8': [3.9] bpo-26053: Fix args echoed by pdb run command (GH-25149) https://github.com/python/cpython/commit/2049bb2517c08b0d9eaaa4dd624afa5d60e8b5a8 -- ___

[issue26053] regression in pdb output between 2.7 and 3.5

2021-04-02 Thread Irit Katriel
Irit Katriel added the comment: Thanks, Victor. I created a workflow issue for the CI question: https://github.com/python/core-workflow/issues/393 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <

[issue39947] [C API] Make the PyThreadState structure opaque (move it to the internal C API)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: About setting frame local variables, see: * bpo-42197: Disable automatic update of frame locals during tracing * bpo-30744: Local variable assignment is broken when combined with threads + tracing + closures * PEP 558: Defined semantics for locals() https:/

[issue43703] xml.etree parser does not accept valid control characters

2021-04-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eli.bendersky, scoder, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list m

[issue43664] Long computations in pdb.run() lead to segfault

2021-04-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a duplicate of https://bugs.python.org/issue42714 which has been fixed. -- nosy: +xtreak ___ Python tracker ___ __

[issue37804] Remove Thread.isAlive in Python 3.9

2021-04-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Sure, I can submit a PR. While we're at it, we should probably also deprecate the setter/getter methods that you mention. Here's what I propose doing: - On 3.10 (or 3.11 if it's too late for 3.10), make getName and friends throw a DeprecationWarning, schedul

[issue43688] [C API] Support the limited C API in debug mode (Py_INCREF and Py_DECREF)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: I modified my PR 25131 to only implement Py_INCREF/Py_DECREF as opaque function calls under two conditions: * Python is built in debug mode * Py_LIMITED_API macro targets Python 3.10 or newer So this PR 25131 now only has an impact on performance if Python i

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-04-02 Thread Joshua Root
Joshua Root added the comment: Here's the PR for pypa/distutils, which is just relaxing the MDT check since it has to work with older Python versions: https://github.com/pypa/distutils/pull/36 -- ___ Python tracker

[issue37804] Remove Thread.isAlive in Python 3.9

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: > we should probably also deprecate the setter/getter methods that you mention You can deprecate them. Please open a new issue for that, this one is closed and specific to Thread.isAlive. -- ___ Python tracker

[issue43687] use unicode_state empty string before unicode_init. without define WITH_DOC_STRINGS

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 442ad74fc2928b095760eb89aba93c28eab17f9b by Victor Stinner in branch 'master': bpo-43687: Py_Initialize() creates singletons earlier (GH-25147) https://github.com/python/cpython/commit/442ad74fc2928b095760eb89aba93c28eab17f9b -- _

[issue43687] use unicode_state empty string before unicode_init. without define WITH_DOC_STRINGS

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: It's now fixed, thanks for the bug report. -- components: +Interpreter Core resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue43688] [C API] Support the limited C API in debug mode (Py_INCREF and Py_DECREF)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: In release mode, I get the libraries: * xxlimited.cpython-310-x86_64-linux-gnu.so * xxlimited_35.cpython-310-x86_64-linux-gnu.so In debug mode, I get the libraries: * xxlimited.cpython-310d-x86_64-linux-gnu.so * xxlimited_35.cpython-310d-x86_64-linux-gnu.so

[issue36465] Make release and debug ABI compatible

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3359cab038968935b40344fad7c30d211f9692e4 by Victor Stinner in branch 'master': bpo-43688: Support the limited C API in debug mode (GH-25131) https://github.com/python/cpython/commit/3359cab038968935b40344fad7c30d211f9692e4 --

[issue43688] [C API] Support the limited C API in debug mode (Py_INCREF and Py_DECREF)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3359cab038968935b40344fad7c30d211f9692e4 by Victor Stinner in branch 'master': bpo-43688: Support the limited C API in debug mode (GH-25131) https://github.com/python/cpython/commit/3359cab038968935b40344fad7c30d211f9692e4 --

[issue41111] [C API] Convert a few stdlib extensions to the limited C API (PEP 384)

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23898 pull_request: https://github.com/python/cpython/pull/25151 ___ Python tracker ___ __

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-04-02 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +23899 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25152 ___ Python tracker

[issue43703] xml.etree parser does not accept valid control characters

2021-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is a known issue, see issue11804 and issue39512. In short, the underlying library for XML parsing (expat) does not support XML 1.1 and does not have plans to support it. And seems that XML 1.1 is a dead standard if it is not supported in popular parsing

[issue43703] xml.etree parser does not accept valid control characters

2021-04-02 Thread Romuald Brunet
Romuald Brunet added the comment: Thanks for the quick reply We're getting data from about a hundred different providers around the world; some of them not really keen on standards, so we already have some hacks to fix invalid XML. We'll add one to the list In that particular case, the XML

[issue43688] [C API] Support the limited C API in debug mode (Py_INCREF and Py_DECREF)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9bb5658bd122d40fff9f34a912be3297b303d18b by Victor Stinner in branch 'master': bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133) https://github.com/python/cpython/commit/9bb5658bd122d40fff9f34a912be3297b303d18b -- _

[issue41111] [C API] Convert a few stdlib extensions to the limited C API (PEP 384)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 240bcf82a11fe7433a61da70605e924c53b88096 by Victor Stinner in branch 'master': bpo-4: xxlimited.c defines Py_LIMITED_API (GH-25151) https://github.com/python/cpython/commit/240bcf82a11fe7433a61da70605e924c53b88096 -- _

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: This doesn't look simpler to me. We will forever lose mental clock cycles disentangling the locals and cells. So, I don't think they should be commingled. -- nosy: +rhettinger ___ Python tracker

[issue31956] Add start and stop parameters to the array.index()

2021-04-02 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset afd12650580725ac598b2845384771c14c4f952e by Zackery Spytz in branch 'master': bpo-31956: Add start and stop parameters to array.index() (GH-25059) https://github.com/python/cpython/commit/afd12650580725ac598b2845384771c14c4f952e -- _

[issue36207] référencement naturel

2021-04-02 Thread Eric Gavrel
Eric Gavrel added the comment: Le sujet n'était il pas à l'origine https://myseosimple.com/> le référencement naturel ? L'automation peut aussi être d'utilité en SEE si on a la bonne librairie. -- nosy: +EricG -ideeanimationanniversaire, jeanotlapin, nico702 title: robotsparser deny a

[issue36207] référencement naturel

2021-04-02 Thread Eric Gavrel
Eric Gavrel added the comment: Le sujet n'était il pas à l'origine le référencement naturel comme indiqué sur ce site www.myseosimple.com ? L'automation peut aussi être d'utilité en SEE si on a la bonne librairie. -- ___ Python tracker

[issue36207] référencement naturel

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg390072 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] référencement naturel

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg390071 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- title: référencement naturel -> robotsparser deny all with some rules ___ Python tracker ___ ___ Python

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg381443 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg385859 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg379616 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg379615 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg378070 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg372112 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg374629 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg367546 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg366509 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg374642 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg376032 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg377125 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg377058 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg370275 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg365770 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: I removed almost all messages of this issue since most of them looked list SPAM. I also blocked user accounts who posted SPAM. If it was a mistake, contact me. This is the Python bug tracker, not a forum to ask questions how to use Python, or to report bugs

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg338298 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41670] ceval traces code differently with USE_COMPUTED_GOTOS

2021-04-02 Thread Ammar Askar
Change by Ammar Askar : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue34398] Docs search should prominently show definitions and glossary items

2021-04-02 Thread Ammar Askar
Ammar Askar added the comment: Thank you to Julien for reviewing, we ended up going with our own solution instead of waiting on Sphinx and I think it looks good :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue40932] subprocess docs should warn of shlex use on Windows

2021-04-02 Thread Ammar Askar
Ammar Askar added the comment: Thank you Steve and Zachary for reviewing, this warning is in the docs now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue40705] use-after-free in _zoneinfo.c's module_free function

2021-04-02 Thread Ammar Askar
Change by Ammar Askar : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue41283] The parameter name for imghdr.what in the documentation is wrong

2021-04-02 Thread Ammar Askar
Change by Ammar Askar : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue29505] Submit the re, json, csv, & struct modules to oss-fuzz testing

2021-04-02 Thread Ammar Askar
Ammar Askar added the comment: All the modules prescribed in the original bug are now actively being fuzzed, thank you to Devin for the original work on this and Gregory for reviewing all these changes. I'm closing this now, feel free to make a new bug and nosy me in if there are any other

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2021-04-02 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset ad442a674ca443feec43a88a2d3671784712e550 by Irit Katriel in branch 'master': bpo-24160: Fix breakpoints persistence across multiple pdb sessions (GH-21989) https://github.com/python/cpython/commit/ad442a674ca443feec43a88a2d3671784712e550 ---

[issue40012] Avoid Python 2 documentation to appear in Web search results

2021-04-02 Thread Ammar Askar
Ammar Askar added the comment: This has been fixed as part of https://github.com/python/docsbuild-scripts/pull/99 Thank you to Julien, our Google results are much cleaner now :) -- resolution: -> fixed stage: -> resolved status: open -> closed _

[issue33757] Failed separate test_pdb_next_command_in_generator_for_loop in test_pdb

2021-04-02 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Missing (optional) argument `start` and `end` in documentation for list.index ___ Python tracker

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

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

[issue33757] Failed separate test_pdb_next_command_in_generator_for_loop in test_pdb

2021-04-02 Thread Irit Katriel
Change by Irit Katriel : -- superseder: Missing (optional) argument `start` and `end` in documentation for list.index -> Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session ___ Python tracker <

[issue43704] ShareableList() raises TypeError when passing "name" keyword

2021-04-02 Thread Steve Newcomb
New submission from Steve Newcomb : This is especially weird because the Python source code says: class ShareableList: [...] def __init__(self, sequence=None, *, name=None): -- components: Library (Lib) files: shareableListBug.txt messages: 390080 nosy: steve.newcomb priority: norma

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread Ammar Askar
New submission from Ammar Askar : As pointed out by Guido in https://bugs.python.org/issue43555, we switched to making the column offsets for SyntaxError be 1-indexed consistently in https://bugs.python.org/issue34683 The rationale is explained by Guido and expanded upon in follow up comments

[issue27129] Wordcode, part 2

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: I get two crashes on Windows with Python built in debug mode: * I got a crash. I wasn't sure if it was an issue of incremental build, so I rebuilt Python. * On a fresh build, Python crashed on the CALL_FUNCTION_KW opcode, when loading names, names was equal

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread Ammar Askar
Change by Ammar Askar : -- keywords: +patch pull_requests: +23900 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25153 ___ Python tracker ___

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-04-02 Thread Dong-hee Na
Change by Dong-hee Na : -- type: -> performance versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-04-02 Thread Dong-hee Na
New submission from Dong-hee Na : Finally, I success to implement PEP 590 for enumerate type which is the well-used type in Python. Amazingly enhanced! +-+++ | Benchmark | enumerate_bench_master | enumerate_bench_vector

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-04-02 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +23901 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25154 ___ Python tracker ___

[issue43707] onerror in tempfile has an invalid raise expression

2021-04-02 Thread Maximilian Roos
New submission from Maximilian Roos : The raise expression [here](https://github.com/python/cpython/blob/ad442a674ca443feec43a88a2d3671784712e550/Lib/tempfile.py#L826) isn't valid, since it isn't in an except block. It'll still raise, given it's invalid, though not with the exception it should

[issue27129] Wordcode, part 2

2021-04-02 Thread David Bolen
David Bolen added the comment: Ah, Victor, that helps. I was having trouble reproducing the problem on a different system. I was suspecting a small difference in compiler version, but I hadn't considered it being because I started fresh. >From what I can see, a particular build tree can be

[issue42380] Build windows binaries with MS VS2019 16.8+ / MSVC 19.28+

2021-04-02 Thread Steve Dower
Steve Dower added the comment: Closing this as not a bug, since the toolchain used to build CPython itself has no impact on the toolchain that extensions can use. If your build tool is not detecting newer versions of MSVC, you'll need to file that against whichever backend you are using. --

[issue43704] ShareableList() raises TypeError when passing "name" keyword

2021-04-02 Thread Steve Newcomb
Steve Newcomb added the comment: I just tried the same thing on Python-3.10.0a6. Same behavior. -- ___ Python tracker ___ ___ Pyth

[issue27129] Wordcode, part 2

2021-04-02 Thread David Bolen
David Bolen added the comment: I'm out of time for a bit, but it appears that the root issue is old pyc files in Tools/clinic/__pycache__ that aren't removed during a clean process, and appear to be the source of all of the errors. Manually pruning that folder fixes things. I believe the r

[issue31842] pathlib: "Incorrect function" during resolve()

2021-04-02 Thread _
_ added the comment: Still happening on Python 3.9.2 on Win10 when using a Ram Drive. Any chance of getting this fixed? -- nosy: +riffitos ___ Python tracker ___

[issue43707] onerror in tempfile has an invalid raise expression

2021-04-02 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Adding Serhiy, who added the code in question in commit e9b51c0ad81da1da11ae65840ac8b50a8521373c (GH-10320, bpo-26660, bpo-35144). -- nosy: +erlendaasland, serhiy.storchaka ___ Python tracker

[issue43707] onerror in tempfile has an invalid raise expression

2021-04-02 Thread Eryk Sun
Eryk Sun added the comment: > It'll still raise, given it's invalid, though not with the > exception it should be raising with... onerror() is always called to handle an exception, and `raise` will re-raise that exception. Is there a specific case where this isn't working as expected for yo

[issue43704] ShareableList() raises TypeError when passing "name" keyword

2021-04-02 Thread Steve Newcomb
Steve Newcomb added the comment: And again with 3.8.8, with the same result. I also tried just using the same shared memory manager again within the same process, just as shown in the documentation. Same result: TypeError: ShareableList() got an unexpected keyword argument 'name' I must be

[issue42248] Raised exception in Enum keeping user objects alive unnecessarily

2021-04-02 Thread Mark Dickinson
Mark Dickinson added the comment: I'm running into this, too, on Python 3.9.2; in my case it's causing segmentation faults in a wxPython-based application. Those segfaults aren't the fault of the reference cycle, of course; they're a result of wxPython being finicky about object cleanup ord

[issue43672] Raise ImportWarning when calling find_loader()

2021-04-02 Thread Brett Cannon
Brett Cannon added the comment: New changeset f97dc800689ba98783dac8dc51f87f7c6f413ac6 by Brett Cannon in branch 'master': bpo-43672: raise ImportWarning when calling find_loader() (GH-25119) https://github.com/python/cpython/commit/f97dc800689ba98783dac8dc51f87f7c6f413ac6 -- _

[issue43672] Raise ImportWarning when calling find_loader()

2021-04-02 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42135] [importlib] Deprecate find_module() & find_loader() mplementations

2021-04-02 Thread Brett Cannon
Change by Brett Cannon : -- title: [importlib] Deprecate find_module() implementations -> [importlib] Deprecate find_module() & find_loader() mplementations ___ Python tracker ___

[issue42248] Raised exception in Enum keeping user objects alive unnecessarily

2021-04-02 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a cut-down example, at the prompt: Python 3.9.2 (default, Mar 31 2021, 05:47:22) [Clang 11.0.3 (clang-1103.0.32.62)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import signal >>> class App: pass ... >>> def cre

[issue43707] onerror in tempfile has an invalid raise expression

2021-04-02 Thread Maximilian Roos
Maximilian Roos added the comment: I see @eryksun — by convention `onerror` is always called in an except block, and so having a bare `raise` outside of an explicit except block is OK. Thanks for clarifying. I'll close this. -- resolution: -> not a bug stage: -> resolved status: ope

[issue43708] Tkinter theme settings object schema is missing

2021-04-02 Thread WHK
New submission from WHK : By example style = ttk.Style() style.theme_settings('default', settings={ '.': [] }) Tkinter settings schema or typed data is missing. By example: _tkinter.TclError: Invalid state name d This error message does not provide the missing parameter information, by

[issue43709] Windows Tools\buildbot\clean.bat misses some needed pyc/pyo removal

2021-04-02 Thread David Bolen
New submission from David Bolen : The Tools\buildbot\clean.bat script used on Windows only removes pyc/pyo files from the Lib tree, leaving some files beneath Tools (clinic and peg_generator) and Parser (asdl). This can cause failures following commits that affect those files, such as fcb55c

[issue27129] Wordcode, part 2

2021-04-02 Thread David Bolen
David Bolen added the comment: I've opened issue #43709 for fixing the buildbot clean script under Windows. It needs to clean the Tools and Parser trees, not just Lib (and there are a few other folders involved besides clinic) -- ___ Python track

[issue43709] Windows Tools\buildbot\clean.bat misses some needed pyc/pyo removal

2021-04-02 Thread David Bolen
David Bolen added the comment: Something like this is a quick 'n dirty minimal fix - at least it seems to solve the problem that arose in issue #27129 on the Win10 buildbot: --- a/Tools/buildbot/clean.bat +++ b/Tools/buildbot/clean.bat @@ -11,6 +11,8 @@ call "%pcbuild%\build.bat" -t Clean -k

[issue43684] Add combined opcodes

2021-04-02 Thread Guido van Rossum
Guido van Rossum added the comment: Microbench results for ADD_INT: https://github.com/python/cpython/pull/25090#issuecomment-810441738 I have a few others like this lined up -- Mark recommended submitting them one at a time to make review easier. My philosophy here (which I learned from Tim

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread miss-islington
miss-islington added the comment: New changeset b2a91e0c9ee18b50cc86b21211c2258520a9f5d0 by Ammar Askar in branch 'master': bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153) https://github.com/python/cpython/commit/b2a91e0c9ee18b50cc86b21211c2258520a9f5d0 -- no

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +23902 pull_request: https://github.com/python/cpython/pull/25155 ___ Python tracker ___ __

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +23903 pull_request: https://github.com/python/cpython/pull/25156 ___ Python tracker ___ __

  1   2   >