[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-04-30 Thread STINNER Victor
STINNER Victor added the comment: It seems like _sqlite3 heap types support regular instantiation and so that no change is needed. * sqlite3.Cache {Py_tp_new, PyType_GenericNew}, * sqlite3.Connection {Py_tp_new, PyType_GenericNew}, {Py_tp_init, pysqlite_connection_init}, * sql

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I made a fix for everything in https://github.com/python/cpython/pull/25754. Could you review it? -- ___ Python tracker ___ _

[issue43984] [security] winreg.SetValueEx should check the returned value

2021-04-30 Thread Shreyan Avigyan
Change by Shreyan Avigyan : -- title: [security]winreg.SetValueEx shoule check the returned value -> [security] winreg.SetValueEx should check the returned value ___ Python tracker __

[issue43972] Simple HTTP Request Handler in http.server does not set a content-length and does not close connections on 301s

2021-04-30 Thread Senthil Kumaran
Change by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue43933] Regression in python3.10 with traceback frame having lineno of -1

2021-04-30 Thread Anthony Sottile
Anthony Sottile added the comment: can confirm that pytest no longer crashes -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42589] doc: Wrong "from" keyword link in Exceptions doc

2021-04-30 Thread Stéphane Blondon
Change by Stéphane Blondon : -- pull_requests: +24445 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/25755 ___ Python tracker ___ __

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-04-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7dcf0f6db38b7ab6918608542d3a0c6da0a286af by Victor Stinner in branch 'master': bpo-43916: select.devpoll uses Py_TPFLAGS_DISALLOW_INSTANTIATION (GH-25751) https://github.com/python/cpython/commit/7dcf0f6db38b7ab6918608542d3a0c6da0a286af --

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-04-30 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Yes, the sqlite3 types are fine. I don't know why I included them in my earlier post. I cleared the tp_new markings for the sqlite3 types on the Discourse post, since I can edit my posts over there, contrary to here on bpo :) -- ___

[issue42589] doc: Wrong "from" keyword link in Exceptions doc

2021-04-30 Thread Mariatta
Mariatta added the comment: Thanks for the work! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43981] test_idle is leaking references

2021-04-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Taking into account the last time the builder built successully it must have happened in some of these commits: b38b2fa021 Document importlib.metadata.PackagePath.locate method (GH-25669) 4a85718212 bpo-43970: Optimize Path.cwd() in pathlib by not inst

[issue42589] doc: Wrong "from" keyword link in Exceptions doc

2021-04-30 Thread miss-islington
miss-islington added the comment: New changeset ea6ec96c379a77ae827e844d840a9fd773781124 by sblondon in branch '3.8': [3.8] bpo-42589: Change URL for 'from' link when used in a raised exc… (GH-25755) https://github.com/python/cpython/commit/ea6ec96c379a77ae827e844d840a9fd773781124 -

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e374a40afa09be728b01653a06c9febfad9c9c50 by Pablo Galindo in branch 'master': bpo-43901: Fix refleaks in test_module (GH-25754) https://github.com/python/cpython/commit/e374a40afa09be728b01653a06c9febfad9c9c50 -- __

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

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

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-30 Thread Eryk Sun
Eryk Sun added the comment: > deleting on CM exit when used as a CM, and no change in behaviour > otherwise (me, Zachary, Ethan, Jason and Steve). Steve also wants > O_TEMPORARY to be removed, which doesn't seem controversial among > this group of people. Removing O_TEMPORARY is not an aftert

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-30 Thread Larry Hastings
Larry Hastings added the comment: Obviously the original assertion failure ("AssertionError: False is not true") wasn't caused by the refleaks. So I'm still puzzled about why that test worked on POSIX and failed on Windows. I admit I was pulling some wacky import shenanigans in the test, a

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch nosy: +corona10 nosy_count: 2.0 -> 3.0 pull_requests: +24446 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25756 ___ Python tracker _

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-04-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 665c7746fca180266b121183c2d5136c547006e0 by Victor Stinner in branch 'master': bpo-43916: _md5.md5 uses Py_TPFLAGS_DISALLOW_INSTANTIATION (GH-25753) https://github.com/python/cpython/commit/665c7746fca180266b121183c2d5136c547006e0 --

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-04-30 Thread STINNER Victor
STINNER Victor added the comment: > bpo-43916: _md5.md5 uses Py_TPFLAGS_DISALLOW_INSTANTIATION (GH-25753) With this change, all tests listed in this issue should be fixed. But I didn't check the whole list of https://discuss.python.org/t/list-of-built-in-types-converted-to-heap-types/8403 -

