[issue31870] add timeout parameter for get_server_certificate in ssl.py

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset f05c2aed7e25087122613b51f152919c79641f66 by Christian Heimes in branch 'master': bpo-31870: Fix test_get_server_certificate_timeout on Windows (GH-25570) https://github.com/python/cpython/commit/f05c2aed7e25087122613b51f152919c79641f66

[issue31870] add timeout parameter for get_server_certificate in ssl.py

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24289 pull_request: https://github.com/python/cpython/pull/25570 ___ Python tracker ___

[issue43928] Fix the typo in documentation

2021-04-23 Thread Jeffrey Tse
Change by Jeffrey Tse : -- pull_requests: +24288 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/25569 ___ Python tracker ___

[issue31870] add timeout parameter for get_server_certificate in ssl.py

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.8 ___ Python tracker ___

[issue43817] Add inspect.get_annotations()

2021-04-23 Thread Larry Hastings
Larry Hastings added the comment: Time runs short for Python 3.10b1. Can I get a review from anybody here, say over the weekend? -- ___ Python tracker ___

[issue43928] Fix the typo in documentation

2021-04-23 Thread Jeffrey Tse
Change by Jeffrey Tse : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31870] add timeout parameter for get_server_certificate in ssl.py

2021-04-23 Thread miss-islington
miss-islington added the comment: New changeset b2fac1afaa7c0d41a263781fcf94d8a92dc31b48 by Zackery Spytz in branch 'master': bpo-31870: Add a timeout parameter to ssl.get_server_certificate() (GH-22270) https://github.com/python/cpython/commit/b2fac1afaa7c0d41a263781fcf94d8a92dc31b48

[issue43776] Popen with shell=True yield mangled repr output

2021-04-23 Thread mkocher
mkocher added the comment: There also appears to be an issue when args are provided as a `pathlib.Path` instance. Python 3.9.2 | packaged by conda-forge | (default, Feb 21 2021, 05:02:20) Type 'copyright', 'credits' or 'license' for more information IPython 7.22.0 -- An enhanced

[issue43928] Fix the typo in documentation

2021-04-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43928] Fix the typo in documentation

2021-04-23 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +24287 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25568 ___ Python tracker

[issue43908] array.array should remain immutable

2021-04-23 Thread Guido van Rossum
Guido van Rossum added the comment: Does the test suite pass for apply-to-all.diff? Also, quite a hornet's nest you've uncovered (about __class__ assignment). Would that be fixed better with the IMMUTABLE flag? -- ___ Python tracker

[issue43928] Fix the typo in documentation

2021-04-23 Thread Jeffrey Tse
Change by Jeffrey Tse : -- assignee: docs@python components: Documentation nosy: docs@python, jeffreytse.mail priority: normal severity: normal status: open title: Fix the typo in documentation versions: Python 3.8 ___ Python tracker

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.11

2021-04-23 Thread Guido van Rossum
Guido van Rossum added the comment: I don't like adding a flag. In the PEP-563-by-default world we didn't need a flag. Perhaps once Larry implements inspect.get_annotations() (issue43817) we can make inspect.signature() always call that? -- ___

[issue42725] PEP 563: Should the behavior change for yield/yield from's

2021-04-23 Thread Guido van Rossum
Guido van Rossum added the comment: So shouldn't we just rule out some specific bits of syntax in annotations? That can be done after the PEG grammar has accepted them, otherwise we'd end up having a whole new expression-like grammar section that excludes them. I think this is the list we

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Ethan Furman
Ethan Furman added the comment: New changeset 6c681e1a4aa2dbca61be9a26c9257d7d25fa29a7 by Ethan Furman in branch 'master': bpo-38659: [Enum] do not check '_inverted_' during simple test (GH-25566) https://github.com/python/cpython/commit/6c681e1a4aa2dbca61be9a26c9257d7d25fa29a7 --

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm closing this as "Works for me". rafihassan190041234, if you still think it is a bug in the language, rather than a bug in your code or a mistake in your understanding, you can re-open this with more details. As Zach already commented, you need to give

[issue43776] Popen with shell=True yield mangled repr output

2021-04-23 Thread mkocher
mkocher added the comment: There's a PR up with removed `list` call as well as improved test coverage for the case where args is passed into Popen as a string. Hopefully this can get merged before things starting getting crazy with the 3.10 release crunch. --

