[issue43856] Docs for importlib.metadata should mention Python version

2021-04-22 Thread Inada Naoki
Inada Naoki added the comment: New changeset faad2bd87f9e1c24837dd772f0597f4ab9416c66 by Jason R. Coombs in branch '3.8': bpo-43856: Add a versionadded directive to the importlib.metadata docs (GH-25445) https://github.com/python/cpython/commit/faad2bd87f9e1c24837dd772f0597f4ab9416c66

[issue43856] Docs for importlib.metadata should mention Python version

2021-04-22 Thread Inada Naoki
Inada Naoki added the comment: New changeset d4fff1f580aed5d26b9b501d0e626f50da9f7bb7 by Jason R. Coombs in branch '3.9': bpo-43856: Add a versionadded directive to the importlib.metadata docs (GH-25445) https://github.com/python/cpython/commit/d4fff1f580aed5d26b9b501d0e626f50da9f7bb7

[issue43919] Potential bug in the "request" package.

2021-04-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The tracker is for issues related to CPython. requests is not part of stdlib so I am closing this as a third party issue. It seems this was already raised in requests repo https://github.com/psf/requests/issues/3017 . -- nosy: +xtreak resol

[issue43911] Queue.get() memory leak

2021-04-22 Thread Jens
Jens added the comment: Results for queue._PySimpleQueue: ># >del_after_puts False del_after_gets True n_puts 2000 >before run >mem_pct 0.15% >-- put done - qsize 2000 >mem_pct 37.61% >-- gets done - qsize 0 >mem_pct 2.22% >deleting queue after gets >mem_p

[issue43919] Potential bug in the "request" package.

2021-04-22 Thread edgj4718
New submission from edgj4718 : Hello there, I am creating a client application with python. This application consists in extracting some data from an API and doing something with it. Anyway, I added a space in the end of the URL where I am supposed to have the data, and the API did not send

[issue43602] Include Decimal's in numbers.Real

2021-04-22 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: Well, probably everyone else agree with Raymond. Yet, I'll try to clarify few things. On Mon, Apr 19, 2021 at 03:38:29AM +, Raymond Hettinger wrote: > No strong use cases have emerged that would warrant overturning > the long-standing prior decisions

[issue43911] Queue.get() memory leak

2021-04-22 Thread Jens
Jens added the comment: Just inspected the PriorityQueue and LifoQueue classes, they dont employ a deque at all but simply a list, but all other Queues tested do (except the native SimpleQueue). Since they don't leak, the leak itself seems to be coming from deque, and the fact that it does

[issue43911] Queue.get() memory leak

2021-04-22 Thread Jens
Jens added the comment: Hi, Thanks for your reply, so I've run same script with queue.PriorityQueue, queue.LifoQueue, queue.SimpleQueue, Asyncio.Queue as well as collections.dequeue 1. PriorityQueue ># >del_after_puts False del_after_gets True n_puts 2000 >before run >mem_pct 0.1

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-22 Thread Inada Naoki
Inada Naoki added the comment: codecs.register() was added in this commit. https://github.com/python/cpython/commit/e2d67f98d1aade1059b2ff3278672b2ffbaf180e And its docstring has been added in this commit. https://github.com/python/cpython/commit/0ae2981dec3de96a1f7d63b0535992cf1462ac92 Both

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-22 Thread Inada Naoki
Inada Naoki added the comment: I think it is too late. Python 3.9 has been released already. Reverting the change is also breaking change. PEP 100 says: "Search functions are expected to take one argument, the encoding name in all lower case letters and with hyphens and spaces converted to

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-22 Thread hai shi
hai shi added the comment: >Ideally if we did not intend to break libraries then can this be fixed? Or if it is acceptable to have such a breaking change. Hi, akdor1154, thanks for your notice. It was a bugfix in fact:) https://bugs.python.org/issue37751#msg349448 > maybe this is https://git

[issue43877] Logging Cookbook ambiguity

2021-04-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: The queue isn't being used with a maxsize. -- nosy: -vinay.sajip ___ Python tracker ___ ___ P

[issue32891] Add 'Integer' as synonym for 'Integral' in numbers module.