[issue43981] test_idle is leaking references

2021-04-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I checked and reverting commit 15d3861856 fixes the leaks. -- ___ Python tracker ___ ___ P

[issue43981] test_idle is leaking references

2021-04-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately given how close are we to the beta release and per our buildbot policy (https://discuss.python.org/t/policy-to-revert-commits-on-buildbot-failure/404) I may need to revert commit 15d3861856 to avoid masking other issues. -- ___

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > So I'm still puzzled about why that test worked on POSIX and failed on Windows I was able to reproduce it in my MacOS machine (maybe also it reproduced on Linux). The problem is that when you run with -R, the test runs several times and the import s

[issue43988] Add test.support.assert_dissallow_instantiation

2021-04-30 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch pull_requests: +24447 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25757 ___ Python tracker _

[issue7405] compiling python 3.1.1 using cygwin 1.7.0 and gcc 4.3.4

2021-04-30 Thread Irit Katriel
Irit Katriel added the comment: main.c is very different now compared to the patch. Closing as this is a 12 year old build issue and probably no longer relevant. Please create a new issue if you see this problem in 3.8+. -- nosy: +iritkatriel resolution: -> out of date stage: -> re

[issue43989] Enum deprecation breaks SSL tests

2021-04-30 Thread Christian Heimes
New submission from Christian Heimes : Ethan, a recent change to enum module breaks ssltests. I'm running ssltests with python -Werror to detect deprecation issues. Could you please look into the matter and address the deprecation warning in asyncio? https://github.com/python/cpython/runs/24

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-30 Thread Evgeny
Evgeny added the comment: >Eryk Sun added the comment: >I replied twice that I thought using the CM exit instead of O_TEMPORARY is >okay for NamedTemporaryFile() -- but only if a separate implementation of >TemporaryFile() that uses O_TEMPORARY is added at the same time. I want >guaranteed

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-30 Thread John Florian
Change by John Florian : -- nosy: -John Florian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-30 Thread Evgeny
Evgeny added the comment: >Paul Moore added the comment: >Evgeny, would you be willing to update your PR (including adding the docs >change, and tests to catch as many edge cases as you can think up) to match >this behaviour? Paul, thank you for moving this forward. I will give it a try.

[issue43990] In documentation Section 6.17, Operator precedence, footnotes 5 & 6 are reversed

2021-04-30 Thread Webb Scales
New submission from Webb Scales : In Section 6.17 ("Operator precedence"; https://docs.python.org/3/reference/expressions.html#operator-precedence) of the documentation, footnote 5 (https://docs.python.org/3/reference/expressions.html#id15) refers to text (https://docs.python.org/3/reference

[issue43984] winreg.SetValueEx should check the returned value

2021-04-30 Thread Eryk Sun
Eryk Sun added the comment: I'm changing this issue to a behavior bug. Many issues have the potential to be exploited as a security vulnerability in some contrived scenario, but the security issue type is for cases that have provably significant security implications, such as privilege escal

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-30 Thread Eryk Sun
Eryk Sun added the comment: > Does it mean, that your suggestion to leave the O_TEMPORARY for > TemporaryFile means, that NamedTemporaryFile needs to have a > mechanism to know whether it was called as a TemporaryFile Just implement a separate function for TemporaryFile() instead of aliasing

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-30 Thread Paul Moore
Paul Moore added the comment: Eryk, thank you for clarifying. I apologise - I got bogged down somewhere in the middle of the discussion on reimplementing bits of the CRT (your posts are so information-dense that my usual habit of skimming breaks down - that's not a complaint, though!) -

[issue43981] test_idle is leaking references

2021-04-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +24448 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25758 ___ Python tracker ___ ___

[issue43984] winreg.SetValueEx should check the returned value

2021-04-30 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: I have a patch ready for this issue. Should I convert it to a PR? -- ___ Python tracker ___ ___

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: -24446 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread Dong-hee Na
Dong-hee Na added the comment: > I can provide a PR if wanted. Please submit the PR if you want -- ___ Python tracker ___ ___ Pyth

[issue43968] os.path.realpath() unexpected breaking change: resolves subst'd paths to real paths

2021-04-30 Thread Eryk Sun
Eryk Sun added the comment: > E.g. if you specify env. var. PYTHON_NTREALPATH_OLD_BEHAVIOR=1, > it doesn't resolve symlinks and junctions. I assumed you wanted to resolve symlinks but hadn't considered that substitute drives are implemented as object symlinks that target arbitrary paths, whi

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-04-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am decreasing the priority of this to deferred blocker since https://bugs.python.org/issue43916 is mostly fixed -- priority: release blocker -> deferred blocker ___ Python tracker

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread Christoph Zwerschke
Christoph Zwerschke added the comment: I saw you submitted a PR already which looks good to me. -- ___ Python tracker ___ ___ Pytho

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread Dong-hee Na
Dong-hee Na added the comment: > I saw you submitted a PR already which looks good to me. I should care that you can have a chance to submit the patch :) Is it okay to proceed with this issue with the PR which I closed or do you want to open a PR with your hand? -- _

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread Christoph Zwerschke
Christoph Zwerschke added the comment: I don't mind if you reopen your PR. But thanks for asking. -- ___ Python tracker ___ ___ Pyt

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +24449 pull_request: https://github.com/python/cpython/pull/25756 ___ Python tracker ___ _

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread Dong-hee Na
Dong-hee Na added the comment: > I don't mind if you reopen your PR. But thanks for asking. I add your name as the co-author on PR 25756 :) Thanks for the report and suggestion -- ___ Python tracker ___

[issue43978] Incorrect "versionadded" info in typing.NoReturn documentation

2021-04-30 Thread Miguel Brito
Change by Miguel Brito : -- keywords: +patch nosy: +miguendes nosy_count: 3.0 -> 4.0 pull_requests: +24450 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25760 ___ Python tracker

[issue43978] Incorrect "versionadded" info in typing.NoReturn documentation

2021-04-30 Thread Miguel Brito
Miguel Brito added the comment: This looks like a leftover from a merge conflict. Or a bad copy and paste indeed. I've checked the file prior to the PR and the was no version 3.5.4 tag. I've opened a PR to fix this: https://github.com/python/cpython/pull/25760 -- __

[issue43981] test_idle is leaking references

2021-04-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6689e45dfee75d756c540ff0946ebf0ae8847f43 by Pablo Galindo in branch 'master': bpo-43981: Fix reference leaks in test_squeezer (GH-25758) https://github.com/python/cpython/commit/6689e45dfee75d756c540ff0946ebf0ae8847f43 -- _

[issue43981] test_idle is leaking references

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

[issue43981] test_idle is leaking references

2021-04-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Refleaks fixed by 6689e45dfee75d756c540ff0946ebf0ae8847f43 -- ___ Python tracker ___ ___ P

[issue43989] Enum deprecation breaks SSL tests

2021-04-30 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch nosy: +brandtbucher nosy_count: 6.0 -> 7.0 pull_requests: +24451 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25759 ___ Python tracker

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue43989] Enum deprecation breaks SSL tests

2021-04-30 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: -24451 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue43989] Enum deprecation breaks SSL tests

