[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

[issue46159] Segfault when using trace functions in 3.11a3

2022-02-07 Thread Alex Gaynor
Alex Gaynor added the comment: It seems to no longer be crashing with alpha5. Hopefully it's actually fixed and not merely having a more subtle failure mode. -- ___ Python tracker <https://bugs.python.org/issue46

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

[issue46586] In documentation contents enum.property erroneously links to built-in property

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

[issue46586] In documentation contents enum.property erroneously links to built-in property

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

[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-02-04 Thread Alex Waygood
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/issue46

[issue46433] _PyType_GetModuleByDef optimization is incorrect

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

[issue46066] Remove keyword args syntax for TypedDict definition

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

[issue44796] Add __parameters__ and __getitem__ in TypeVar and ParamSpec

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

[issue46592] Undocumented behavior in strptime for ISO week dates

2022-01-31 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue46592> ___ ___ Python-bugs-list mailing list Unsub

[issue46589] Improve documentation for typing._GenericAlias

2022-01-30 Thread Alex Waygood
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

[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-01-30 Thread Alex Waygood
Change by Alex Waygood : -- assignee: docs@python -> ethan.furman nosy: +ethan.furman stage: -> needs patch type: -> behavior ___ Python tracker <https://bugs.python.or

[issue46571] Strange `@typing.no_type_check` behavior for class variables

2022-01-30 Thread Alex Waygood
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 tracker <ht

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

2022-01-30 Thread Alex Waygood
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

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

2022-01-30 Thread Alex Waygood
Change by Alex Waygood : -- keywords: -patch ___ Python tracker <https://bugs.python.org/issue46581> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2022-01-30 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: -29201 ___ Python tracker <https://bugs.python.org/issue46581> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2022-01-30 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +gvanrossum, kj -miss-islington stage: patch review -> type: -> behavior ___ Python tracker <https://bugs.python.org/i

[issue46571] Strange `@typing.no_type_check` behavior for class variables

2022-01-29 Thread Alex Waygood
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. Anyway

[issue46569] final note on StrEnum documentation incorrectly refers to int.__format__ instead of str.__format__

2022-01-29 Thread Alex Waygood
Change by Alex Waygood : -- assignee: docs@python -> ethan.furman nosy: +ethan.furman stage: -> needs patch type: -> behavior ___ Python tracker <https://bugs.python.or

[issue46565] Delete module-level loop variables when no longer needed

2022-01-29 Thread Alex Waygood
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 illustrates

[issue46565] Multiple modules leak `for` loop variables into module's namespace

2022-01-28 Thread Alex Waygood
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 end

[issue46560] ParamSpec: Typo in doc string

2022-01-28 Thread Alex Waygood
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

[issue46539] typing: forward references don't understand special type forms

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

[issue44791] Substitution of ParamSpec in Concatenate

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

[issue44791] Substitution of ParamSpec in Concatenate

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

[issue46552] typing: get_type_hints can't handle stringified annotations with leading spaces

2022-01-27 Thread Alex Waygood
Alex Waygood added the comment: I agree with Jelle and Guido -- ___ Python tracker <https://bugs.python.org/issue46552> ___ ___ Python-bugs-list mailin

[issue46539] typing: forward references don't understand special type forms

2022-01-26 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood, sobolevn ___ Python tracker <https://bugs.python.org/issue46539> ___ ___ Python-bugs-list mailing list Unsub

[issue46534] Implementing PEP 673 (Self type)

2022-01-26 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood, sobolevn ___ Python tracker <https://bugs.python.org/issue46534> ___ ___ Python-bugs-list mailing list Unsub

[issue45382] platform() is not able to detect windows 11

2022-01-26 Thread Alex Zaslavskis
Alex Zaslavskis added the comment: The quick research on web gived me that C/C++ developers will just get the build version and compare it with predefined list. See more there: https://docs.microsoft.com/answers/questions/672988/c-detect-windows-build.html

[issue45382] platform() is not able to detect windows 11

2022-01-26 Thread Alex Zaslavskis
Alex Zaslavskis added the comment: The quick research on web gived me that C/C++ developers will just get the build version and compare it with predefined list. See more there: https://docs.microsoft.com/answers/questions/672988/c-detect-windows-build.html ср, 26 янв. 2022 г., 05:05 Eryk Sun

[issue41370] PEP 585 and ForwardRef

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

[issue41370] PEP 585 and ForwardRef

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

[issue45382] platform() is not able to detect windows 11

2022-01-25 Thread Alex Zaslavskis
Alex Zaslavskis added the comment: Thanks guys. Microsoft is always pain for us. Bit wmic seems nice solution. Is still working for windows lower than 11? -- ___ Python tracker <https://bugs.python.org/issue45

[issue42982] Update suggested number of iterations for pbkdf2_hmac()

2022-01-25 Thread Alex Gaynor
Alex Gaynor added the comment: Sticking with 100k is not scientific though ;-) Empiricism is science! I'm probably the person responsible for Django's process, which is to increase by some % (10% or 20% IIRC) every release. As you point out, the exact value one should use is a function

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

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

[issue46494] Mention typing_extensions in the typing documentation

2022-01-23 Thread Alex Waygood
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. --

[issue38472] GCC detection in setup.py is broken

2022-01-23 Thread Alex Grund
Alex Grund added the comment: Yes this is still an issue. I'm trying to compile Python on an HPC system which uses modules (see e.g. LMod). Yes with LC_ALL=C it does write "gcc version 9.1.0 ..." -- status: pending -> open ___ P

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

2022-01-23 Thread Alex Waygood
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 to do so

[issue46475] Document use of NoReturn as a bottom type

2022-01-22 Thread Alex Waygood
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, in

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-22 Thread Alex Waygood
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

[issue45524] Cross-module dataclass inheritance breaks get_type_hints

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

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

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

[issue46437] Non-required `hasattr` checks in `test_typing`

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

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

2022-01-19 Thread Alex Waygood
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/issue45

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-19 Thread Alex Waygood
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 it's

[issue46382] dataclass(slots=True) does not account for slots in base classes

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

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-17 Thread Alex Waygood
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> ___ __

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-17 Thread Alex Waygood
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 in ty

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-16 Thread Alex Waygood
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

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-16 Thread Alex Waygood
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

[issue46396] Invalid usage of `Concatenate` is not covered at all

2022-01-16 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +gvanrossum, kj ___ Python tracker <https://bugs.python.org/issue46396> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46382] dataclass(slots=True) does not account for slots in base classes

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

[issue46387] `test_field_descriptor` in `test_collections` should test all pickle protocols

2022-01-15 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue46387> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46386] Improve `test_typing::test_immutability_by_copy_and_pickle`

2022-01-15 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +gvanrossum, kj ___ Python tracker <https://bugs.python.org/issue46386> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45447] IDLE: Support syntax highlighting for .pyi stub files

2022-01-15 Thread Alex Waygood
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/issue45

[issue46242] Improve error message when attempting to extend an enum with `__call__`

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

[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Alex Waygood
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 3.7,

[issue46371] A better way to resolve ForwardRefs in type aliases across modules

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

[issue46369] get_type_hints does not evaluate ForwardRefs inside NewType

2022-01-13 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood, sobolevn ___ Python tracker <https://bugs.python.org/issue46369> ___ ___ Python-bugs-list mailing list Unsub

[issue46358] Modernize `test_asyncio/test_base_events.py`

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

[issue46279] [docs] Minor information-ordering issue in __main__ doc

2022-01-13 Thread Alex Waygood
Change by Alex Waygood : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue46279> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue46363] Two typos in versions 3.7 document translation of zh_CN

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

[issue46363] Two typos in verions 3.7 document translation of zh_CN

2022-01-13 Thread Alex Waygood
Change by Alex Waygood : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue46363> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue46307] string.Template should allow inspection of identifiers

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

