[issue47234] PEP-484 "numeric tower" approach makes it hard/impossible to specify contracts in documentation

2022-04-08 Thread Alex Waygood
Alex Waygood added the comment: Please try to make your messages more concise. -- ___ Python tracker <https://bugs.python.org/issue47234> ___ ___ Python-bug

[issue47250] New object.__getstate__() method introduced refleaks

2022-04-07 Thread Alex Waygood
Change by Alex Waygood : -- title: Add object.__getstate__() introduced refleaks -> New object.__getstate__() method introduced refleaks ___ Python tracker <https://bugs.python.org/issu

[issue47237] Inheritance from Protocol with property in dataclass makes them non-instantiatable

2022-04-06 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood, JelleZijlstra, eric.smith, gvanrossum, kj ___ Python tracker <https://bugs.python.org/issue47237> ___ ___ Pytho

[issue46134] Confusing error message for AttributeError with dataclasses

2022-04-05 Thread Alex Waygood
Alex Waygood added the comment: Closing due to lack of response from OP. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue47212] Minor issues in reported Syntax errors

2022-04-05 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue47050] Cannot install Python 3.10.3 on Windows

2022-04-05 Thread Alex Waygood
Alex Waygood added the comment: (My solution for now has been to install python on my other laptop. Thanks for the help Steve!) -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue47097] Document PEP 646

2022-04-04 Thread Alex Waygood
Alex Waygood added the comment: (Feel free to reopen this issue if there's more to be done, Matthew!) -- ___ Python tracker <https://bugs.python.org/issue47

[issue47097] Document PEP 646

2022-04-04 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue47213] Incorrect location of caret in SyntaxError

2022-04-04 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +pablogsal title: arrow at wrong place -> Incorrect location of caret in SyntaxError type: enhancement -> behavior ___ Python tracker <https://bugs.python.org/i

[issue47166] Dataclass transform should ignore TypeAlias variables

2022-03-31 Thread Alex Waygood
Alex Waygood added the comment: I think implementing this would add complexity to the code in dataclasses.py (though Eric's the expert!). For your use case, is it essential that the type alias declaration be inside the class scope? Would it be possible for you to simply have the alias

[issue46769] Improve documentation for `typing.TypeVar`

2022-03-23 Thread Alex Waygood
Alex Waygood added the comment: Thanks Guido for your insight, and Jelle/Łukasz for the reviews and backports! I'm on holiday right now, but when I'm back, I'll take a look at maybe proposing some minor revisions to PEP 484 as well, as Guido suggests

[issue47073] Solution for recursion error when comparing dataclass objects

2022-03-20 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +eric.smith ___ Python tracker <https://bugs.python.org/issue47073> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43463] typing.get_type_hints with TYPE_CHECKING imports / getting hints for single argument

2022-03-20 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood, JelleZijlstra ___ Python tracker <https://bugs.python.org/issue43463> ___ ___ Python-bugs-list mailing list Unsub

[issue47067] Add vectorcall for generica alias object

2022-03-20 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +JelleZijlstra, gvanrossum, kj ___ Python tracker <https://bugs.python.org/issue47067> ___ ___ Python-bugs-list mailin

[issue32927] Add typeshed documentation for unittest.TestCase._feedErrorsToResult and ._outcome

2022-03-20 Thread Alex Waygood
Alex Waygood added the comment: Typeshed maintainer here: I agree. Feel free to open an issue over at https://github.com/python/typeshed if this is still a problem! -- nosy: +AlexWaygood resolution: -> third party stage: -> resolved status: pending -&g

[issue433030] SRE: Atomic Grouping (?>...) is not supported

2022-03-19 Thread Alex Waygood
Change by Alex Waygood : -- versions: +Python 3.11 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue433030> ___ ___ Python-bugs-list mailin

[issue31552] IDLE: Convert browsers to use ttk.Treeview

2022-03-19 Thread Alex Waygood
Change by Alex Waygood : -- title: IDLE: Convert browswers to use ttk.Treeview -> IDLE: Convert browsers to use ttk.Treeview ___ Python tracker <https://bugs.python.org/issu

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-18 Thread Alex Waygood
Change by Alex Waygood : -- assignee: -> docs@python components: +Documentation nosy: +docs@python stage: patch review -> backport needed versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/i

[issue47050] Cannot install Python 3.10.3 on Windows

2022-03-17 Thread Alex Waygood
Alex Waygood added the comment: Hmm, well if I try running the 3.10.2 installer, it now presents me with an error message saying that "a newer version of Python 3.10 is already installed". -- ___ Python tracker <https://bugs.python.o

[issue47050] Cannot install Python 3.10.3 on Windows

2022-03-17 Thread Alex Waygood
Alex Waygood added the comment: > Looks like you may have "cleaned up" your package cache at some point, which > means you can't uninstall the old version anymore. Not knowingly! > Try getting the 3.10.2 installer and running it directly. Tha

[issue47050] Cannot install Python 3.10.3 on Windows

2022-03-17 Thread Alex Waygood
Alex Waygood added the comment: Attaching the log file from the installation. -- Added file: https://bugs.python.org/file50687/installer_log_file.txt ___ Python tracker <https://bugs.python.org/issue47

[issue47050] Cannot install Python 3.10.3 on Windows

2022-03-17 Thread Alex Waygood
New submission from Alex Waygood : I have tried several times now to upgrade to Python 3.10.3 using the 64-bit installer for Windows at https://www.python.org/downloads/release/python-3103/. Each time, I encounter an error message stating that "The feature you are trying t

[issue46769] Improve documentation for `typing.TypeVar`

2022-03-16 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: +30031 pull_request: https://github.com/python/cpython/pull/31941 ___ Python tracker <https://bugs.python.org/issue46

[issue47015] Update tests from asyncore to asyncio

2022-03-14 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +asvetlov, giampaolo.rodola, josiahcarlson, stutzbach, yselivanov ___ Python tracker <https://bugs.python.org/issue47

[issue43721] Documentation of property.{getter, setter, deleter} fails to mention that a *new* property is returned

2022-03-14 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue47016] Create a test verifying bundled pip and setuptools wheels