2021-04-30 Thread Brandt Bucher
Brandt Bucher added the comment: Whoops. I just meant to reference this issue, but I guess if the GitHub bots see an issue number in a PR comment they link that PR as a patch. -- stage: patch review -> needs patch ___ Python tracker

[issue43968] os.path.realpath() unexpected breaking change: resolves subst'd paths to real paths

2021-04-30 Thread sfmc
sfmc added the comment: > If you don't need to resolve symlinks, just use os.path.abspath() in Windows > and os.path.realpath() in POSIX. As I said, we already fixed it in our scripts. The problem is with Python debugger and third-party tools - we can't make changes there. The environment

[issue37387] test_compileall fails randomly on Windows when tests are run in parallel

2021-04-30 Thread Tim Peters
Tim Peters added the comment: Yes, test_compileall can still fail for this reason on Windows. From a run just now with -j0 (same as -j10 on this box, which has 8 logical cores: a -j value <= 0 is treated the same as "2 + number of logical cores"): """ Compiling 'C:\\Code\\Python\\lib\\types.

[issue43991] asyncio lock does not get released after task is canceled

2021-04-30 Thread Alexander Niederbühl
New submission from Alexander Niederbühl : If a task gets canceled while holding a lock, the lock is not automatically released. Is that expected, it seems like it could cause a deadlock? Failing test adapted from Lib/test/test_asyncio/test_locks.py (commit 6bd9288b80): def test_acquire_c

[issue43992] Unable to get external dependencies for CPython on Ubuntu Linux 20.04.1

2021-04-30 Thread Shreyan Avigyan
New submission from Shreyan Avigyan : I'm trying to build CPython on Ubuntu but I can't get the external dependencies. Running this command :- $ sudo apt-get build-dep python3 gives the output :- Reading package lists... Done E: You must put some 'deb-src' URIs in your sources.list What is

[issue40379] multiprocessing's default start method of fork()-without-exec() is broken

2021-04-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: The problem with changing the default is that this will break any application that depends on passing non-picklable data to the child process (in addition to the potentially unexpected performance impact). The docs already contain a significant elaboration o

[issue43930] Update bundled pip to 21.1 and setuptools to 56.0.0

2021-04-30 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue43993] Upda

2021-04-30 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- nosy: sbidoul priority: normal severity: normal status: open title: Upda ___ Python tracker ___ ___ Py

[issue42130] AsyncIO's wait_for can hide cancellation in a rare race condition

2021-04-30 Thread Crowbar Z
Change by Crowbar Z : -- nosy: +crowbarz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue29753] [Linux] ctypes packs bitfields Incorrectly

2021-04-30 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue43993] Update bundled pip to 21.1.1

2021-04-30 Thread Stéphane Bidoul
New submission from Stéphane Bidoul : This is to update the bundled pip to 21.1.1. Compared to 21.1, it includes a fix that suppresses a noisy message when distutils and sysconfig schemes do not match. I link this issue to 3.9 and 3.8 as well, as it could be nice to include it in the release

[issue40379] multiprocessing's default start method of fork()-without-exec() is broken

2021-04-30 Thread Itamar Turner-Trauring
Itamar Turner-Trauring added the comment: This change was made on macOS at some point, so why not Linux? "spawn" is already the default on macOS and Windows. -- ___ Python tracker __

[issue43979] Simplify urllib.parse_qsl

2021-04-30 Thread miss-islington
miss-islington added the comment: New changeset 6143fcdf8bfe54c24e3081bcee423f4d51f35c4e by Dong-hee Na in branch 'master': bpo-43979: Remove unnecessary operation from urllib.parse.parse_qsl (GH-25756) https://github.com/python/cpython/commit/6143fcdf8bfe54c24e3081bcee423f4d51f35c4e --

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-30 Thread Evgeny
Evgeny added the comment: > Eryk Sun added the comment: > Just implement a separate function for TemporaryFile() instead of aliasing it > to NamedTemporaryFile(). See msg390814. Eryk, forgive my ignorance, but aren't in your msg390814 you are proposing yet another enhancement (separate from

[issue40379] multiprocessing's default start method of fork()-without-exec() is broken

2021-04-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: The macOS change was required before "fork" simply ceased to work. Windows has always used "spawn", because no other method can be implemented on Windows. -- ___ Python tracker

[issue43993] Update bundled pip to 21.1.1

2021-04-30 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- keywords: +patch pull_requests: +24452 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25761 ___ Python tracker ___ _

[issue40379] multiprocessing's default start method of fork()-without-exec() is broken

2021-04-30 Thread Itamar Turner-Trauring
Itamar Turner-Trauring added the comment: Given people's general experience, I would not say that "fork" works on Linux either. More like "99% of the time it works, 1% it randomly breaks in mysterious way". -- ___ Python tracker

[issue40379] multiprocessing's default start method of fork()-without-exec() is broken

2021-04-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed, but again, changing will break some applications. We could switch to forkserver, but we should have a transition period where a FutureWarning will be displayed if people didn't explicitly set a start method. -- __

[issue43989] Enum deprecation breaks SSL tests

2021-04-30 Thread Ethan Furman
Ethan Furman added the comment: Traveling at the moment, I'll check it out in a few hours. -- ___ Python tracker ___ ___ Python-bug

[issue43968] os.path.realpath() unexpected breaking change: resolves subst'd paths to real paths

2021-04-30 Thread Eryk Sun
Eryk Sun added the comment: > In our organization we use substituted drives for development, and > no other tools (including other programming languages and their IDEs), > except for Python 3.8+, had any problems with this. How about keeping a substitute or mapped drive from the input path if

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-30 Thread Eryk Sun
Eryk Sun added the comment: > you are proposing some trick with first unlinking the file and > then employing it as a temporary file using previously known fd. It doesn't need to unlink the file to make it anonymous. I included that to highlight that it's possible. The details can be discuss

[issue43981] test_idle is leaking references

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was just about to try adding that exact cleanup close after finishing reading emails ;-). Sorry I didn't think of it last night. Glad it worked. The alternative would have been to skip the test case. -- ___ P

[issue38530] Offer suggestions on AttributeError and NameError

2021-04-30 Thread Dennis Sweeney
Dennis Sweeney added the comment: Some research of other projects: LLVM [1][2] --- - Compute Levenshtein - Using O(n) memory rather than O(n^2) - Uses UpperBound = (len(typo) + 2) // 3 GCC [3] --- - Uses Damerau-Levenshtein distance - Counts transpositions like "abcd" <

[issue43888] GitHub Actions CI/CD `Coverage` job is broken on master

2021-04-30 Thread Brett Cannon
Brett Cannon added the comment: New changeset 726c931b3896dc73fd156e2340b5ef0b8f55cfb7 by Ammar Askar in branch 'master': bpo-43888: Remove coverage builds from CI (GH-25679) https://github.com/python/cpython/commit/726c931b3896dc73fd156e2340b5ef0b8f55cfb7 -- __

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-30 Thread Evgeny
Evgeny added the comment: Eryk, I agree, that implementing TemporaryFile() in Windows goes hand in hand with the decision to stop using O_TEMPORARY in NamedTemporaryFile() The only thing I want to point out is that your suggestion also includes this "unlinking trick" (sorry, may be there is

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-30 Thread Larry Hastings
Larry Hastings added the comment: Ah, I see. So it wasn't a Windows thing, it was a "we run the test multiple times and that particular test assumed it was only run once" thing. And reflink testing is guaranteed to run every test multiple times. --

[issue43935] Fix typo in Turtle.back docstring

2021-04-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24453 pull_request: https://github.com/python/cpython/pull/25762 ___ Python tracker _

[issue43935] Fix typo in Turtle.back docstring

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0048c60f01deec4435748e851f9ec21b504d2d2f by Tarjei Bærland in branch 'master': bpo-43935: Fix typo in Turtle.back() docstring (GH-25581) https://github.com/python/cpython/commit/0048c60f01deec4435748e851f9ec21b504d2d2f -- nosy: +terry.r

[issue43935] Fix typo in Turtle.back docstring

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

[issue43937] Turtle uses the default root window

2021-04-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24455 pull_request: https://github.com/python/cpython/pull/25593 ___ Python tracker _

[issue43937] Turtle uses the default root window

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

[issue43534] turtle.textinput window is not transient

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -24313 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue43534] turtle.textinput window is not transient

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -24314 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue43937] Turtle uses the default root window

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue43944] Processes in Python 3.9 exiting with code 1 when It's created inside a ThreadPoolExecutor

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue43988] Add test.support.assert_dissallow_instantiation

2021-04-30 Thread STINNER Victor
STINNER Victor added the comment: You can take this issue as an opportunity to fix my typo :-) Lib/test/test_hashlib.py: "test_disallow_instanciation" => "test_disallow_instantiation". https://github.com/python/cpython/commit/665c7746fca180266b121183c2d5136c547006e0#commitcomment-50235589 Th

[issue43948] sysconfig's osx_framework_user puts headers in different locations from distutils

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: sysconfig’s osx_framework_user puts headers in different locations from distutils -> sysconfig's osx_framework_user puts headers in different locations from distutils versions: -Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 3.9 _

[issue43935] Fix typo in Turtle.back docstring

2021-04-30 Thread miss-islington
miss-islington added the comment: New changeset a7f15ba5476051471638957b4d028097d080b290 by Miss Islington (bot) in branch '3.9': bpo-43935: Fix typo in Turtle.back() docstring (GH-25581) https://github.com/python/cpython/commit/a7f15ba5476051471638957b4d028097d080b290 -- _

[issue43950] Include column offsets for bytecode instructions

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Specific examples of current messages and proposed improvements would help focus discussion. If you are willing to only handle code lines up to 256 chars, only 2 bytes should be needed. (0,0) or (255,255) could mean 'somewhere beyond the 256th char'.

[issue43969] "bad magic number" when Python 2's pyc file exists without py file

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless you find documentation that says otherwise, this an enhancement proposal for 3.11. If no core developer (other than me) jumps on this, you might use git blame to fine out who committed code in the area you proposed changing. -- nosy: +terry.r

[issue43928] Fix the typo in documentation

2021-04-30 Thread Terry J. Reedy
New submission from Terry J. Reedy : New changeset e08c67372d62236409da296353827985a3202e8a by JT in branch 'master': bpo-43928: Fix 'succesfully' typo in document (GH-25569) https://github.com/python/cpython/commit/e08c67372d62236409da296353827985a3202e8a -- nosy: +terry.reedy _

[issue43935] Fix typo in Turtle.back docstring

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e377ecf3b496c7719e6dffe3ebf3d0ef512cfb5b by Miss Islington (bot) in branch '3.8': bpo-43935: Fix typo in Turtle.back() docstring (GH-25581) https://github.com/python/cpython/commit/e377ecf3b496c7719e6dffe3ebf3d0ef512cfb5b -- _

[issue43935] Fix typo in Turtle.back docstring

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue43928] Fix the typo in documentation

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Merge conflict in 3.9. Skipping backports. -- resolution: not a bug -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.8 ___ Python tracker

[issue43988] Add test.support.assert_dissallow_instantiation

2021-04-30 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: I'll fix your typo ;) I'll include the rest of the test in the PR. I just pushed it out quickly to get a review of the solution. -- ___ Python tracker _

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-04-30 Thread STINNER Victor
STINNER Victor added the comment: Status in Python 3.9. 5 types allow instantiation whereas they must not: BUG!!! * _tkinter.Tcl_Obj * _tkinter.tkapp * _tkinter.tktimertoken * zlib.Compress * zlib.Decompress Example of bug: $ python3.9 Python 3.9.4 >>> import zlib >>> obj=zlib.compressobj()

[issue43888] GitHub Actions CI/CD `Coverage` job is broken on master

2021-04-30 Thread Ammar Askar
Ammar Askar added the comment: Coverage builds have been removed from the CI, closing this now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-04-30 Thread STINNER Victor
STINNER Victor added the comment: * _tkinter.Tcl_Obj * _tkinter.tkapp * _tkinter.tktimertoken Oops, sorry: in Python 3.9, tp_new is set to NULL after these heap types are created. There is no bug for these 3 types. -- ___ Python tracker

[issue43982] Code coverage on the CI: validate codecov shell script checksum

2021-04-30 Thread Ammar Askar
Ammar Askar added the comment: With issue43888 being fixed with the removal of the coverage build, this is now obsolete. Thanks for pointing out the codecov breach, we will make sure to follow this if we ever re-add codecov. -- resolution: -> out of date stage: -> resolved status:

<    1   2   3   >