[issue43910] cgi.parse_header does not handle escaping correctly

2021-04-22 Thread Mark Gordon
Change by Mark Gordon : -- keywords: +patch pull_requests: +24236 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25519 ___ Python tracker ___

[issue27763] Add complex case to test_builtin abs()

2021-04-22 Thread Mark Dickinson
Mark Dickinson added the comment: Yes, it looks as though we do have tests of the form that Evelyn describes in test_complex (which also seems like the right place for those tests). Closing here. Thanks Sergey for the ping! -- stage: test needed -> resolved status: open -> closed

[issue43908] array.array should remain immutable

2021-04-22 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: FWIW, I was the one who converted arraymodule to use heap types in 75bf107c62fbdc00af51ee4f6ab69df4bd201104 (GH-23124) in January. Sorry 'bout the accidental change of behaviour. > I think we may need a new flag bit meaning "built-in type,

[issue27763] Add complex case to test_builtin abs()

2021-04-22 Thread Mark Dickinson
Change by Mark Dickinson : -- resolution: -> out of date ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43817] Add inspect.get_annotations()

2021-04-22 Thread Larry Hastings
Larry Hastings added the comment: When I proposed this new function, stringized annotations were the default behavior in Python 3.10, and there were two calls to typing.get_type_hints() in the standard library: * inspect.signature() * functools.singledispatch() Now that stringized

[issue43911] Queue.get() memory leak

2021-04-22 Thread Jens
New submission from Jens : I use the following code to produce what looks like a memory leak after emptying a queue with the get() method. import queue import os import psutil def run(del_after_puts, del_after_gets, n_puts, process): mem = queue.Queue()

[issue43892] Make match patterns explicit in the AST

2021-04-22 Thread Nick Coghlan
Change by Nick Coghlan : -- stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43908] array.array should remain immutable

2021-04-22 Thread Mark Shannon
Mark Shannon added the comment: Adding an extra flag seems like the sensible thing to do for 3.10 Longer term, we should decouple immutability from whether something is a heap type. I don't know why we would care that it is a heap type at all. Which bit of memory it happens to sit in seems

[issue43911] Queue.get() memory leak

2021-04-22 Thread Jens
Jens added the comment: I've tried to profile the memory with tracemalloc as well as pympler, but they dont show any leaks at python level, so I suspect that might be a C level leak. -- ___ Python tracker

[issue43908] array.array should remain immutable

2021-04-22 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > Erland, could you turn your patch into PR? Certainly, but despite the issue title, this issue mentions all types that have been converted to heap types. Should we apply the new immutable flag to _all_ heap types in the stdlib? Guido: > I would

[issue43892] Make match patterns explicit in the AST

2021-04-22 Thread Nick Coghlan
Change by Nick Coghlan : -- keywords: +patch pull_requests: +24241 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25521 ___ Python tracker

[issue43910] cgi.parse_header does not handle escaping correctly

2021-04-22 Thread Mark Gordon
New submission from Mark Gordon : cgi.parse_header incorrectly handles unescaping of quoted-strings Note that you can find the related RFCs to how HTTP encodes the Content-Type header at https://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html and further discussion on how quoted-string is

[issue43862] warnings: -W option and PYTHONWARNINGS now use the message as a regex

2021-04-22 Thread STINNER Victor
STINNER Victor added the comment: I also created a thread on python-dev: https://mail.python.org/archives/list/python-...@python.org/thread/JMKLA4RUJLTORBPPTM4BWL76VNNMKYVG/ -- ___ Python tracker

[issue42333] Port ssl module to heap types and module state (PEP 573)

2021-04-22 Thread Christer Weinigel
Change by Christer Weinigel : -- nosy: +wingel71 nosy_count: 3.0 -> 4.0 pull_requests: +24239 pull_request: https://github.com/python/cpython/pull/25255 ___ Python tracker ___

[issue43669] PEP 644: Require OpenSSL 1.1.1 or newer

2021-04-22 Thread Christer Weinigel
Change by Christer Weinigel : -- nosy: +wingel71 nosy_count: 1.0 -> 2.0 pull_requests: +24240 pull_request: https://github.com/python/cpython/pull/25255 ___ Python tracker ___

[issue43908] array.array should remain immutable

2021-04-22 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43908] array.array should remain immutable

2021-04-22 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +24238 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25520 ___ Python tracker ___

[issue43817] Add inspect.get_annotations()