2021-04-22 Thread Sergey B Kirpichev
Change by Sergey B Kirpichev : -- keywords: +patch pull_requests: +24272 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/25552 ___ Python tracker __

[issue43918] anext builtin docstring has no signature text or info about default argument

2021-04-22 Thread Erik Welch
Change by Erik Welch : -- keywords: +patch pull_requests: +24271 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25551 ___ Python tracker ___ _

[issue43918] anext builtin docstring has no signature text or info about default argument

2021-04-22 Thread Erik Welch
New submission from Erik Welch : The new builtin `anext` does not have a signature (from `inspect.signature(anext)`). This is expected, because `inspect` does not yet support signatures with C NULL default value. However, `anext` also doesn't have text in its docstring that describes its si

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

2021-04-22 Thread Alexei Colin
Change by Alexei Colin : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2021-04-22 Thread Alexei Colin
Change by Alexei Colin : -- versions: +Python 3.10 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-04-22 Thread Alexei Colin
Alexei Colin added the comment: Can confirm that this BlockingIOError happens on GPFS (alpine) on Summit supercomputer, tested with Python 3.8 and 3.10a7. I found that it happens only for file sizes above 65536. Minimal example: This filesize works: $ rm -f srcfile dstfile && truncate --siz

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-22 Thread akdor1154
akdor1154 added the comment: If I understand the target of this issue, this is a breaking change in python 3.9 . E.g. see https://github.com/SAP/PyHDB/issues/149 Ideally if we did not intend to break libraries then can this be fixed? Or if it is acceptable to have such a breaking change, can

[issue43917] An error in classmethod example in the documentation of descriptor

2021-04-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Okay, it's fixed. Thanks for the report. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior versions: +Python 3.10 ___ Python tracker

[issue43917] An error in classmethod example in the documentation of descriptor

2021-04-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 34be48450f03b121be10a9f8e8989603478f0469 by Miss Islington (bot) in branch '3.9': bpo-43917: Fix pure python equivalent for classmethod (GH-25544) (GH-25546) https://github.com/python/cpython/commit/34be48450f03b121be10a9f8e8989603478f0469

[issue39572] [typing] TypedDict's 'total' argument is undocumented

2021-04-22 Thread miss-islington
miss-islington added the comment: New changeset bc5a1a7adf0d0154cb3f247da84146dd51997540 by Miss Islington (bot) in branch '3.9': bpo-39572: Address typo in CHANGELOG. (GH-24999) https://github.com/python/cpython/commit/bc5a1a7adf0d0154cb3f247da84146dd51997540 -- __

[issue43917] An error in classmethod example in the documentation of descriptor

2021-04-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +24270 pull_request: https://github.com/python/cpython/pull/25546 ___ Python tracker _

[issue43917] An error in classmethod example in the documentation of descriptor

2021-04-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 14092b5a4ae4caf1c77f685450016a0d1ad0bd6c by Raymond Hettinger in branch 'master': bpo-43917: Fix pure python equivalent for classmethod (GH-25544) https://github.com/python/cpython/commit/14092b5a4ae4caf1c77f685450016a0d1ad0bd6c --

[issue39572] [typing] TypedDict's 'total' argument is undocumented

2021-04-22 Thread miss-islington
miss-islington added the comment: New changeset 6afb0a8078ff3fc93adc4177565c56f820ca2880 by Simon Charette in branch 'master': bpo-39572: Address typo in CHANGELOG. (GH-24999) https://github.com/python/cpython/commit/6afb0a8078ff3fc93adc4177565c56f820ca2880 -- _

[issue39572] [typing] TypedDict's 'total' argument is undocumented

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

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset 28575923a9ee40928a9d00a7ed997a6f6a09b8d1 by Miss Islington (bot) in branch '3.9': bpo-38822: Check specifically for a drive, not just a colon (GH-25540) https://github.com/python/cpython/commit/28575923a9ee40928a9d00a7ed997a6f6a09b8d1 --

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset 9f0b3a9c8eedf694377d8638365fb9f385daa581 by Miss Islington (bot) in branch '3.8': bpo-38822: Check specifically for a drive, not just a colon (GH-25540) https://github.com/python/cpython/commit/9f0b3a9c8eedf694377d8638365fb9f385daa581 --