[issue42725] PEP 563: Should the behavior change for yield/yield from's

2021-04-23 Thread Larry Hastings
Larry Hastings added the comment: Wouldn't it be easier to just throw an exception in the stringizing code? I note that there are dedicated functions to generate walrus, yield, yield from, and await in Python/ast_unparse.c. In theory this is a general-purpose facility, but in practice

[issue41277] documentation: os.setxattr() errno EEXIST and ENODATA

2021-04-23 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +24286 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25567 ___ Python tracker

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-04-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Previous issue, which I mistyped, was #39107. Release notes at https://sourceforge.net/projects/tcl/files/Tcl/8.6.11/tcltk-release-notes-8.6.11.txt/view -- ___ Python tracker

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +24285 pull_request: https://github.com/python/cpython/pull/25566 ___ Python tracker ___

[issue42725] PEP 563: Should the behavior change for yield/yield from's

2021-04-23 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > This was easy in my 649 branch; walrus adds locals, and yield / yield from > make it a generator. So the code raises an error if the generated > annotations code object has locals or is a generator. I don't think I had to > do anything special to

[issue42725] PEP 563: Should the behavior change for yield/yield from's

2021-04-23 Thread Larry Hastings
Larry Hastings added the comment: I think stringized annotations should prohibit the same things PEP 649 prohibits: walrus, yield / yield from, and await. This was easy in my 649 branch; walrus adds locals, and yield / yield from make it a generator. So the code raises an error if the

[issue30555] _io._WindowsConsoleIO breaks in the face of fd redirection

2021-04-23 Thread Steve Dower
Steve Dower added the comment: Thanks for persisting with this change. Looks like backports will have to be manual, and I'm not going to get to them today myself, but if someone else wants to do it then feel free. I'm pretty sure this won't have any (negative) visible impact, but just in

[issue30555] _io._WindowsConsoleIO breaks in the face of fd redirection

2021-04-23 Thread Steve Dower
Steve Dower added the comment: New changeset 5e437fb872279960992c9a07f1a4c051b4948c53 by Segev Finer in branch 'master': bpo-30555: Fix WindowsConsoleIO fails in the presence of fd redirection (GH-1927) https://github.com/python/cpython/commit/5e437fb872279960992c9a07f1a4c051b4948c53

[issue43927] Remove IOError references from the tutorial

2021-04-23 Thread Tim Huegerich
New submission from Tim Huegerich : Although IOError has been merged into OSError since version 3.3, Section 8.5 of the Tutorial still uses it in examples. The Python 9.4 version of the tutorial features an example raising an IOError, which is then output as OSError, raising potential

[issue43649] time.strftime('%z') doesn't return UTC offset in the form ±HHMM

2021-04-23 Thread Steve Dower
Steve Dower added the comment: I agree with Eryk, this is not an issue with the supported C runtime. mingw-w64 has supposedly been working on UCRT support (it may even be working already?), and that is what will be necessary. We certainly aren't going to try and runtime detect this and

[issue42361] Use Tcl/Tk 8.6.10 in build-installer.py when building on recent macOS

2021-04-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Close this? Upgrade done, twice. -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue43926] Clean metadata (importlib_metadata 4.0)

2021-04-23 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +24284 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25565 ___ Python tracker ___

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-04-23 Thread Steve Dower
Steve Dower added the comment: Thanks for finishing up that patch. And yes, we add a ".0" in case we need to patch the sources ourselves. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue40432] Pegen regenerate project for Windows not working

2021-04-23 Thread Steve Dower
Steve Dower added the comment: Thanks for the PR, kj! Left a suggestion for you, but otherwise it should solve the problem nicely. -- ___ Python tracker ___

[issue43762] Add audit events for loading of sqlite3 extensions

2021-04-23 Thread Steve Dower
Steve Dower added the comment: Left some minor suggestions on the PR, but wanted to copy this comment here as well: I wonder if it's worth returning the connection object when it's created (through a new event in module.c) and then reference it in these events? That can then correlate

[issue43907] pickle.py bytearray memoization bug with protocol 5

2021-04-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the report and fix! -- components: +Library (Lib) resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior versions: +Python 3.10 ___ Python tracker

[issue43907] pickle.py bytearray memoization bug with protocol 5