2021-04-22 Thread Eric V. Smith
Eric V. Smith added the comment: > To be honest, I've never been really sure if the idea of PEP 563 stringized > annotations are supposed to be a hidden implementation detail, or a > first-class concept that the user (and the standard library) is expected to > deal with. This is an

[issue25786] contextlib.ExitStack introduces a cycle in exception __context__

2021-04-22 Thread Irit Katriel
Irit Katriel added the comment: Looks like it was fixed in contextlib here: https://github.com/python/cpython/commit/ba2ecd68414b9c53d00560579f5bc13459bc0449 -- nosy: +iritkatriel resolution: -> fixed status: open -> pending ___ Python tracker

[issue43817] Add inspect.get_annotations()

2021-04-22 Thread Larry Hastings
Change by Larry Hastings : -- keywords: +patch pull_requests: +24242 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25522 ___ Python tracker

[issue43817] Add inspect.get_annotations()

2021-04-22 Thread Larry Hastings
Larry Hastings added the comment: I think it gets a little murkier when we talk about *annotations* vs *type hints*. Type hints have a defined meaning for a string: a string is a sort of forward declaration, and you eval() the string to get the real value. (Or, not, if you're comfortable

[issue43817] Add inspect.get_annotations()

2021-04-22 Thread Larry Hastings
Larry Hastings added the comment: PR is up, passes all checks. I think it's ready for the first round of reviews! -- ___ Python tracker ___

[issue43908] array.array should remain immutable

2021-04-22 Thread STINNER Victor
STINNER Victor added the comment: Guido: > Sorry for making this a deferred blocker. I recall that we had a brief > discussion somewhere about an accidental change to the array.array type -- > this is now a heap type (Py_TPFLAGS_HEAPTYPE is set), and as a consequence it > is no longer

[issue43817] Add inspect.get_annotations()

2021-04-22 Thread Eric V. Smith
Eric V. Smith added the comment: > p.s. assuming you meant PEP 563, not PEP 573. Yes. Someday I'll figure out this keyboard. -- ___ Python tracker ___

[issue43817] Add inspect.get_annotations()

2021-04-22 Thread Larry Hastings
Change by Larry Hastings : -- assignee: -> larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43511] tkinter with Tk 8.6.11 is slow on macOS

2021-04-22 Thread Aivar Annamaa
Aivar Annamaa added the comment: According to Tk people, the regression in performance was unavoidable and the solution is to avoid relying on update in a loop: https://core.tcl-lang.org/tk/tktview/f642d7c0f4 -- nosy: +Aivar.Annamaa ___ Python

[issue43908] array.array should remain immutable

2021-04-22 Thread STINNER Victor
STINNER Victor added the comment: Let me propose a flag name: Py_TPFLAGS_IMMUTABLE. Py_TPFLAGS_IMMUTABLE implies that setattr(type, name, value) fails. A type has a dictionary, but it cannot be modified with type.__dict__[name] = value, since type.__dict__ returns a read-only mapping proxy.

[issue38692] add a pidfd child process watcher

2021-04-22 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43908] array.array should remain immutable

2021-04-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is there a full list of types converted to heap types? There may be other issues related to differences between heap and static types. 1. Static type with tp_new = NULL does not have public constructor, but heap type inherits constructor from base class.

[issue43908] array.array should remain immutable

2021-04-22 Thread STINNER Victor
STINNER Victor added the comment: > Maybe name it Py_TPFLAGS_IMMUTABLETYPE? "TPFLAGS" stands for "type flags". So IMO adding "TYPE" suffix is redundant. If tomorrow, we want to add a flag for immutable instance, we can add a new Py_TPFLAGS_IMMUTABLE_INSTANCE flag. On the other side, TYPE

[issue43892] Make match patterns explicit in the AST

2021-04-22 Thread Nick Coghlan
Nick Coghlan added the comment: The draft PR moved because I messed up the previous branch name: https://github.com/ncoghlan/cpython/pull/9/files It's to the point where everything except symtable.c compiles. I put an initial skeleton of a validator in, but only enough to check that the

[issue43897] Implement support for validation of pattern matching ASTs

2021-04-22 Thread Nick Coghlan
Change by Nick Coghlan : -- priority: normal -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43897] Implement support for validation of pattern matching ASTs

2021-04-22 Thread Nick Coghlan
Change by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43912] http.client.BadStatusLine raised and response contains request

2021-04-22 Thread Andy Maier
New submission from Andy Maier : Hello, we have a nasty occurrence of BadStatusLine that shows the status line of the request(!!) in one of our projects. That exception is raised when checking a response and should check the response, not the request. Further debugging revealed that not

