[issue37907] speed-up PyLong_As*() for large longs

2022-03-13 Thread Jeremiah Gabriel Pascual
Jeremiah Gabriel Pascual added the comment: New benchmarks with the new changes: PyLong_AsSsize_t: Mean +- std dev: [orig] 10.3 us +- 0.6 us -> [modif] 9.03 us +- 0.61 us: 1.14x faster PyLong_AsSize_t: Mean +- std dev: [orig] 10.5 us +- 2.4 us -> [modif] 9.26 us +- 0.17 us: 1.13x faster

[issue47000] Make encoding="locale" uses locale encoding even in UTF-8 mode is enabled.

2022-03-13 Thread Inada Naoki
Inada Naoki added the comment: I created a related topic on discuss.python.org. https://discuss.python.org/t/jep-400-utf-8-by-default-and-future-of-python/14246 If we recommend `PYTHONUTF8` as opt-in "UTF-8 by default", `encoding="locale"` should locale encoding in UTF-8 mode. If we don't

[issue47001] deadlock in ctypes?

2022-03-13 Thread Rocco Matano
Rocco Matano added the comment: @Eryk I think you hit the nail on the head with your recommendation to avoid ctypes.c_wchar_p (i.e. wintypes.LPWSTR) as the parameter type when dealing resource type/name strings. Of course ctypes automatic conversion from a C character pointer to a Python

[issue47009] Streamline list.append for the common case

2022-03-13 Thread Dennis Sweeney
Change by Dennis Sweeney : -- keywords: +patch pull_requests: +29962 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31864 ___ Python tracker ___

[issue47009] Streamline list.append for the common case

2022-03-13 Thread Dennis Sweeney
New submission from Dennis Sweeney : list_resize is a long function that probably won't get inlined. But for the vast majority of cases in list.append, we just need to check whether the list is big enough (not whether it's small enough, or whether it's null or the wrong type), then insert

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-03-13 Thread Vanshaj Singhania
Change by Vanshaj Singhania : -- keywords: +patch pull_requests: +29961 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31863 ___ Python tracker

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-03-13 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47008] Add Lib/site-packages to .gitignore