2021-04-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 1e9f0933095403b215c2c4a0be7915d034ff7026 by Carl Friedrich Bolz-Tereick in branch 'master': bpo-43907: add missing memoize call in pure python pickling of bytearray (GH-25501)

[issue43894] IDLE editor file minor refactoring

2021-04-23 Thread E. Paine
E. Paine added the comment: I agree with your points and understand that there is good reason for the PR to be rejected. If Terry decides it's too big (I did do a lot more than what was originally in PR-22682), I am more than happy to close this issue. --

[issue43894] IDLE editor file minor refactoring

2021-04-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: This started as an extraction and revision of changes in Tal's PR, one of which appeared to be an intended behavior change, that I requested there. Paine may have expanded the scope more than I intended. Will look soon. --

[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-23 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +patch pull_requests: +24283 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25563 ___ Python tracker ___

[issue39950] Add pathlib.Path.hardlink_to()

2021-04-23 Thread miss-islington
miss-islington added the comment: New changeset f24e2e5464ba6498e7b8d73c3f9b417d59fd1b26 by Barney Gale in branch 'master': bpo-39950: add `pathlib.Path.hardlink_to()` method that supersedes `link_to()` (GH-18909)

[issue43926] Clean metadata (importlib_metadata 4.0)

2021-04-23 Thread Jason R. Coombs
New submission from Jason R. Coombs : [importlib_metadata 4.0](https://importlib-metadata.readthedocs.io/en/latest/history.html#v4-0-0) introduced these important changes to the `metadata` function: ``PackageMetadata`` as returned by ``metadata()`` and ``Distribution.metadata()`` now

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.11

2021-04-23 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > Hopefully Batuhan has a recollection of what I am thinking of, there was some > significant delay while we figured out what to do about some of these. The major one that I'd recall is that inspect.signature() just uses whatever is in __annotations__

[issue43911] Queue.get() memory leak

2021-04-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Here's a more compact version of the variant with an underlying dict: class MyQueue(Queue): def _init(self, maxsize): self.end = 0 self.q = {} def _qsize(self): return len(self.q) def

[issue43908] array.array should remain immutable

2021-04-23 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : Removed file: https://bugs.python.org/file49979/apply-to-all.diff ___ Python tracker ___ ___

[issue43908] array.array should remain immutable

2021-04-23 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : Added file: https://bugs.python.org/file49980/apply-to-all.diff ___ Python tracker ___ ___

[issue43908] array.array should remain immutable

2021-04-23 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: I've prepared a diff using grep & sed (see attached patch). Let me know if you want it converted to a PR. I've excluded the test and the _xx extension modules. -- Added file: https://bugs.python.org/file49979/apply-to-all.diff

[issue43883] Making urlparse WHATWG conformant

2021-04-23 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30713] Reject newline character (U+000A) in URLs in urllib.parse

2021-04-23 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-23 Thread Éric Araujo
Éric Araujo added the comment: What a great, useful change! -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list

[issue43908] array.array should remain immutable

2021-04-23 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: BTW, slightly related, AFAICT: - https://github.com/python/cpython/blob/e047239eafefe8b19725efffe7756443495cf78b/Objects/typeobject.c#L4620-L4668 - bpo-24912 -- ___ Python tracker

[issue43923] Can't create generic NamedTuple as of py3.9

2021-04-23 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43895] Unnecessary Cache of Shared Object Handles

2021-04-23 Thread Éric Araujo
Change by Éric Araujo : -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43895] Unnecessary Cache of Shared Object Handles

2021-04-23 Thread Ian H
Change by Ian H : -- keywords: +patch pull_requests: +24282 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25487 ___ Python tracker ___

[issue43894] IDLE editor file minor refactoring

2021-04-23 Thread Éric Araujo
Éric Araujo added the comment: Hello and thanks for wanting to contribute to Python! In the CPython project, stylistic changes are not made by themselves as a matter of course (accross the whole codebase or in a specific module): among reasons, these obfuscate file history, need reviewer

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread R. David Murray
R. David Murray added the comment: As far as I know the only resources are the context manager docs and the source code. The stdlib content manager can serve as a model. I have to admit that it was long enough ago that I wrote that code that I'd have to re-read the docs and code myself to

[issue43921] test_ssl fails on Windows buildbots

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: Another TLS 1.3 client cert auth test is flaky, too. https://buildbot.python.org/all/#/builders/577/builds/14/steps/4/logs/stdio == FAIL: test_pha_required_nocert