[issue43912] http.client.BadStatusLine raised and response contains request

2021-04-22 Thread Andy Maier
Andy Maier added the comment: I should have added that my local system is macOS, and that "up to 3.9" means I only tried up to 3.9. -- ___ Python tracker ___

[issue43908] array.array should remain immutable

2021-04-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Maybe name it Py_TPFLAGS_IMMUTABLETYPE? Just IMMUTABLE can mean that instances of the type are immutable, but we want to make a type itself immutable. -- nosy: +serhiy.storchaka ___ Python tracker

[issue38659] enum classes cause slow startup time

2021-04-22 Thread STINNER Victor
STINNER Victor added the comment: def setUp(self): # Reset the module-level test variables to their original integer # values, otherwise the already created enum values get converted # instead. Why not doing that in a tearDown() method instead? What if you run

[issue43475] Worst-case behaviour of hash collision with float NaN

2021-04-22 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, Raymond. I'll open something on the NumPy bug tracker, too, since they may want to consider doing something similar for numpy.float64 and friends. -- ___ Python tracker

[issue43804] Add more info about building C/C++ Extensions on Windows using MSVC

2021-04-22 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37578] Change Glob: Allow Recursion for Hidden Files

2021-04-22 Thread Petr Viktorin
Petr Viktorin added the comment: I wonder if it would be worth it to add a new option to include hidden files (except . and ..) For the record, setuptools' fork of glob does this unconditionally: https://github.com/pypa/setuptools/blob/main/setuptools/glob.py -- nosy: +petr.viktorin

[issue1697943] msgfmt cannot cope with BOM - improve error message

2021-04-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: not a bug -> title: msgfmt cannot cope with BOM -> msgfmt cannot cope with BOM - improve error message versions: +Python 3.11 -Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

[issue43475] Worst-case behaviour of hash collision with float NaN

2021-04-22 Thread Mark Dickinson
Mark Dickinson added the comment: Opened https://github.com/numpy/numpy/issues/18833 -- ___ Python tracker ___ ___

[issue25786] contextlib.ExitStack introduces a cycle in exception __context__

2021-04-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: fixed -> duplicate stage: -> resolved status: pending -> closed superseder: -> Hang with contextlib.ExitStack and subprocess.Popen (regression) ___ Python tracker

[issue43475] Worst-case behaviour of hash collision with float NaN

2021-04-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset a07da09ad5bd7d234ccd084a3a0933c290d1b592 by Raymond Hettinger in branch 'master': bpo-43475: Fix worst case collision behavior for NaN instances (GH-25493) https://github.com/python/cpython/commit/a07da09ad5bd7d234ccd084a3a0933c290d1b592

[issue43475] Worst-case behaviour of hash collision with float NaN

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

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

2021-04-22 Thread Zachary Ware
Change by Zachary Ware : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden stage: patch review -> needs patch title: Add more info about building C/C++ Extensions on Windows using MSVC -> "Building C and C++ Extensions on Windows" docs are very out-of-date versions:

[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 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 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)

[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 ___

[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
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

[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)

[issue43804] Add more info about building C/C++ Extensions on Windows using MSVC

2021-04-22 Thread Zachary Ware
Zachary Ware added the comment: Please have some patience. Constant requests for review or pings are frankly quite annoying. Everyone on this project is a volunteer, and as such things only get done when someone has the time and inclination to do them. If your issue/PR has sat idle for a

[issue43892] Make match patterns explicit in the AST

2021-04-22 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > | MatchStar(identifier? target) +1 on MatchStar(). Much more similiar to the existing node names, and also less semantically-named. > attributes (int lineno, int col_offset, int? end_lineno, int? > end_col_offset) I'm not really

[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

[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:

[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

[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

[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

[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:

[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

[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:

[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
Change by Pablo Galindo Salgado : -- nosy: +lys.nikolaou stage: patch review -> ___ Python tracker ___ ___ Python-bugs-list

[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:

[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 ___

[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 ___

[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 ___

[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

[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 ___

[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__"). --

[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

[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 ___

[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
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

[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

[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 ___

[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>=.

[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

[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:

[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

[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 ___

[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 ___

[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 ___

[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)

[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:

[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:

[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

[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 --

[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

[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

[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 : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +24263 pull_request: https://github.com/python/cpython/pull/25542 ___ Python tracker

[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 ___

[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 ___

[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 ___

[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

[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

[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 ___

  1   2   >