2022-03-13 Thread Dennis Sweeney
Dennis Sweeney added the comment: I made a copy/paste error, it should be: Lib/site-packages/* !Lib/site-packages/README.txt -- ___ Python tracker ___

[issue47008] Add Lib/site-packages to .gitignore

2022-03-13 Thread Dennis Sweeney
Change by Dennis Sweeney : -- keywords: +patch pull_requests: +29960 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31862 ___ Python tracker ___

[issue47008] Add Lib/site-packages to .gitignore

2022-03-13 Thread Dennis Sweeney
New submission from Dennis Sweeney : It would be nice to add the following to .gitignore, so that I can `./python -m pip install [whatever]` without overwhelming the output of `git status`. Lib/site-packages/* !Lib/test/data/README.txt -- messages: 415114 nosy: Dennis Sweeney

[issue37907] speed-up PyLong_As*() for large longs

2022-03-13 Thread Jeremiah Gabriel Pascual
Jeremiah Gabriel Pascual added the comment: Revisiting this 2+ year-old bug report, can I create another PR that implements the old PR's comments' suggestions? -- nosy: +Crowthebird ___ Python tracker

Re: Reportlab / platypus bug?

2022-03-13 Thread Dennis Lee Bieber
On Sun, 13 Mar 2022 21:55:36 +0100, Les declaimed the following: >It is hard to explain as it is, but something even more interesting happens >if you try to make them totally independent, and create a copy of the story >as well: > >import copy >doc = SimpleDocTemplate("phello.pdf")

[issue39829] __len__ called twice in the list() constructor

2022-03-13 Thread Inada Naoki
Inada Naoki added the comment: Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39829] __len__ called twice in the list() constructor

2022-03-13 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39829] __len__ called twice in the list() constructor

2022-03-13 Thread Inada Naoki
Inada Naoki added the comment: New changeset 2153daf0a02a598ed5df93f2f224c1ab2a2cca0d by Crowthebird in branch 'main': bpo-39829: Fix `__len__()` is called twice in list() constructor (GH-31816) https://github.com/python/cpython/commit/2153daf0a02a598ed5df93f2f224c1ab2a2cca0d --

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-03-13 Thread Vanshaj Singhania
New submission from Vanshaj Singhania : The documentation for the `str` class[^1] says: > If neither encoding nor errors is given, str(object) returns object.__str__() This led our students[^2] to try the following code: >>> class Test: ... def __str__(self): ...

[issue46522] concurrent.futures.__getattr__ raises the wrong AttributeError message

2022-03-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- stage: resolved -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44886] asyncio: create_datagram_endpoint() does not return a DatagramTransport

2022-03-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39829] __len__ called twice in the list() constructor

2022-03-13 Thread Irit Katriel
Change by Irit Katriel : -- versions: -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39829] __len__ called twice in the list() constructor

2022-03-13 Thread Jeremiah Pascual
Change by Jeremiah Pascual : -- versions: +Python 3.10, Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list

Re: Reportlab / platypus bug?

2022-03-13 Thread Barry
On 13 Mar 2022, at 22:34, Les wrote: > >  > I will, thanks. I just wanted to make sure that this is a real bug, and not a > mistake on my side. You followed the docs and got an error. Doc error? Docs out of date? Barry > > Barry ezt írta (időpont: 2022. márc. 13., V 23:29): >> >> >> > On

[issue47006] PEP 646: Decide on substitution behavior

2022-03-13 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Reportlab / platypus bug?

2022-03-13 Thread Les
I will, thanks. I just wanted to make sure that this is a real bug, and not a mistake on my side. Barry ezt írta (időpont: 2022. márc. 13., V 23:29): > > > > On 13 Mar 2022, at 21:41, Les wrote: > > > > I have found an error, and I created a minimal working example. The > minimal > > working

Re: Reportlab / platypus bug?

2022-03-13 Thread Barry
> On 13 Mar 2022, at 21:41, Les wrote: > > I have found an error, and I created a minimal working example. The minimal > working example starts with the very first example from Platypus user guide: I would suggest that you report to reportlab.com directly, any fix will come from them.

[issue47006] PEP 646: Decide on substitution behavior

2022-03-13 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks Matthew! Merged PRs can still be reverted, and we have some time before the feature freeze. I'd like to hear what Guido and Ken think too. If we go with the GenericAlias substitution, we need to make sure that such aliases still work as base class.

[issue47006] PEP 646: Decide on substitution behavior

2022-03-13 Thread Matthew Rahtz
Matthew Rahtz added the comment: (Having said that, to be clear: my preferred solution currently would still be the solution where we just return a new GenericAlias for anything involving a TypeVarTuple. The crux is what Serhiy is happy with.) --

[issue47006] PEP 646: Decide on substitution behavior

2022-03-13 Thread Matthew Rahtz
Matthew Rahtz added the comment: Thanks for starting this, Jelle - I was a bit unsure about how to proceed here. Given that https://github.com/python/cpython/pull/31800 is already merged, I'd also propose something halfway between the two extremes: return a sensible substitution when the

Reportlab / platypus bug?

2022-03-13 Thread Les
Hello, I have found an error, and I created a minimal working example. The minimal working example starts with the very first example from Platypus user guide: from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer from reportlab.lib.styles import getSampleStyleSheet from

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-13 Thread Ned Deily
Ned Deily added the comment: New changeset 0fbab8a593dcd94cfc788700dd9bf67a73f85920 by Ned Deily in branch '3.7': bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820) (GH-31861) https://github.com/python/cpython/commit/0fbab8a593dcd94cfc788700dd9bf67a73f85920 --

[issue47004] Apply bugfixes from importlib_metadata 4.11.3.

2022-03-13 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue47004] Apply bugfixes from importlib_metadata 4.11.3.

2022-03-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 177be52517da9a876a3f9e670f88c4731b906986 by Jason R. Coombs in branch '3.9': [3.9] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH-31859) https://github.com/python/cpython/commit/177be52517da9a876a3f9e670f88c4731b906986

[issue47004] Apply bugfixes from importlib_metadata 4.11.3.

2022-03-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset d929aa70e2a324ea48fed221c3257f929be05115 by Jason R. Coombs in branch '3.10': [3.10] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH-31857) https://github.com/python/cpython/commit/d929aa70e2a324ea48fed221c3257f929be05115

[issue47003] Cleanup _overlapped module

2022-03-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 690490e4de9f2baf07171b3d63fc440239928fb4 by Andrew Svetlov in branch 'main': bpo-47003: Cleanup _overlapped module (GH-31848) https://github.com/python/cpython/commit/690490e4de9f2baf07171b3d63fc440239928fb4 --

[issue47003] Cleanup _overlapped module

2022-03-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-03-13 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-03-13 Thread Itai Steinherz
Itai Steinherz added the comment: Interesting, thanks again :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-13 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29959 pull_request: https://github.com/python/cpython/pull/31861 ___ Python tracker ___

[issue46994] Accept explicit contextvars.Context in asyncio create_task() API

2022-03-13 Thread Yury Selivanov
Yury Selivanov added the comment: Yeah, +1 to add a parameter. Fwiw it was on my idea list when i was working on the pep -- ___ Python tracker ___

[issue47006] PEP 646: Decide on substitution behavior

2022-03-13 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- nosy: +mrahtz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47006] PEP 646: Decide on substitution behavior

2022-03-13 Thread Jelle Zijlstra
New submission from Jelle Zijlstra : We've had some disagreement about the behavior of TypeVarTuple substitution related to PEP 646, and the discussion has now spilled around multiple PRs. I'd like to use this issue to come to an agreement so we don't have to chase through so many different

[issue46829] Confusing CancelError message if multiple cancellations are scheduled

2022-03-13 Thread Yury Selivanov
Yury Selivanov added the comment: IOW I think that supporting custom messages is a needless complication of our API. Given how complex task trees can become with TaskGroups collecting those messages and presenting them all to the user isn't trivial, showing just first/last defeats the

[issue46829] Confusing CancelError message if multiple cancellations are scheduled

2022-03-13 Thread Yury Selivanov
Yury Selivanov added the comment: Andrew asked me for my opinion on the matter -- I think we should get rid of the message. Exception messages for "signals" can be easily lost if an exception was re-raised. If the reason of why something is being cancelled is important (in my experience it

[issue47002] argparse - "expected one argument" when used -: in argument

2022-03-13 Thread paul j3
paul j3 added the comment: '-1' and '-1.23' are recognized as numbers, and treated as arguments. '-1' requires some special handling because it is allowed as a flag, as in parser.add_argument('-1','--one') '-1:00' on the other hand is no different from a string like '-foo'. Default

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-03-13 Thread Eryk Sun
Eryk Sun added the comment: > Why catch ERROR_NOT_READY and ERROR_BAD_NET_NAME as well? When os.stat() falls back on FindFirstFileW(), an error that means the file doesn't exist should be kept. ERROR_BAD_NET_NAME is an obvious error to keep because it's already mapped to ENOENT (i.e. file

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2022-03-13 Thread Safihre
Safihre added the comment: Implementing for write is not needed as OpenSSL's SSL_write_ex that is used by write() already writes the whole buffer at once. Only reading OpenSSL does in the 16k segments. The new option was introduced to prevent the compatibility problems for code that would

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-13 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29958 pull_request: https://github.com/python/cpython/pull/31860 ___ Python tracker ___

[issue47004] Apply bugfixes from importlib_metadata 4.11.3.

2022-03-13 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +29957 pull_request: https://github.com/python/cpython/pull/31859 ___ Python tracker ___

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2022-03-13 Thread Christian Heimes
Christian Heimes added the comment: We have very few people that are familar with ssl module and especially with its I/O layer. I'm busy with other topics. Others are directly affected by war in Ukraine. I'm not a particular fan of the new "eager_recv" property introduced by your PR. Also

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-03-13 Thread Itai Steinherz
Change by Itai Steinherz : -- keywords: +patch pull_requests: +29956 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31858 ___ Python tracker

[issue18820] json.dump() ignores its 'default' option when serializing dictionary keys

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker ___

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-13 Thread Ned Deily
Ned Deily added the comment: New changeset bda64b3c0c4e45de4c82ba1b8722f56db5ac88ba by Ned Deily in branch '3.9': bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820) (GH-31855) https://github.com/python/cpython/commit/bda64b3c0c4e45de4c82ba1b8722f56db5ac88ba --

[issue47004] Apply bugfixes from importlib_metadata 4.11.3.

2022-03-13 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +29955 pull_request: https://github.com/python/cpython/pull/31857 ___ Python tracker ___

[issue46985] Upgrade ensurepip bundled pip to 22.0.4

2022-03-13 Thread Ned Deily
Ned Deily added the comment: New changeset 5a8e968c38cc239c07eba15ded439a12818a852f by Ned Deily in branch '3.7': bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31852) https://github.com/python/cpython/commit/5a8e968c38cc239c07eba15ded439a12818a852f --

[issue2604] doctest.DocTestCase fails when run repeatedly

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: I've reproduced this on 3.11 as well. The patch here needs to be converted to a GitHub PR and then tested and reviewed. The patch on issue9736 has a unit test as well, which should be included (because the pjd's patch doesn't have one). -- keywords:

[issue47004] Apply bugfixes from importlib_metadata 4.11.3.

2022-03-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset b1e286860742e7ba6fadc75e3ddb6c2899a56919 by Jason R. Coombs in branch 'main': bpo-47004: Sync with importlib_metadata 4.11.3. (#31854) https://github.com/python/cpython/commit/b1e286860742e7ba6fadc75e3ddb6c2899a56919 --

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-03-13 Thread Itai Steinherz
Itai Steinherz added the comment: Thanks for the comprehensive reply, Eryk! I have a few questions regarding your suggestion: 1. Why catch ERROR_NOT_READY and ERROR_BAD_NET_NAME as well? How do you know that FindFirstFileW() may return them? 2. Why can't the filename of the "foo"-like file

[issue45744] Fix Flawfinder C Errors

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: There is not enough information in this report. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___

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

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: We have agreed on python-dev [1] that the cpython changes will not be reverted, and the issue will be fixed in cython. So I am closing this again. [1] https://mail.python.org/archives/list/python-...@python.org/message/BHIQL4P6F7OPMCAP6U24XEZUPQKI62UT/

[issue42548] debugger stops at breakpoint of `pass` that is not actually reached

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: On second thought I won't keep this open till it expires. This is a low priority bug which no longer exists in new versions because it was fixed by accident due to another change. I don't believe anyone would care enough about this to investigate how it

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2022-03-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- nosy: -asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-13 Thread miss-islington
miss-islington added the comment: New changeset 25962e4e60235645f945d23281431b30b3c3d573 by Miss Islington (bot) in branch '3.10': bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820) https://github.com/python/cpython/commit/25962e4e60235645f945d23281431b30b3c3d573 --

[issue46967] Type union for except

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: > I don't think that `except A|B` looks better than `except (A, B)` I agree. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: not a bug -> status: closed -> ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1186900] nntplib shouldn't raise generic EOFError

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: nntplib is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue47005] Improve performance of bytes_repeat

2022-03-13 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +29954 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31856 ___ Python tracker

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-13 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29953 pull_request: https://github.com/python/cpython/pull/31855 ___ Python tracker ___

[issue40735] test_nntplib depends on unreliable external servers

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: nntplib is deprecated as per PEP 594, so there won't be further enhancements to it. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue12506] NIS module cant handle multiple NIS map entries for the same GID

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: nis is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue47004] Apply bugfixes from importlib_metadata 4.11.3.

2022-03-13 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +29952 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31854 ___ Python tracker ___

[issue2148] nis module not supporting group aliases

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: nis is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue32007] deprecate the nis module

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: is deprecated as per PEP 594, so there is no need for a separate issue for it. -- nosy: +iritkatriel resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue47005] Improve performance of bytes_repeat

2022-03-13 Thread Pieter Eendebak
New submission from Pieter Eendebak : The bytearray_repeat and bytearray_irepeat are inefficient for small arrays and a high number of repeats. This can be improved by using the same approach is in the corresponding bytes_repeat method. Microbenchmark: python -m pyperf timeit

[issue46985] Upgrade ensurepip bundled pip to 22.0.4

2022-03-13 Thread miss-islington
miss-islington added the comment: New changeset 4f340b07392dd50800f255ceee0ec1b7edd77dc9 by Miss Islington (bot) in branch '3.9': [3.9] bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31850) https://github.com/python/cpython/commit/4f340b07392dd50800f255ceee0ec1b7edd77dc9

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +29951 pull_request: https://github.com/python/cpython/pull/31853 ___ Python tracker

[issue47004] Apply bugfixes from importlib_metadata 4.11.3.

2022-03-13 Thread Jason R. Coombs
New submission from Jason R. Coombs : Importlib_metadata 4.11.1-3 introduced a few bug fixes. Importantly, 4.11.2 fixed a [serious defect](https://github.com/python/importlib_metadata/issues/369). Let's incorporate those fixes into CPython. -- messages: 415075 nosy: jaraco priority:

[issue47004] Apply bugfixes from importlib_metadata 4.11.3.

2022-03-13 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: -> jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46985] Upgrade ensurepip bundled pip to 22.0.4

2022-03-13 Thread miss-islington
miss-islington added the comment: New changeset 1ceda9787f586e11ccd2a94171422a2d70622a27 by Miss Islington (bot) in branch '3.10': [3.10] bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31849) https://github.com/python/cpython/commit/1ceda9787f586e11ccd2a94171422a2d70622a27

[issue46774] Importlib.metadata.version picks first distribution not latest

2022-03-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: Aha. I learned how to run commands in the poetry environment... and how to locate files in that environment. With that, I figured out where the environment is and where the package metadata is coming from: ``` $ docker run -it @$(docker build -q .) bash -c

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-13 Thread Ned Deily
Ned Deily added the comment: New changeset c99ac3c364ee21be72263791b71ee8b55f64de08 by Pradyun Gedam in branch 'main': bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820) https://github.com/python/cpython/commit/c99ac3c364ee21be72263791b71ee8b55f64de08 --

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-13 Thread Maximilian Hils
Change by Maximilian Hils : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-13 Thread Maximilian Hils
Maximilian Hils added the comment: We are hitting the same traceback with mitmproxy on Windows without ever passing a socket object to open_connection. In other words, this can be triggered without performing any action on 'sock' due to some race conditions in the Windows network stack. I

[issue46985] Upgrade ensurepip bundled pip to 22.0.4

2022-03-13 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29950 pull_request: https://github.com/python/cpython/pull/31852 ___ Python tracker ___

[issue46985] Upgrade ensurepip bundled pip to 22.0.4

2022-03-13 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29949 pull_request: https://github.com/python/cpython/pull/31851 ___ Python tracker ___

[issue46774] Importlib.metadata.version picks first distribution not latest

2022-03-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: The behavior you describe is intentional _and_ deterministic. The library discovers distributions in the order found based on the search path provided, with the search path defaulting to sys.path. The expectation is therefore that the metadata should be

[issue46985] Upgrade ensurepip bundled pip to 22.0.4

2022-03-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +29948 pull_request: https://github.com/python/cpython/pull/31850 ___ Python tracker ___

[issue46985] Upgrade ensurepip bundled pip to 22.0.4

2022-03-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +29947 pull_request: https://github.com/python/cpython/pull/31849 ___ Python tracker

[issue46985] Upgrade ensurepip bundled pip to 22.0.4

2022-03-13 Thread Ned Deily
Ned Deily added the comment: New changeset d87f1b787ed38dfd307d82452f2efe9dc5b93942 by Pradyun Gedam in branch 'main': bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) https://github.com/python/cpython/commit/d87f1b787ed38dfd307d82452f2efe9dc5b93942 --

[issue47002] argparse - "expected one argument" when used -: in argument

2022-03-13 Thread Pythass
Pythass added the comment: The curious aspect is that for: import argparse parser = argparse.ArgumentParser() parser.add_argument("-u", "--utc", choices=["-1"]) args = parser.parse_args() it works. But if we use the colon (:) character as: import argparse parser = argparse.ArgumentParser()

[issue22094] oss_audio_device.write(data) produces short writes

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: ossaudiodev is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue13681] Aifc read compressed frames fix

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: aifc is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue8934] aifc should use str instead of bytes (wave, sunau compatibility)

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: aifc is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue47003] Cleanup _overlapped module

2022-03-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +29946 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31848 ___ Python tracker ___

[issue47003] Cleanup _overlapped module

2022-03-13 Thread Andrew Svetlov
New submission from Andrew Svetlov : 1. CancelIoEx is mandatory for supported Windows versions, there is no need for dynamic checks. 2. Argument Clinic supports Py_buffer, use it. -- components: asyncio messages: 415064 nosy: asvetlov, yselivanov priority: normal severity: normal

[issue8526] msilib doesn't support multiple CAB instances in same installer

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: msilib is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue12201] Returning FILETIME is unsupported in msilib.SummaryInformation.GetProperty()

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: msilib is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue12026] Support more of MSI api

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: msilib is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue1178136] cgitb.py support for frozen images

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: cgi/cgitb are deprecated as per PEP 594, so there won't be further enhancements to them. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue15749] cgitb prints html for text when display disabled.

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: cgi/cgitb are deprecated as per PEP 594, so there won't be further enhancements to them. -- nosy: +iritkatriel resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33507] Improving the html rendered by cgitb.html

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: cgi/cgitb are deprecated as per PEP 594, so there won't be further enhancements to them. -- nosy: +iritkatriel resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue1047397] cgitb failures

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: cgi/cgitb are deprecated as per PEP 594, so there won't be further enhancements to them. -- nosy: +iritkatriel resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

  1   2   >