2022-03-14 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +ned.deily ___ Python tracker <https://bugs.python.org/issue47016> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47006] PEP 646: Decide on substitution behavior

2022-03-13 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker <https://bugs.python.org/issue47006> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46961] Caching/interning of small ints sometimes fails

2022-03-13 Thread Alex Waygood
Change by Alex Waygood : -- nosy: -AlexWaygood ___ Python tracker <https://bugs.python.org/issue46961> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46982] Error in the experts list

2022-03-11 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +Jelle Zijlstra ___ Python tracker <https://bugs.python.org/issue46982> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46198] Duplicate and unused code in tests

2022-03-10 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46198] Duplicate and unused code in tests

2022-03-10 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood nosy_count: 3.0 -> 4.0 pull_requests: +29902 pull_request: https://github.com/python/cpython/pull/31801 ___ Python tracker <https://bugs.python.org/issu

[issue46581] _typevar_types and _paramspec_tvars are missing from _GenericAlias.copy_with

2022-03-10 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +Jelle Zijlstra ___ Python tracker <https://bugs.python.org/issue46581> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43224] Add support for PEP 646

2022-03-10 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker <https://bugs.python.org/issue43224> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46581] _typevar_types and _paramspec_tvars are missing from _GenericAlias.copy_with

2022-03-10 Thread Alex Waygood
Change by Alex Waygood : -- stage: patch review -> backport needed ___ Python tracker <https://bugs.python.org/issue46581> ___ ___ Python-bugs-list mai

[issue46677] TypedDict docs are incomplete

2022-03-10 Thread Alex Waygood
Change by Alex Waygood : -- stage: patch review -> backport needed ___ Python tracker <https://bugs.python.org/issue46677> ___ ___ Python-bugs-list mai

