[issue9544] [doc] xdrlib.Packer().pack_fstring throws a TypeError when called with a str()

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

[issue42916] Support for DICOM image file format in imghdr module

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: imghdr 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

[issue6497] Support for digital Cinema/film DPX and Kodak Cineon image file formats in imghdr module

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: imghdr 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

[issue43194] Add JFXX as jpeg marker in imghdr module

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: imghdr 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

[issue26337] Bypass imghdr module determines the type of image

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: imghdr 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

[issue27121] imghdr does not support jpg files with Lavc bytes

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

[issue21574] Port image types detections from PIL to the imghdr module

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

[issue12516] imghdr.what should take one argument

2022-03-13 Thread Irit Katriel
Change by Irit Katriel : -- resolution: rejected -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28591] imghdr doesn't recognize some jpeg formats

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: imghdr 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

[issue12516] imghdr.what should take one argument

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

[issue23743] Python crashes upon exit if importing g++ compiled mod after importing gcc compiled mod

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: IIUC: (1) 2.7 is well past its EOL date, so it's not clear whether this issue is still there. (2) mingw is not supported and distutils is deprecated, so it's not clear if it's relevant. (3) it was, to begin with, a documentation issue and it was not clear

[issue46805] Add low level UDP socket functions to asyncio

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

[issue46805] Add low level UDP socket functions to asyncio

2022-03-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 9f04ee569cebb8b4c6f04bea95d91a19c5403806 by Alex Grönholm in branch 'main': bpo-46805: Add low level UDP socket functions to asyncio (GH-31455) https://github.com/python/cpython/commit/9f04ee569cebb8b4c6f04bea95d91a19c5403806 --

[issue46995] Make Task.set_name() mandatory for third-parties

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

[issue46995] Make Task.set_name() mandatory for third-parties

2022-03-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 7e473e94a52024ac821dd2f206290423e4987ead by Andrew Svetlov in branch 'main': bpo-46995: Deprecate missing asyncio.Task.set_name() for third-party task implementations (GH-31838)

[issue47001] deadlock in ctypes?

2022-03-13 Thread Eryk Sun
Eryk Sun added the comment: Pointers to resource type/name strings use the lower 16-bit range for integer identifiers such as RT_ICON (3) and RT_GROUP_ICON (14). C code checks for these cases using the IS_INTRESOURCE() macro. It's incorrect to use a simple C string pointer type such as

[issue43743] BlockingIOError: [Errno 11] Resource temporarily unavailable: on GPFS.

2022-03-13 Thread Marvin Poul
Marvin Poul added the comment: Here's the small patch. Sadly I have no overview what the affected linux kernel version are. I guess technically you can all this "working around a bug in specific linux version", but since it's a very minor change that saves one syscall even for

[issue43743] BlockingIOError: [Errno 11] Resource temporarily unavailable: on GPFS.

2022-03-13 Thread Marvin Poul
Marvin Poul added the comment: I hope you don't mind me necro posting, but I ran into this issue again and have a small patch to solve it. I attached an MWE that triggers the BlockingIOError reliably on ext4 filesystems in linux 4.12.14 and python 3.8.12. Running under strace -e sendfile

[issue43224] Add support for PEP 646

2022-03-13 Thread Matthew Rahtz
Change by Matthew Rahtz : -- pull_requests: +29945 pull_request: https://github.com/python/cpython/pull/31846 ___ Python tracker ___

[issue43224] Add support for PEP 646

2022-03-13 Thread Matthew Rahtz
Change by Matthew Rahtz : -- pull_requests: +29944 pull_request: https://github.com/python/cpython/pull/31845 ___ Python tracker ___

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

2022-03-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems related to https://bugs.python.org/issue9334 -- nosy: +xtreak ___ Python tracker ___

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

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

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

2022-03-13 Thread Safihre
Safihre added the comment: Pinging in hope for a review on https://github.com/python/cpython/pull/31492 -- ___ Python tracker ___

[issue46940] Suggestion messages don't properly work in nested getattr calls

2022-03-13 Thread Zara Youmi
Change by Zara Youmi : -- components: +2to3 (2.x to 3.x conversion tool), C API, Extension Modules, IO, Installation, SSL, Unicode, Windows nosy: +ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware, zarayoumi3 type: -> resource usage Added file:

[issue45995] string formatting: normalize negative zero

2022-03-13 Thread Mark Dickinson
Mark Dickinson added the comment: I forgot to update here: > PEP at https://github.com/python/peps/pull/2295 For the record, PEP 682 has been accepted. -- ___ Python tracker

[issue43224] Add support for PEP 646

2022-03-13 Thread Matthew Rahtz
Change by Matthew Rahtz : -- pull_requests: +29943 pull_request: https://github.com/python/cpython/pull/31844 ___ Python tracker ___

[issue46890] getpath problems with framework build

2022-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've updated the title to better reflect the actual problem. An update on the current state of this issue: I haven't looked at the code for a couple of days because because I got stuck. With a fresh mind I've continued debugging and noticed that I'm

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

2022-03-13 Thread Eric V. Smith
Eric V. Smith added the comment: Here's a simplified reproducer: import argparse parser = argparse.ArgumentParser() parser.add_argument("-u", "--utc", choices=["-1:00"]) args = parser.parse_args() I assume this is related to argparse guessing if an argument is a negative number. See

[issue46961] Caching/interning of small ints sometimes fails

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

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

2022-03-13 Thread Pythass
New submission from Pythass : By using argparse, and by passing a string as argument that has both a dash "-" and colon ":", python returns "expected one argument" error, despite it works when I use only "-" without ":". An example of code is attached at the ticket. Examples of triggering

[issue46961] Caching/interning of small ints sometimes fails

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

<    1   2