[issue43917] An error in classmethod example in the documentation of descriptor

2021-04-22 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +24268 pull_request: https://github.com/python/cpython/pull/25544 ___ Python tracker ___ ___

[issue21352] improve documentation indexing

2021-04-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list m

[issue38222] pathlib Path objects should support __format__

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

[issue38222] pathlib Path objects should support __format__

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -24264 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue38222] pathlib Path objects should support __format__

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -24263 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

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

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

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

[issue38222] pathlib Path objects should support __format__

2021-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset e07d8098892e85ecc56969d2c9a5afb3ea33ce8f by Steve Dower in branch 'master': bpo-38222: Check specifically for a drive, not just a colon (GH-25540) https://github.com/python/cpython/commit/e07d8098892e85ecc56969d2c9a5afb3ea33ce8f -- _

[issue38222] pathlib Path objects should support __format__

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

[issue38222] pathlib Path objects should support __format__

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

[issue18744] doc: pathological performance using tarfile

2021-04-22 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: pathological performance using tarfile -> doc: pathological performance using tarfile versions: +Python 3.11 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue43917] An error in classmethod example in the documentation of descriptor

2021-04-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: It looks like it should be: if hasattr(type(self.f), "__get__"): Here's the relevant C code: static PyObject * cm_descr_get(PyObject *self, PyObject *obj, PyObject *type) { classmethod *cm = (classmethod *)self; if (cm->cm_callable == NULL)

[issue43917] An error in classmethod example in the documentation of descriptor

2021-04-22 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +24262 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25541 ___ Python tracker _

[issue43917] An error in classmethod example in the documentation of descriptor

2021-04-22 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue43917] An error in classmethod example in the documentation of descriptor

2021-04-22 Thread Egor
New submission from Egor : In this section https://docs.python.org/3/howto/descriptor.html#class-methods in the example of python implementation of ClassMethod inside __get__ method I think that we should check hasattr(self.f, "__get__") instead of hasattr(obj, "__get__"). -- assigne

[issue38222] pathlib Path objects should support __format__

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -24260 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +24261 pull_request: https://github.com/python/cpython/pull/25540 ___ Python tracker ___ _

[issue38222] pathlib Path objects should support __format__

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- nosy: +steve.dower nosy_count: 5.0 -> 6.0 pull_requests: +24260 pull_request: https://github.com/python/cpython/pull/25540 ___ Python tracker ___ ___

[issue25782] CPython hangs on error __context__ set to the error itself

2021-04-22 Thread Irit Katriel
Irit Katriel added the comment: I agree with Chris that the issue of not hanging is independent of the question what to do about the cycle. The ExitStack issue that brought this issue about is now fixed in ExitStack (see issue25786, issue27122). If we take a step back from that, the situati

[issue43908] array.array should remain immutable

2021-04-22 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Victor, I've updated PR 25520 so PyType_Ready always sets Py_TPFLAGS_IMMUTABLE for static types. -- ___ Python tracker ___ _

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

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower versions: +Python 3.10, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

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

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +24259 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25539 ___ Python tracker ___

[issue43916] Check that new heap types cannot be created uninitialised

2021-04-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Serhiy's comment for reference: Static type with tp_new = NULL does not have public constructor, but heap type inherits constructor from base class. As result, it allows to create instances without proper initialization, that can lead to crash. It was

[issue43916] Check that new heap types cannot be created uninitialised

2021-04-22 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : I'm creating this issue and marking it as a deferred blocker to make sure we don't forget to check this (adding tests) before the release. Check this message from Serhiy regarding heap typed concerns: https://bugs.python.org/msg391598 -- me

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