[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-09 Thread Alex Waygood
Alex Waygood added the comment: I agree with Jelle — a valid protocol cannot inherit from a concrete type, and the whole point of NamedTuple is that it creates a tuple subclass (and tuple is obviously a concrete type). -- ___ Python tracker

[issue46967] Type union for except

2022-03-09 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood, Jelle Zijlstra, gvanrossum, iritkatriel ___ Python tracker <https://bugs.python.org/issue46967> ___ ___ Python-bug

[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-09 Thread Alex Waygood
Alex Waygood added the comment: +1 for the more minimal changeset proposed in PR 31781. I've never felt a need for NamedTuple multiple inheritance other than with Generic, so wouldn't be opposed to restricting it only to Generic. -- ___ Python

[issue46961] Caching/interning of small ints sometimes fails

2022-03-08 Thread Alex Waygood
Alex Waygood added the comment: I think this might be a duplicate of Issue46361? -- nosy: +AlexWaygood ___ Python tracker <https://bugs.python.org/issue46

[issue45680] Documentation on `GenericAlias` objects and `__class_getitem__` could be improved

2022-03-07 Thread Alex Waygood
Alex Waygood added the comment: Thanks so much to Ken, Łukasz, Jelle, Guido, and everybody else who helped review these PRs! -- ___ Python tracker <https://bugs.python.org/issue45

[issue46769] Improve documentation for `typing.TypeVar`

2022-03-06 Thread Alex Waygood
Change by Alex Waygood : -- keywords: +patch pull_requests: +29830 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31712 ___ Python tracker <https://bugs.python.org/issu

[issue46938] dataclass __post_init__ recursion

2022-03-06 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +eric.smith ___ Python tracker <https://bugs.python.org/issue46938> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-05 Thread Alex Waygood
Alex Waygood added the comment: I sense we'll have to agree to disagree on the usefulness of NamedTuples in the age of dataclasses :) For me, I find the simplicity of the underlying idea behind namedtuples — "tuples with some properties bolted on" — very attractive. Yes, stand

[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-05 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +graingert ___ Python tracker <https://bugs.python.org/issue43923> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-05 Thread Alex Waygood
Alex Waygood added the comment: Consider the typeshed stub for `concurrent.futures.DoneAndNotDoneFutures`. At runtime this is a `collections.namedtuple`, but in the stub, we need it to be generic to allow precise type inference. But we can't have a generic NamedTuple, so the stub

[issue46930] Iterating over cls.__dict__ in classmethod causes RuntimeError when printing __annotations__

2022-03-05 Thread Alex Waygood
Change by Alex Waygood : -- type: crash -> behavior versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue46930> ___ ___ Python-bugs-list mai

[issue46927] Improve error message for subscripting non-generic types

2022-03-05 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +Jelle Zijlstra ___ Python tracker <https://bugs.python.org/issue46927> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44863] Allow TypedDict to inherit from Generics

2022-03-05 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +Jelle Zijlstra, sobolevn ___ Python tracker <https://bugs.python.org/issue44863> ___ ___ Python-bugs-list mailing list Unsub

[issue44863] Allow TypedDict to inherit from Generics

2022-03-05 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker <https://bugs.python.org/issue44863> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-05 Thread Alex Waygood
Alex Waygood added the comment: > Is there an actual use case that broke? No, because this was never usable in the first place. But there are those who wish it were usable :) -- ___ Python tracker <https://bugs.python.org/issu

[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-05 Thread Alex Waygood
Alex Waygood added the comment: I actually have quite a few use cases for this feature. It's true that type checkers don't (yet) support it, but that doesn't mean that it should be disallowed at runtime. In fact, allowing it at runtime will surely give type checkers room to experiment

[issue45100] Improve help() by making typing.overload() information accessible at runtime

2022-03-05 Thread Alex Waygood
Alex Waygood added the comment: The latest plan sounds good to me. I have some Thoughts on the proposed API, but it will be easier to express those as part of a PR review. Looking forward to seeing the PR! -- ___ Python tracker <ht

[issue19217] Calling assertEquals for moderately long list takes too long

2022-03-04 Thread Alex Waygood
Change by Alex Waygood : -- keywords: -easy ___ Python tracker <https://bugs.python.org/issue19217> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-04 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +Jelle Zijlstra, gvanrossum, kj, sobolevn ___ Python tracker <https://bugs.python.org/issue43923> ___ ___ Python-bugs-list m

[issue46902] Typo hint message for from-imports?

2022-03-02 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +pablogsal versions: -Python 3.10 ___ Python tracker <https://bugs.python.org/issue46902> ___ ___ Python-bugs-list mailin

[issue46876] Walrus operator not in help

2022-03-01 Thread Alex Waygood
Change by Alex Waygood : -- status: open -> closed ___ Python tracker <https://bugs.python.org/issue46876> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue46876] Walrus operator not in help

2022-03-01 Thread Alex Waygood
Change by Alex Waygood : -- status: pending -> open superseder: -> Assignment expression symbol (walrus) not in built-in help() ___ Python tracker <https://bugs.python.org/i

[issue46876] Walrus operator not in help

2022-03-01 Thread Alex Waygood
Alex Waygood added the comment: Thanks for the report! I think this is a duplicate of Issue37082. -- nosy: +AlexWaygood resolution: -> duplicate stage: needs patch -> resolved status: open -> pending ___ Python tracker <https://bug

[issue38854] Decorator with paren tokens in arguments breaks inspect.getsource

2022-02-28 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker <https://bugs.python.org/issue38854> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38854] Decorator with paren tokens in arguments breaks inspect.getsource

2022-02-28 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +yselivanov versions: -Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue38854> ___ ___ Python-bug

[issue21761] [doc] language reference describes the role of module.__file__ inaccurately

2022-02-27 Thread Alex Waygood
Alex Waygood added the comment: Hi Vidhya — @slateny submitted a PR for this issue only two days ago (you can see that it's linked to this BPO issue in the "Pull Requests" field). I think it would be good to wait until that has been reviewed before doing any work on a p

[issue46873] inspect.getsource with some lambdas in decorators does not get the full source

2022-02-27 Thread Alex Waygood
Change by Alex Waygood : -- type: -> behavior versions: -Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue46873> ___ ___ Python-

[issue46873] inspect.getsource with some lambdas in decorators does not get the full source

2022-02-27 Thread Alex Waygood
Alex Waygood added the comment: I'm removing 3.7 and 3.8 from the "versions" field, since they're currently only accepting patches for security-related bugs. But thanks for testing on those versions as well — that's useful information! -- components: +Library (Lib) nosy: +A

[issue46851] Document multiprocessing.set_forkserver_preload

2022-02-24 Thread Alex Waygood
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

[issue46851] Document multiprocessing.set_forkserver_preload

2022-02-24 Thread Alex Waygood
Change by Alex Waygood : -- nosy: -AlexWaygood ___ Python tracker <https://bugs.python.org/issue46851> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46846] functools.partial objects should set __signature__ and _annotations__

2022-02-24 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker <https://bugs.python.org/issue46846> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46847] functools.update_wrapper doesn't understand partial objects and annotations

2022-02-24 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood, Jelle Zijlstra, sobolevn ___ Python tracker <https://bugs.python.org/issue46847> ___ ___ Python-bugs-list mailin

[issue45100] Improve help() by making typing.overload() information accessible at runtime

2022-02-22 Thread Alex Waygood
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 using typing.overload

[issue45100] Improve help() by making typing.overload() information accessible at runtime

2022-02-22 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +sobolevn ___ Python tracker <https://bugs.python.org/issue45100> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46814] Documentation for constructing abstract base classes is misleading

2022-02-21 Thread Alex Waygood
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

[issue46821] Introspection support for typing.overload

2022-02-21 Thread Alex Waygood
Alex Waygood added the comment: Discussion of similar ideas in Issue45100 -- ___ Python tracker <https://bugs.python.org/issue46821> ___ ___ Python-bugs-list m

[issue46807] Wrong class __annotations__ when field name and type are equal

2022-02-20 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +Jelle Zijlstra ___ Python tracker <https://bugs.python.org/issue46807> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46807] Wrong class __annotations__ when field name and type are equal

2022-02-20 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood, larry ___ Python tracker <https://bugs.python.org/issue46807> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46754] Improve Python Language Reference based on [Köhl 2020]

2022-02-18 Thread Alex Waygood
Change by Alex Waygood : -- keywords: -patch nosy: -AlexWaygood stage: patch review -> ___ Python tracker <https://bugs.python.org/issue46754> ___ ___ Py

[issue46754] Improve Python Language Reference based on [Köhl 2020]

2022-02-18 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: -29560 ___ Python tracker <https://bugs.python.org/issue46754> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46754] Improve Python Language Reference based on [Köhl 2020]

2022-02-18 Thread Alex Waygood
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

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

2022-02-17 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +jaraco ___ Python tracker <https://bugs.python.org/issue46774> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46769] Improve documentation for `typing.TypeVar`

2022-02-16 Thread Alex Waygood
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", s

[issue46764] Wrapping a bound method with a @classmethod no longer works

2022-02-15 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +rhettinger type: -> behavior ___ Python tracker <https://bugs.python.org/issue46764> ___ ___ Python-bugs-list mai

[issue46741] Docstring for asyncio.protocols.BufferedProtocol appears out of date

2022-02-14 Thread Alex Waygood
Alex Waygood added the comment: Thanks, Andrew! I've submitted a patch. -- ___ Python tracker <https://bugs.python.org/issue46741> ___ ___ Python-bugs-list m

[issue46741] Docstring for asyncio.protocols.BufferedProtocol appears out of date

2022-02-14 Thread Alex Waygood
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

[issue46745] Typo in new PositionsIterator

2022-02-14 Thread Alex Waygood
Change by Alex Waygood : -- keywords: +patch stage: -> patch review type: -> behavior ___ Python tracker <https://bugs.python.org/issue46745> ___ ___ Pyth

[issue46747] bisect.bisect/insort don't document key parameter

2022-02-14 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +rhettinger type: -> behavior ___ Python tracker <https://bugs.python.org/issue46747> ___ ___ Python-bugs-list mai

[issue46743] Enable usage of object.__orig_class__ in __init__

2022-02-13 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker <https://bugs.python.org/issue46743> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46741] Docstring for asyncio.protocols.BufferedProtocol appears out of date

2022-02-13 Thread Alex Waygood
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 remove

[issue46739] dataclasses __eq__ isn't logical

2022-02-13 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +eric.smith ___ Python tracker <https://bugs.python.org/issue46739> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46733] pathlib.Path methods can raise NotImplementedError

2022-02-12 Thread Alex Waygood
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

[issue46733] pathlib.Path methods can raise NotImplementedError

2022-02-12 Thread Alex Waygood
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. It seems

[issue46733] pathlib.Path methods can raise NotImplementedError

2022-02-12 Thread Alex Waygood
Change by Alex Waygood : -- keywords: -patch stage: patch review -> ___ Python tracker <https://bugs.python.org/issue46733> ___ ___ Python-bugs-list mai

[issue46733] pathlib.Path methods can raise NotImplementedError

2022-02-12 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: -29461 ___ Python tracker <https://bugs.python.org/issue46733> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46483] `pathlib.PurePath.__class_getitem__` does not return `GenericAlias`

2022-02-11 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: +29441 pull_request: https://github.com/python/cpython/pull/31281 ___ Python tracker <https://bugs.python.org/issue46

[issue46718] Feature: itertools: add batches

2022-02-11 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +rhettinger, tim.peters title: Feature: iptertools: add batches -> Feature: itertools: add batches ___ Python tracker <https://bugs.python.org/issu

[issue46713] Provide a C implementation of collections.abc.KeysView and friends

2022-02-10 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +rhettinger type: -> performance versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue46713> ___ ___ Py

[issue46066] Deprecate keyword args syntax for TypedDict definition

2022-02-10 Thread Alex Waygood
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

[issue46066] Deprecate keyword args syntax for TypedDict definition

2022-02-10 Thread Alex Waygood
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 reactions

[issue46622] Support decorating a coroutine with functools.cached_property

2022-02-09 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +asvetlov, rhettinger, yselivanov ___ Python tracker <https://bugs.python.org/issue46622> ___ ___ Python-bugs-list mailin

[issue46333] ForwardRef.__eq__ does not respect module parameter

2022-02-09 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +Jelle Zijlstra, sobolevn ___ Python tracker <https://bugs.python.org/issue46333> ___ ___ Python-bugs-list mailing list Unsub

[issue46066] Deprecate keyword args syntax for TypedDict definition

2022-02-08 Thread Alex Waygood
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

[issue46665] IDLE Windows shortcuts by default

2022-02-07 Thread Alex Waygood
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

[issue46637] Incorrect error message: "missing 1 required positional argument"

2022-02-04 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker <https://bugs.python.org/issue46637> ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   3   4   5   >