[issue43911] Queue.get() memory leak

2021-04-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I don't think this is necessarily specific to my local build Replace "local" with "specific to a particular combination of C compiler and operating system". On my Mac, the effect mostly doesn't occur as all, 0.05% before the run and 0.10% after the

[issue42725] PEP 563: Should the behavior change for yield/yield from's

2021-04-23 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I've posted an entry on python-dev to collect comments about how we should act (whether just act them as strings on the symbol table or just forbid them completely):

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

2021-04-23 Thread Steve Dower
Steve Dower added the comment: New changeset e92d1106291e5a7d4970372478f2882056b7eb3a by Miss Islington (bot) in branch '3.8': bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) https://github.com/python/cpython/commit/e92d1106291e5a7d4970372478f2882056b7eb3a

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Zachary Ware
New submission from Zachary Ware : Without a description, it is impossible to tell what you're trying to report. You'll need to provide some details, such as what you're trying to do, what you expected to happen, what actually happened, and how you ran the code to get that result. As is, I

[issue43908] array.array should remain immutable

2021-04-23 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Guido, I’ll prepare a separate PR for all converted built-in types, and you can decide what to do with it when consensus is reached :) There are approx. ~90 of these types. Not all of them are added to their respective module dicts though, but I

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-23 Thread Steve Dower
Steve Dower added the comment: New changeset 52e9031fbd23c10668badc2a72ee5c203d6902c7 by Miss Islington (bot) in branch '3.9': bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of sys.getwindowsversion() (GH-25500)

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread Julien Castiaux
Julien Castiaux added the comment: Hello David, thank you for your quick answer. I tried to keep it minimal with some unittests. Could you point me some resources to learn how to properly write a custom content manager ? -- ___ Python tracker

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread Julien Castiaux
Change by Julien Castiaux : -- keywords: +patch pull_requests: +24281 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25562 ___ Python tracker ___

[issue43921] test_ssl fails on Windows buildbots

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset e047239eafefe8b19725efffe7756443495cf78b by Christian Heimes in branch 'master': bpo-43921: ignore failing test_wrong_cert_tls13 on Windows (GH-25561) https://github.com/python/cpython/commit/e047239eafefe8b19725efffe7756443495cf78b

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks a lot Ethan. I will wait then for the investigation. -- ___ Python tracker ___ ___

[issue43925] Add hangul syllables to unicodedata.decomposititon

2021-04-23 Thread Frédéric Grosshans-André
New submission from Frédéric Grosshans-André : Currently (python 3.8.6, unidata_version 12.1.0) unicodedata.decomposition outputs an empty string for hangul syllable (codepoints in the AC00..D7A3 range) while the decomposition is not empty: it is always two characters (either a LV syllable

[issue43921] test_ssl fails on Windows buildbots

2021-04-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- priority: normal -> deferred blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Added file: https://bugs.python.org/file49978/main.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Removed file: https://bugs.python.org/file49977/main.py ___ Python tracker ___ ___ Python-bugs-list

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Removed file: https://bugs.python.org/file49976/main.py ___ Python tracker ___ ___ Python-bugs-list

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Added file: https://bugs.python.org/file49977/main.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

2021-04-23 Thread miss-islington
miss-islington added the comment: New changeset 04bcfe001cdf6290cb78fa4884002e5301e14c93 by Miss Islington (bot) in branch '3.9': bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) https://github.com/python/cpython/commit/04bcfe001cdf6290cb78fa4884002e5301e14c93

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Added file: https://bugs.python.org/file49976/main.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43921] test_ssl fails on Windows buildbots

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +24280 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25561 ___ Python tracker

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Ethan Furman
Ethan Furman added the comment: My apologies, I was having hardware issues. Checking it out now. -- ___ Python tracker ___ ___

[issue43892] Make match patterns explicit in the AST

2021-04-23 Thread Brandt Bucher
Brandt Bucher added the comment: I can probably find time to take a pass at the unparser, if you want. > cls needs to be an expression node to allow for attribute lookups That's why I suggested "identifier*"! Each identifier in the list would be one part of the dotted name, so we wouldn't

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately, I am being forced to revert commit a02cb474f9c097c83cd444a47e9fb5f99b4aaf45 due to have it failing of all refleak buildbots for more than two days. -- ___ Python tracker

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +24279 pull_request: https://github.com/python/cpython/pull/25560 ___ Python tracker ___