2021-04-22 Thread Steve Dower
Steve Dower added the comment: Not rushing this one in, but this is a relatively straightforward addition that will definitely be handy in some situations. I didn't bother adding an enum for the SW_* constants, since I don't think they'll get anywhere near enough use to justify being in our

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -24257 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +24258 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25538 ___ Python tracker ___

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +24257 pull_request: https://github.com/python/cpython/pull/25538 ___ Python tracker ___ _

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-22 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24256 pull_request: https://github.com/python/cpython/pull/25537 ___ Python tracker ___

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread Eryk Sun
Eryk Sun added the comment: Steve, your PR checks `filename[n] == L':'`. I think it should check for a drive name, i.e. `n == 1 && filename[1] == L':'`. For example, the VirtualBox shared-folder filesystem allows creating and accessing filenames that contain and end with colons (e.g. "spam:"

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

2021-04-22 Thread miss-islington
miss-islington added the comment: New changeset ab5d78ce4141a6b3cd55588cdbe3cd3bd5242d5b by Miss Islington (bot) in branch '3.9': bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an invalid filename (GH-25529) https://github.com/python/cpython/commit/ab5d78ce4141a6b3cd55

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

2021-04-22 Thread miss-islington
miss-islington added the comment: New changeset 1575ea01059b3ba836cdb62f01f0b6584d7756a7 by Miss Islington (bot) in branch '3.8': bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an invalid filename (GH-25529) https://github.com/python/cpython/commit/1575ea01059b3ba836cd

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread miss-islington
miss-islington added the comment: New changeset 8e7cebb497e6004715a5475f6b53d8ef9d30a9fa by Miss Islington (bot) in branch '3.9': bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527) https://github.com/python/cpython/commit/8e7cebb497e6004715a5475f6b53d8ef9d30a9fa --

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread miss-islington
miss-islington added the comment: New changeset 400bd9a3858ea28ea264682b7f050c69638b1ff1 by Miss Islington (bot) in branch '3.8': bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527) https://github.com/python/cpython/commit/400bd9a3858ea28ea264682b7f050c69638b1ff1 --

[issue28577] ipaddress.ip_network(...).hosts() returns nothing for an IPv4 /32

2021-04-22 Thread Pete Wicken
Change by Pete Wicken : -- pull_requests: +24255 pull_request: https://github.com/python/cpython/pull/25536 ___ Python tracker ___ _

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

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

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

2021-04-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +24253 pull_request: https://github.com/python/cpython/pull/25534 ___ Python tracker _

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

2021-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset 4696f1285d83dd7b69f459c63e14080b1f87f797 by Steve Dower in branch 'master': bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an invalid filename (GH-25529) https://github.com/python/cpython/commit/4696f1285d83dd7b69f459c63e140

[issue28577] ipaddress.ip_network(...).hosts() returns nothing for an IPv4 /32

2021-04-22 Thread Pete Wicken
Change by Pete Wicken : -- pull_requests: +24252 pull_request: https://github.com/python/cpython/pull/25533 ___ Python tracker ___ _

[issue28577] ipaddress.ip_network(...).hosts() returns nothing for an IPv4 /32

2021-04-22 Thread Pete Wicken
Change by Pete Wicken : -- pull_requests: +24251 pull_request: https://github.com/python/cpython/pull/25532 ___ Python tracker ___ _

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

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

[issue43915] Add PCbuild/blurb.bat

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

[issue43915] Add PCbuild/blurb.bat

2021-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset a911bd15a19824c92af8e90b63af4a84a9670222 by Steve Dower in branch 'master': bpo-43915: Add PCbuild/blurb.bat to simplify Windows contributors (GH-25528) https://github.com/python/cpython/commit/a911bd15a19824c92af8e90b63af4a84a9670222 --

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

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

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +24249 pull_request: https://github.com/python/cpython/pull/25530 ___ Python tracker _

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset fe63a401a9b3ca1751b81b5d6ddb2beb7f3675c1 by Steve Dower in branch 'master': bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527) https://github.com/python/cpython/commit/fe63a401a9b3ca1751b81b5d6ddb2beb7f3675c1 -- ___

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +24248 pull_request: https://github.com/python/cpython/pull/25529 ___ Python tracker ___ _

[issue43915] Add PCbuild/blurb.bat

2021-04-22 Thread Steve Dower
Steve Dower added the comment: Well, it's not so much the long command line, as having to remember which install of Python has blurb in it. This way, it's always the same one (and probably the copy that we installed into externals) -- ___ Python t

[issue43915] Add PCbuild/blurb.bat

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +24247 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25528 ___ Python tracker ___