[issue45331] Can create enum of ranges, cannot create range enum. Range should be subclassable... or EnumMeta.__new__ should be smarter.

2022-01-12 Thread Alex Waygood
Change by Alex Waygood : -- components: +Documentation -Interpreter Core resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46341] duplicate paragraphs - asyncio Coroutines and Tasks file

2022-01-12 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +asvetlov, yselivanov stage: -> needs patch type: -> behavior ___ Python tracker <https://bugs.python.org/issue46341> ___ __

[issue46345] Add an explicit test for `get_type_hints` for a class field with `None` default

2022-01-12 Thread Alex Waygood
Change by Alex Waygood : -- components: +Tests -Library (Lib) type: -> behavior ___ Python tracker <https://bugs.python.org/issue46345> ___ ___ Python-

[issue46345] Add an explicit test for `get_type_hints` for a class field with `None` default

2022-01-12 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +gvanrossum, kj ___ Python tracker <https://bugs.python.org/issue46345> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46348] Modernize `test_typing`

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

[issue46358] Modernize `test_asyncio/test_base_events.py`

2022-01-12 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +asvetlov, yselivanov ___ Python tracker <https://bugs.python.org/issue46358> ___ ___ Python-bugs-list mailing list Unsub

[issue46359] Continue to modernize `test_typing.py`

2022-01-12 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +gvanrossum, kj ___ Python tracker <https://bugs.python.org/issue46359> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46342] Make @final introspectable at runtime

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

[issue46354] AttributeError: module 'collections' has no attribute 'Mapping'

2022-01-12 Thread Alex Waygood
New submission from Alex Waygood : Hi -- thanks for the report! You haven't given us many details here, but I think this is intentional behaviour, not a bug -- this was changed in Issue37324. Importing `Mapping` (along with many other names) directly from `collections`, instead of from

[issue46348] Modernize `test_typing`

2022-01-11 Thread Alex Waygood
Alex Waygood added the comment: Heh, no worries! -- ___ Python tracker <https://bugs.python.org/issue46348> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46348] Modernize `test_typing`

2022-01-11 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood, gvanrossum, kj title: Morernize `test_typing` -> Modernize `test_typing` type: -> behavior ___ Python tracker <https://bugs.python.org/i

[issue46309] Task created by StreamReaderProtocol gets garbage collected.

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

[issue46309] Task created by StreamReaderProtocol gets garbage collected.

2022-01-11 Thread Alex Waygood
Alex Waygood added the comment: I'm removing 3.7 and 3.8 from the "versions" field, since those branches are old enough that they're now only accepting security-related patches. -- nosy: +AlexWaygood versions: -Python 3.7, Python 3.8

[issue46342] Make @final introspectable at runtime

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

[issue41987] singledispatchmethod raises an error when relying on a forward declaration

2022-01-11 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood, lukasz.langa ___ Python tracker <https://bugs.python.org/issue41987> ___ ___ Python-bugs-list mailing list Unsub

[issue46244] typing._TypeVarLike missing __slots__

2022-01-11 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: performance -> behavior ___ Python tracker <https://bugs.python

[issue46328] add sys.exception()

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

<    1   2   3   4   5   6   7   8   9   10   >