[issue43911] Queue.get() memory leak

2021-04-23 Thread Jens
Jens added the comment: Ok, I see, thanks Raymond. Queue based logging leaks seem to hang my deployed applications atm, so this seemed like a possible reason for it. I use locally 8GB Ubuntu, and it gets to 2.2% after return with 20million puts, and on a remote 1GB Ubuntu instance, it

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

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

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

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

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

2021-04-23 Thread Steve Dower
Steve Dower added the comment: New changeset 3513d55a617012002c3f82dbf3cec7ec1abd7090 by Steve Dower in branch 'master': bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) https://github.com/python/cpython/commit/3513d55a617012002c3f82dbf3cec7ec1abd7090 --

[issue43538] [Windows] support args and cwd in os.startfile()

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

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

2021-04-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +24278 pull_request: https://github.com/python/cpython/pull/25559 ___ Python tracker ___

[issue43538] [Windows] support args and cwd in os.startfile()

2021-04-23 Thread Steve Dower
Steve Dower added the comment: New changeset 019e9e816882f5c43c4b833f81844b8299e815fd by Steve Dower in branch 'master': bpo-43538: Add extra arguments to os.startfile (GH-25538) https://github.com/python/cpython/commit/019e9e816882f5c43c4b833f81844b8299e815fd --

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Removed file: https://bugs.python.org/file49975/main.py ___ Python tracker ___ ___ Python-bugs-list

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : -- type: behavior -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread R. David Murray
R. David Murray added the comment: Since python is doing the right thing here, I don't see a particularly good reason to put a hack into the stdlib to fix the failure of third party software to adhere to standards. (On the output side. We do follow Postel's rule on input and try hard to

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-23 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: @steve.dower Would you mind merging the backport of the PR to the 3.9 branch manually? Apparently there seems to a test failure. I'm not sure why. But it reports that test has been failing recently. -- ___

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : -- files: main.py nosy: rafihassan190041234 priority: normal severity: normal status: open title: print unexpected values in infinite loop type: behavior versions: Python 3.9 Added file: https://bugs.python.org/file49975/main.py

[issue43923] Can't create generic NamedTuple as of py3.9

2021-04-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +levkivskyi, rhettinger, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list

[issue43923] Can't create generic NamedTuple as of py3.9

2021-04-23 Thread FHTMitchell
Change by FHTMitchell : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43923] Can't create generic NamedTuple as of py3.9

2021-04-23 Thread FHTMitchell
New submission from FHTMitchell : As of python 3.9, you now can't have multiple inheritance with `typing.NamedTuple` subclasses. This seems sensible, until you realise that `typing.Generic` works via inheritance. This fails whether or not `from __future__ import annotations` is enabled.

[issue43911] Queue.get() memory leak

2021-04-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43911] Queue.get() memory leak

2021-04-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, when running your code on my Intel Mac with 16 Gb of RAM, the "after return" result is 0.1%. So getting up to 2.2% seems to be specific to your build. Also, I just ran your code with a deque instrumented to count the number of mallocs and frees.

[issue35114] ssl.RAND_status docs describe it as returning True/False; actually returns 1/0

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset 7d37b86ad48368cf93440ca220b758696730d0e5 by Zackery Spytz in branch 'master': bpo-35114: Make ssl.RAND_status() return a bool (GH-20063) https://github.com/python/cpython/commit/7d37b86ad48368cf93440ca220b758696730d0e5 -- nosy:

[issue35114] ssl.RAND_status docs describe it as returning True/False; actually returns 1/0

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: Thanks Zackery! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker

[issue43908] array.array should remain immutable

2021-04-23 Thread Guido van Rossum
Guido van Rossum added the comment: Is there going to be a separate PR to actually *set* the IMMUTABLE flag on all built-in type objects? There are many of those. -- ___ Python tracker

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.11

2021-04-23 Thread Guido van Rossum
Guido van Rossum added the comment: I haven't followed this precisely, but I recall that when we first made PEP 563 the default, we had to fix a number of bugs in various library modules (e.g. inspect) that were only apparent when `from __future__ import annotations` was used. I hope we're

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread Jérôme Vanhaudenard
Change by Jérôme Vanhaudenard : -- nosy: +jev2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43920] OpenSSL 3.0.0: handle empty cadata consistently

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

  1   2   >