[issue43915] Add PCbuild/blurb.bat

2021-04-22 Thread Steve Dower
New submission from Steve Dower : I'm sick of writing long commands to invoke blurb, so add a batch file to do it. -- assignee: steve.dower components: Build, Windows messages: 391623 nosy: paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open tit

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +24246 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25527 ___ Python tracker ___

[issue43892] Make match patterns explicit in the AST

2021-04-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I'm not really sure whether we should continue following this old tradition > of int? end_* attributes for new sum types like pattern, considering that it > was done for supporting the creation of old nodes 3.8< without any change on > 3.8>=. patter

[issue38659] enum classes cause slow startup time

2021-04-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks Ammar for the fix. Unfortunately there is still some failures related to this on test_socker: == ERROR: test_msgflag_enum (test.test_socket.GeneralModuleTests) -

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- components: +Parser ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +lys.nikolaou stage: patch review -> ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +24245 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25525 ___ Python tracker __

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-22 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : To improve the user experience understanding what part of the error messages associated to SyntaxErrors are wrong, we can highlight the whole error range and not only place the caret at the first character. In this way: >>> foo(x, z for z in range(1

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue32596] Lazy import concurrent.futures.process and thread

2021-04-22 Thread Cebtenzzre
Change by Cebtenzzre : -- nosy: +cebtenzzre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue43913] unittest module cleanup functions not run unless tearDownModule() is defined

2021-04-22 Thread Ryan Tarpine
New submission from Ryan Tarpine : Functions registered with unittest.addModuleCleanup are not called unless the user defines tearDownModule in their test module. This behavior is unexpected because functions registered with TestCase.addClassCleanup are called even the user doesn't define tea

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-04-22 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Both https://docs.python.org/3/extending/windows.html#building-on-windows and https://docs.python.org/3/extending/building.html recommends using distutils. As mentioned in PEP 632 distutils will soon be deprecated. I think it'll be a good idea to change the

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

2021-04-22 Thread miss-islington
miss-islington added the comment: New changeset ef63328b46fe7402794cde51008a47e79f37b153 by Miss Islington (bot) in branch '3.8': bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of sys.getwindowsversion() (GH-25500) https://github.com/python/cpython/commit/ef63328b46fe7402794

[issue29708] support reproducible Python builds

2021-04-22 Thread Felix C. Stegerman
Felix C. Stegerman added the comment: Hi! I've been working on reproducible builds for python-for-android [1,2,3]. Current issues with .pyc files are: * .pyc files differ depending on whether Python was compiled w/ liblzma-dev installed or not; * many .pyc files include build paths; * some

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-04-22 Thread Steve Dower
Steve Dower added the comment: I agree with Zach's comment on the PR - this topic needs an overhaul. All the information required is going to be out there somewhere, and those of us on this issue can help fill in any gaps, but someone will need to spend a bit of time on research and laying i

[issue43911] Queue.get() memory leak

2021-04-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: This may be a memory fragmentation problem and likely doesn't have anything to do with Queue instances. As an experiment, try using queue.PriorityQueue and queue.LifoQueue to see if the issue persists. -- nosy: +rhettinger __

[issue29708] support reproducible Python builds

2021-04-22 Thread Felix C. Stegerman
Change by Felix C. Stegerman : -- nosy: +obfusk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

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

2021-04-22 Thread Steve Dower
Steve Dower added the comment: Thanks for doing the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue17681] Work with an extra field of gzip and zip files

2021-04-22 Thread Alex Mijalis
Alex Mijalis added the comment: Agreed, it would be really nice to integrate these changes. These special fields are found in gzipped .bam files, a common DNA sequence alignment format used in the bioinformatics community. It would be nice to be able to read and write them with the standard

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

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

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

2021-04-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +24243 pull_request: https://github.com/python/cpython/pull/25523 ___ Python tracker

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

2021-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset 2a3f4899c63806439e5bcea0c30f7e6a6295a763 by Shreyan Avigyan in branch 'master': bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of sys.getwindowsversion() (GH-25500) https://github.com/python/cpython/commit/2a3f4899c63806439e5bcea0

  1   2   >