Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46359>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue46358>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46345>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
components: +Tests -Library (Lib)
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46345>
___
___
Python-
Change by Alex Waygood :
--
nosy: +asvetlov, yselivanov
stage: -> needs patch
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46341>
___
__
Change by Alex Waygood :
--
components: +Documentation -Interpreter Core
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46363>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Alex Waygood :
--
title: Two typos in verions 3.7 document translation of zh_CN -> Two typos in
versions 3.7 document translation of zh_CN
___
Python tracker
<https://bugs.python.org/issu
Change by Alex Waygood :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46279>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +AlexWaygood, sobolevn
___
Python tracker
<https://bugs.python.org/issue46369>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +sobolevn
___
Python tracker
<https://bugs.python.org/issue46371>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
(I'm removing 3.6 and 3.7 from the "versions" field, since those two branches
are now only accepting patches if it relates to security.)
--
nosy: +AlexWaygood, rhettinger
versions: -Python
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Alex Waygood added the comment:
@terry, have you had a chance to glance at my PR at all? I'd really appreciate
your review! :)
--
___
Python tracker
<https://bugs.python.org/is
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46386>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue46387>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46382>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46396>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Waygood :
Issue40890 added a new `.mapping` attribute to dict_keys, dict_values and
dict_items in 3.10. This addition is great for introspection. However, it has
inadvertently caused some unexpected problems for type-checkers.
Prior to Issue40890, the typeshed stub
Alex Waygood added the comment:
As a fix, I propose that two changes be made to `dict_keys`, `dict_values` and
`dict_items`:
* They should be officially exposed in the `types` module.
* `__class_getitem__` should be added to the classes.
These two changes would mean that users would be able
Alex Waygood added the comment:
Thanks, Kumar — I appreciate it!
> (Though since this can only work for 3.11+, maybe typeshed could also be
> adjusted? For that you’d have to file a bug there.)
Yes — it's unfortunate, but I have some ideas for hacky workarounds we can
implement
Alex Waygood added the comment:
Do these changes warrant an entry in "What's New in 3.11"?
--
___
Python tracker
<https://bugs.python.org/issue46399>
___
_
Change by Alex Waygood :
--
nosy: +hynek
___
Python tracker
<https://bugs.python.org/issue46382>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
I agree with Inada that not every internal type should be exposed, but I would
make an exception for the dict views classes due to the fact that dict
subclasses are much more common than subclasses of other mappings, such as
OrderedDict. I don't think
Alex Waygood added the comment:
Wait... there's still PR 29479 open!
But that can wait a little while -- getting PR 29335 over the line is
definitely worth celebrating!!
--
___
Python tracker
<https://bugs.python.org/is
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Alex Waygood added the comment:
I have also been persuaded that my suggested solution is not the way to go.
Thanks everybody for the useful discussion.
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Alex Waygood :
--
nosy: +Jelle Zijlstra
___
Python tracker
<https://bugs.python.org/issue45524>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
Thanks for the PRs, Kumar — I appreciate you putting in the time. Sorry for the
wasted effort.
--
resolution: -> not a bug
stage: patch review -> resolved
status: open -> closed
___
Python tracke
Alex Waygood added the comment:
I also agree that documenting this is a great idea. It's already been adopted
by large swathes of the typing community for use in this context. The value of
having NoReturn act as a "bottom type" is evident. Time to make it official,
Alex Waygood added the comment:
It looks like __class_getitem__ was added to PurePath at @asvetlov's request
in PR 17498. But, I'm also not quite sure why. The class is not generic in
typeshed, so type-checkers will raise an error if you do PurePath[str], even if
it is possible t
Alex Waygood added the comment:
Sounds like a great idea. I like the idea of putting it in the "Relevant PEPs"
section, as that section already details how the typing module has evolved over
the past few major versions of Python.
--
Alex Waygood added the comment:
> Sorry, I was too excited when PR 29335 merged and missed that. In the future,
> please re-open if you feel I closed an issue wrongly. Thanks!
No worries — will do!
--
___
Python tracker
<https://bugs.p
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue41370>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +sobolevn
___
Python tracker
<https://bugs.python.org/issue41370>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood, sobolevn
___
Python tracker
<https://bugs.python.org/issue46534>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +AlexWaygood, sobolevn
___
Python tracker
<https://bugs.python.org/issue46539>
___
___
Python-bugs-list mailing list
Unsub
Alex Waygood added the comment:
I agree with Jelle and Guido
--
___
Python tracker
<https://bugs.python.org/issue46552>
___
___
Python-bugs-list mailin
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue44791>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +sobolevn
___
Python tracker
<https://bugs.python.org/issue44791>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
stage: -> needs patch
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/i
Alex Waygood added the comment:
+1 for the proposed PR. Loop variables leaking into the global namespace
creates an extra burden for typeshed when we have to wade through a long list
of objects that our tests report are present at runtime but not in the typeshed
stubs. It's not the e
Alex Waygood added the comment:
I agree that the typeshed issue is less important than the output of dir() and
help(). I also agree that we shouldn't make a fetish of typing.
However, I see the typeshed issue less as an issue specific to typing, and more
as an example that illustra
Change by Alex Waygood :
--
assignee: docs@python -> ethan.furman
nosy: +ethan.furman
stage: -> needs patch
type: -> behavior
___
Python tracker
<https://bugs.python.or
Alex Waygood added the comment:
...Option 3). Deprecate @no_type_check?
Maybe we should gather some stats on how many people are using @no_type_check?
My feeling is that it's never achieved widespread adoption, so maybe it's just
not that useful a thing to have in the stdlib.
A
Change by Alex Waygood :
--
nosy: +gvanrossum, kj -miss-islington
stage: patch review ->
type: -> behavior
___
Python tracker
<https://bugs.python.org/i
Change by Alex Waygood :
--
pull_requests: -29201
___
Python tracker
<https://bugs.python.org/issue46581>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
keywords: -patch
___
Python tracker
<https://bugs.python.org/issue46581>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
The desmper121 user appears to be a spammer; I am undoing all the changes they
made to this BPO ticket.
--
nosy: -barry, lys.nikolaou, pablogsal, r.david.murray, yselivanov
type: -> behavior
versions: -Python 3
Alex Waygood added the comment:
I fully withdraw my suggestion of deprecating the decorator; it's evidently
used more than I realised. I don't have any strong opinion on whether (1) or
(2) would be a better solution.
--
___
Python track
Change by Alex Waygood :
--
assignee: docs@python -> ethan.furman
nosy: +ethan.furman
stage: -> needs patch
type: -> behavior
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
assignee: -> docs@python
components: +Documentation
keywords: +patch
nosy: +Jelle Zijlstra, docs@python, gvanrossum, kj
stage: -> patch review
___
Python tracker
<https://bugs.python.org/i
Change by Alex Waygood :
--
nosy: +belopolsky, p-ganssle
___
Python tracker
<https://bugs.python.org/issue46592>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +AlexWaygood, sobolevn
___
Python tracker
<https://bugs.python.org/issue44796>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +AlexWaygood, Jelle Zijlstra, sobolevn
___
Python tracker
<https://bugs.python.org/issue46066>
___
___
Python-bugs-list mailin
Change by Alex Waygood :
--
stage: patch review -> backport needed
___
Python tracker
<https://bugs.python.org/issue46433>
___
___
Python-bugs-list mai
Alex Waygood added the comment:
`enum.property` is new in Python 3.11, so this isn't an issue for 3.9 or 3.10.
--
nosy: +AlexWaygood
versions: -Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/is
Alex Waygood added the comment:
:func:`~enum.property` means that the visible text on the webpage will be
"property", but the link will be to enum.property rather than builtins.property.
--
___
Python tracker
<https://bugs.python.o
Alex Waygood added the comment:
The ~ always only uses the final part of the name for the display text, e.g.
`~collections.abc.Iterator` would have "Iterator" as the visible text on the
website.
--
___
Python tracker
<https://bu
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46637>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
As a longtime Windows user, I also generally expect ctrl+Y to redo an action in
most programs, FWIW.
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46
Change by Alex Waygood :
--
assignee: docs@python ->
components: +Library (Lib) -Documentation
nosy: -docs@python
title: Remove keyword args syntax for TypedDict definition -> Deprecate keyword
args syntax for TypedDict definition
type: -> behavior
versions: +Python 3.1
Change by Alex Waygood :
--
nosy: +Jelle Zijlstra, sobolevn
___
Python tracker
<https://bugs.python.org/issue46333>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +asvetlov, rhettinger, yselivanov
___
Python tracker
<https://bugs.python.org/issue46622>
___
___
Python-bugs-list mailin
Alex Waygood added the comment:
Just so that all the discussion related to this issue can be found in one
place, here's a summary:
- After opening this ticket, OP opened an issue in the python/typing
repository, where the idea of deprecating this syntax received many thumbs-up
reac
Alex Waygood added the comment:
@Guido, OP already has — Jelle and I have both reviewed and approved it :)
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Alex Waygood :
--
nosy: +rhettinger
type: -> performance
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issue46713>
___
___
Py
Change by Alex Waygood :
--
nosy: +rhettinger, tim.peters
title: Feature: iptertools: add batches -> Feature: itertools: add batches
___
Python tracker
<https://bugs.python.org/issu
Change by Alex Waygood :
--
pull_requests: +29441
pull_request: https://github.com/python/cpython/pull/31281
___
Python tracker
<https://bugs.python.org/issue46
Change by Alex Waygood :
--
pull_requests: -29461
___
Python tracker
<https://bugs.python.org/issue46733>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
keywords: -patch
stage: patch review ->
___
Python tracker
<https://bugs.python.org/issue46733>
___
___
Python-bugs-list mai
Alex Waygood added the comment:
Here's my two cents, as a non-expert when it comes to pathlib:
I'm not really sure why `is_mount()` exists on WindowsPath objects, given that
it unconditionally raises `NotImplementedError` on WindowsPath objects -- that
seems *very* strange to me
Alex Waygood added the comment:
I suppose it might also be worth considering moving `owner()` and `group()` to
PosixPath. In practice, these unconditionally raise NotImplementedError on
Windows, since the pwd and grp modules are not available on Windows. So, in an
ideal world, they probably
Change by Alex Waygood :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue46739>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Waygood :
The docstring for asyncio.protocols.BufferedProtocol includes this paragraph:
"""
Important: this has been added to asyncio in Python 3.7
*on a provisional basis*! Consider it as an experimental API that
might be changed or removed in Pytho
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46743>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +rhettinger
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46747>
___
___
Python-bugs-list mai
Change by Alex Waygood :
--
keywords: +patch
stage: -> patch review
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46745>
___
___
Pyth
Change by Alex Waygood :
--
keywords: +patch
pull_requests: +29483
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31327
___
Python tracker
<https://bugs.python.org/issu
Alex Waygood added the comment:
Thanks, Andrew! I've submitted a patch.
--
___
Python tracker
<https://bugs.python.org/issue46741>
___
___
Python-bugs-l
Change by Alex Waygood :
--
nosy: +rhettinger
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46764>
___
___
Python-bugs-list mai
New submission from Alex Waygood :
There are three variants of `TypeVar`s:
(1) TypeVars that are neither constrained nor bound: `T = TypeVar("T")`
(2) TypeVars that are bound: `U = TypeVar("U", bound=str)`
(3) TypeVars that are constrained: `V = TypeVar("V", str,
Change by Alex Waygood :
--
nosy: +jaraco
___
Python tracker
<https://bugs.python.org/issue46774>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
keywords: +patch
nosy: +AlexWaygood
nosy_count: 1.0 -> 2.0
pull_requests: +29560
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29479
___
Python tracker
<https://bugs.python.org/i
Change by Alex Waygood :
--
pull_requests: -29560
___
Python tracker
<https://bugs.python.org/issue46754>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
keywords: -patch
nosy: -AlexWaygood
stage: patch review ->
___
Python tracker
<https://bugs.python.org/issue46754>
___
___
Py
Change by Alex Waygood :
--
nosy: +AlexWaygood, larry
___
Python tracker
<https://bugs.python.org/issue46807>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +Jelle Zijlstra
___
Python tracker
<https://bugs.python.org/issue46807>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
Discussion of similar ideas in Issue45100
--
___
Python tracker
<https://bugs.python.org/issue46821>
___
___
Python-bugs-list m
Change by Alex Waygood :
--
title: Documentation for constructin abstract base classes is misleading ->
Documentation for constructing abstract base classes is misleading
___
Python tracker
<https://bugs.python.org/issu
Change by Alex Waygood :
--
nosy: +sobolevn
___
Python tracker
<https://bugs.python.org/issue45100>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
I'd dearly like better introspection tools for functions decorated with
@overload, but I'd rather have a solution where:
- inspect.signature doesn't have to import typing. That doesn't feel worth it
for users who aren't u
Change by Alex Waygood :
--
nosy: +AlexWaygood, Jelle Zijlstra, sobolevn
___
Python tracker
<https://bugs.python.org/issue46847>
___
___
Python-bugs-list mailin
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46846>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
(3.7 and 3.8 are not accepting patches unless they relate to security issues,
so I am removing them from the "versions" field.)
--
nosy: +AlexWaygood
versions: -Python 3.7, Python 3.8
___
Python track
101 - 200 of 420 matches
Mail list logo