This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PEP 604 NewType
Type: Stage: resolved
Components: Versions: Python 3.11, Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder: Union of a type and the typing module function
View: 44642
Assigned To: Nosy List: AlexWaygood, JelleZijlstra, dlax, domdfcoding, gvanrossum, joperez, kj, levkivskyi, lukasz.langa, miss-islington, pablogsal, serhiy.storchaka, uriyyo
Priority: normal Keywords: patch

Created on 2021-06-08 20:21 by joperez, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 27250 merged uriyyo, 2021-07-19 19:45
PR 27258 merged miss-islington, 2021-07-20 13:21
PR 27259 merged uriyyo, 2021-07-20 13:34
PR 27261 merged miss-islington, 2021-07-20 15:26
PR 27262 merged uriyyo, 2021-07-20 15:45
PR 27302 merged uriyyo, 2021-07-23 10:11
PR 27305 merged uriyyo, 2021-07-23 12:58
PR 27311 merged serhiy.storchaka, 2021-07-23 17:03
PR 9951 serhiy.storchaka, 2021-07-24 07:12
PR 27319 merged kj, 2021-07-24 07:46
PR 27321 merged miss-islington, 2021-07-24 08:59
PR 27326 merged lukasz.langa, 2021-07-24 09:48
PR 27328 merged miss-islington, 2021-07-24 10:08
PR 29785 merged AlexWaygood, 2021-11-26 00:42
PR 29796 merged miss-islington, 2021-11-26 14:33
Messages (44)
msg395359 - (view) Author: Joseph Perez (joperez) * Date: 2021-06-08 20:21
`typing.NewType` doesn't support PEP 604.

```
>>> import typing
>>> A = typing.NewType("A", int)
>>> B = typing.NewType("B", str)
>>> A | B
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for |: 'function' and 'function'
```
msg395512 - (view) Author: Dominic Davis-Foster (domdfcoding) * Date: 2021-06-10 07:36
It is possible to implement NewType to return a class rather than a function as it does currently. However, the class version uses substantially more memory (1072 bytes vs 144 bytes with sys.getsizeof) and NewType is supposed to have almost no runtime overhead.
msg395519 - (view) Author: Yurii Karabas (uriyyo) * (Python triager) Date: 2021-06-10 11:29
What about to return callable object instead of function from a `typing.NewType`?

It will look something like this:
```
class _NewType:
    __slots__ = ('__name__', '__supertype__')

    def __init__(self, name, supertype):
        self.__name__ = name
        self.__supertype__ = supertype

    def __call__(self, val):
        return val

    def __or__(self, other):
        return Union[self, other]

    def __ror__(self, other):
        return Union[other, self]



def NewType(name, tp):
    """NewType creates simple unique types with almost zero
    runtime overhead. NewType(name, tp) is considered a subtype of tp
    by static type checkers. At runtime, NewType(name, tp) returns
    a dummy callable object that simply returns its argument. Usage::

        UserId = NewType('UserId', int)

        def name_by_id(user_id: UserId) -> str:
            ...

        UserId('user')          # Fails type check

        name_by_id(42)          # Fails type check
        name_by_id(UserId(42))  # OK

        num = UserId(5) + 1     # type: int
    """
    return _NewType(name, tp)
``` 

With such implementation `__or__` will be available for a NewType and actually because of __slots__ size of object will be 48 bytes (with sys.getsizeof) which is less than current 144 bytes (if memory is important).
msg395538 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2021-06-10 13:55
https://github.com/python/typing/issues/746 has some previous discussion of implementing NewType as a class (motivated by __repr__), including benchmarks.
msg397299 - (view) Author: Yurii Karabas (uriyyo) * (Python triager) Date: 2021-07-12 11:18
Jelle I can try to implement it in C to see if it will give better performance.
msg397300 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2021-07-12 12:06
@Yurii, I would like to caution against a C accelerator for the typing module. My reasoning follows:

1. The maintenance burden is higher. typing is already somewhat complex in Python (lots of MRO/metaclass wizardry). A C module would require knowledge of the C API.

2. Following from 1., I fear it may raise the barrier for contributions. This is purely anecdotal but I think there are more contributors who know Python than Python + C API.

3. C API code is much more error-prone than Python code.

4. It's very hard to find available reviewers for typing-related C changes.

5. Backports become harder due to point 3. and 4. Also C code needs much more scrutiny. If we cause some obscure bug in Python, it raises an exception; in C it potentially segfaults and kills the interpreter.

6. Third-party monkey-patching becomes harder.

Unfortunately, I can't offer a good solution to this issue at the moment either.
msg397825 - (view) Author: Yurii Karabas (uriyyo) * (Python triager) Date: 2021-07-19 18:07
@Ken thanks for pointing this out.

The only solution which I see is to convert NewType into callable class but it will lead to performance degradation.

@Ken what do you think about that?
msg397826 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-07-19 18:11
Do we have to solve it? Using `from __future__ import annotations` it should work, at least when used as an annotation. Or is that too inconvenient or inconsistent?
msg397834 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2021-07-19 18:47
> Using `from __future__ import annotations` it should work

Not in type aliases or generic bases. (And if Larry's co_annotations PEP is accepted, it would break in normal annotations too.) I'd prefer to get rid of this sort of subtle difference where the obvious way to write a type only works in some contexts, though I realize that's not possible in all cases.

That means I think we should move forward with making NewTypes into instances with __call__ instead of functions, though according to my benchmarks in the typing issue that will incur a small performance penalty.
msg397835 - (view) Author: Yurii Karabas (uriyyo) * (Python triager) Date: 2021-07-19 19:51
I opened PR with refactored `typing.NewType` into callable class.

Also I have added `__module__` attr to typing.NewType so it will become pickable.
msg397838 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-07-19 21:06
Jelle, can you post more details about your benchmark?
msg397840 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2021-07-19 21:16
This is what I got last year (copied from the typing issues):

In [83]: from typing import NewType

In [84]: nt = NewType("nt", int)

In [85]: class NewTypeClass:
    ...:     def __init__(self, name, supertype):
    ...:         self.name = name
    ...:         self.supertype = supertype
    ...:     def __call__(self, obj):
    ...:         return obj
    ...:     def __repr__(self):
    ...:         return f"<NewType: {self.name}>"
    ...:     

In [86]: ntc = NewTypeClass("ntc", int)

In [87]: ntc
Out[87]: <NewType: ntc>

In [88]: %timeit nt(3)
211 ns ± 2.27 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

In [89]: %timeit ntc(3)
253 ns ± 5.35 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)


Not sure what version of Python I used at the time. I just repeated it on 3.9.4 MacOS and got much faster time but a similar ~20% slowdown:

In [6]: %timeit nt(3)
112 ns ± 5.11 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

In [7]: %timeit ntc(3)
136 ns ± 2.36 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)
msg397842 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-07-19 21:27
Hm, 20% isn't so bad, but one of the arguments for NewType was that it "disappears" at runtime -- which the current version does, but the class-based version doesn't quite.

Right now I don't have the cycles to think about this deeply. Maybe a few weeks after I'm back from vacation (~August 8) I will have more time.
msg397847 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2021-07-20 01:32
This issue is now out of date on. After Serhiy's refactoring, any function types can be unioned.

>>> NewType('x', int)
>>> int | NewType('x', int)
int | typing.NewType.<locals>.new_type

The only problem now is that the repr is weird, but Serhiy also has a fix for that in issue34963 (PR 9951) without converting to a class.

Thus, I am closing the issue. Please go to issue44642 for a general discussion on whether union should support arbitrary functions at all, or issue34963 for the repr problem. Thanks all!
msg397848 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2021-07-20 01:55
Does that work if you try to union two NewTypes?
msg397849 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2021-07-20 01:59
> Does that work if you try to union two NewTypes?

Oh woops I was too eager in closing this issue -- it doesn't work. Sorry, please disregard my previous message. I'm reopening this. Thanks for the reminder Jelle.
msg397869 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-20 13:21
New changeset 965dd76e9060e27e2253ba8c8d21a142b178720d by Yurii Karabas in branch 'main':
bpo-44353: Refactor typing.NewType into callable class (GH-27250)
https://github.com/python/cpython/commit/965dd76e9060e27e2253ba8c8d21a142b178720d
msg397876 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-20 14:48
New changeset 4868b94c6089d457673b1ba5b5b64c2f38c435af by Yurii Karabas in branch 'main':
bpo-44353: Add test to cover __or__ of two NewType (#27259)
https://github.com/python/cpython/commit/4868b94c6089d457673b1ba5b5b64c2f38c435af
msg397877 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-20 14:52
> Hm, 20% isn't so bad, but one of the arguments for NewType was that it "disappears" at runtime -- which the current version does, but the class-based version doesn't quite.

NewType was described originally in https://github.com/python/typing/issues/189 and the resulting PEP text landed in https://github.com/python/typing/pull/226/files.

I find the 20% performance impact non-ideal but ultimately worth it because:
- it solves the issue described in this bug;
- it allows us to implement issubclass/isinstance in the future if we so choose;
- it also potentially allows us to chain NewType.

Since we can't fully rely on `from __future__ import annotations` to side-step the performance cost, we don't really have a different option than to change it. The alternative is to leave it as is which makes it a non-composable pseudo-type unlike the others.

Currently adoption of NewType is relatively low, in part due to the feature's obscurity and partially because of its limits. Slower instantiation performance will at worst keep the adoption low, but it can potentially bring more users to NewType since it becomes less hacky.

I'm +1 to converting to a class as done by the PR.


> Right now I don't have the cycles to think about this deeply. Maybe a few weeks after I'm back from vacation (~August 8) I will have more time.

Sorry, I overeagerly already merged the change to `main`. Let's hold off with the 3.10 backport until you had time to think about it. If we decide against the change after all, reverting on `main` should have no negative impact since we're pre-alpha 1.
msg397878 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-07-20 15:00
OTOH, for 3.10 the clock is ticking. Let's go for it. (If it's deemed too slow, we could eventually add an accelerator just for this.)
msg397879 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2021-07-20 15:09
I found that replacing __call__ on the NewType class with an identity function written in C makes things faster instead:

In [54]: %timeit ntc2(1)
79 ns ± 0.37 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

In [55]: %timeit ntc(1)
126 ns ± 0.315 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

In [56]: %timeit nt(1)
103 ns ± 4.23 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

Here ntc2 has __call__ implemented in C, ntc is the previous class-based version and nt is the current function-based version.

So perhaps we could just stick a private `._idfunc` in some C-implemented module (functools? types?) and use it as the __call__ for our NewType class.
msg397880 - (view) Author: Yurii Karabas (uriyyo) * (Python triager) Date: 2021-07-20 15:17
Jelle thanks for pointing this out, I will implement helper function in C and use it as a __call__ method for NewType
msg397881 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-20 15:25
New changeset c2f33dfc83ab270412bf243fb21f724037effa1a by Miss Islington (bot) in branch '3.10':
bpo-44353: Refactor typing.NewType into callable class (GH-27250) (#27258)
https://github.com/python/cpython/commit/c2f33dfc83ab270412bf243fb21f724037effa1a
msg397886 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-20 16:06
New changeset 9ae5ba7dbf08d56a1b30d67fcde75532fe136d77 by Miss Islington (bot) in branch '3.10':
bpo-44353: Add test to cover __or__ of two NewType (GH-27259) (#27261)
https://github.com/python/cpython/commit/9ae5ba7dbf08d56a1b30d67fcde75532fe136d77
msg398005 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-22 21:07
New changeset 96c4cbd96c769e92869c62ba898dd9eb670baa81 by Yurii Karabas in branch 'main':
bpo-44353: Implement typing.NewType __call__ method in C (#27262)
https://github.com/python/cpython/commit/96c4cbd96c769e92869c62ba898dd9eb670baa81
msg398006 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-22 21:15
Note: we won't be backporting _typing to Python 3.10 as it is much too late for a new module at this point in the life cycle. Consequently, 3.10 will be a (temporary) performance regression in terms of typing.NewType.

Thanks everyone, most of all Josepth for reporting and Yurii for implementing the required changes.
msg398048 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2021-07-23 12:39
PR27262 introduced reference leaks and currently all refleak buildbots are red:

Example:

https://buildbot.python.org/all/#/builders/205/builds/102/steps/5/logs/stdio

Ran 367 tests in 0.198s
OK (skipped=1)
.
test_typing leaked [220, 220, 220] references, sum=660
test_typing leaked [69, 68, 68] memory blocks, sum=205
1 test failed again:
    test_typing
== Tests result: FAILURE then FAILURE ==
Per our buildbot policy, if a fix is not performed in 24 h we will need to revert
msg398057 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-23 14:28
New changeset 8f42106b5c362495f72c6ca2fa3884538e4023db by Yurii Karabas in branch 'main':
bpo-44353: Fix memory leak introduced by GH-27262 (GH-27305)
https://github.com/python/cpython/commit/8f42106b5c362495f72c6ca2fa3884538e4023db
msg398080 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2021-07-23 17:05
PR 27311 copies tests from PR 9951, adds support of nested NewTypes (with __qualname__ containing multiple components) an makes them pickleable by name as functions and classes.
msg398120 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-24 07:40
New changeset e89ef0ad2a299770a88ece8f7a316f7d3eb65c9f by Serhiy Storchaka in branch 'main':
bpo-44353: Expand NewType tests for complex __qualname__. (#27311)
https://github.com/python/cpython/commit/e89ef0ad2a299770a88ece8f7a316f7d3eb65c9f
msg398123 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-24 08:53
New changeset 7aac3f623610cf3dffbf548a5be5bfd4fa6790a0 by Ken Jin in branch 'main':
bpo-44353: Document that typing.NewType is now a class (#27319)
https://github.com/python/cpython/commit/7aac3f623610cf3dffbf548a5be5bfd4fa6790a0
msg398129 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-24 09:31
New changeset d15949a845a6db66675bca7105ad508ba9e79639 by Miss Islington (bot) in branch '3.10':
bpo-44353: Document that typing.NewType is now a class (GH-27319) (GH-27321)
https://github.com/python/cpython/commit/d15949a845a6db66675bca7105ad508ba9e79639
msg398136 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-24 09:53
New changeset a22b05da87bdfb081d6aaecfce136ae8dbb8680c by Yurii Karabas in branch 'main':
bpo-44353: Improve tests covering typing.NewType pickling (GH-27302)
https://github.com/python/cpython/commit/a22b05da87bdfb081d6aaecfce136ae8dbb8680c
msg398138 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-24 10:08
New changeset 05f5d8e48c86c8025d3f82285666d93e52e360f9 by Łukasz Langa in branch '3.10':
[3.10] bpo-44353: Expand NewType tests for complex __qualname__ (GH-27311) (GH-27326)
https://github.com/python/cpython/commit/05f5d8e48c86c8025d3f82285666d93e52e360f9
msg398139 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-24 10:29
New changeset e8c01749c02a97a2f5b01086951bb564121c5113 by Miss Islington (bot) in branch '3.10':
bpo-44353: Improve tests covering typing.NewType pickling (GH-27302) (GH-27328)
https://github.com/python/cpython/commit/e8c01749c02a97a2f5b01086951bb564121c5113
msg398147 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2021-07-24 13:01
The buildbots are still not green. Unfortunately we will need to revert all PRs if this is not fixed soon as this is already making other issues
msg398148 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2021-07-24 13:05
@Pablo, I don't think this change is causing the buildbots to fail. The test failure on all the currently failing buildbots is:

======================================================================
ERROR: test_absolute_circular_submodule (test.test_import.CircularImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.11/test/test_import/__init__.py", line 1355, in test_absolute_circular_submodule
    import test.test_import.data.circular_imports.subpkg2.parent
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'test.test_import.data.circular_imports.subpkg2'
----------------------------------------------------------------------

Which seems to be GH-27299.
msg398149 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2021-07-24 13:11
Pick any of the failing refleak buildbots. For example:

https://buildbot.python.org/all/#/builders/280/builds/99

You will see:

----------------------------------------------------------------------
Ran 106 tests in 0.074s
OK
......
test_types leaked [2, 2, 2] references, sum=6
test_types leaked [1, 1, 1] memory blocks, sum=3
1 test failed again:
    test_types
msg398150 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-24 13:13
types is not typing. This is a different failure from what we've seen before. I'll fix that today.
msg398151 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2021-07-24 13:17
Bisecting points to:

fe13f0b0f696464dd6f283576668dbf57cb11399 is the first bad commit
commit fe13f0b0f696464dd6f283576668dbf57cb11399
Author: Yurii Karabas <1998uriyyo@gmail.com>
Date:   Fri Jul 23 12:47:00 2021 +0300

    bpo-44676: Add ability to serialize types.Union (GH-27244)

 Lib/test/test_types.py                             | 35 +++++++++++++++
 Lib/typing.py                                      |  4 +-
 .../2021-07-19-19-53-46.bpo-44676.WgIMvh.rst       |  2 +
 Objects/unionobject.c                              | 51 ++++++++++++++++++++++
 4 files changed, 90 insertions(+), 2 deletions(-)
 create mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-07-19-19-53-46.bpo-44676.WgIMvh.rst
bisect run success
msg398152 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2021-07-24 13:17
I am closing this one again, apologies for the confusion.
msg398164 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2021-07-24 15:29
Thanks a bunch Yurii, Serhiy, Jelle, Łukasz and Pablo for working on this! I'm re-closing this issue. *Fingers-crossed* we won't have to open this again ;-).
msg407026 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-11-26 04:55
New changeset 93c65df83cef71a4bc77d71afecdec8744c4f73a by Alex Waygood in branch 'main':
bpo-44353: Correct docstring for `NewType` (#29785)
https://github.com/python/cpython/commit/93c65df83cef71a4bc77d71afecdec8744c4f73a
msg407055 - (view) Author: miss-islington (miss-islington) Date: 2021-11-26 14:58
New changeset 3f024e27c29a57dd4f805aa2431d713ed0fe57b2 by Miss Islington (bot) in branch '3.10':
bpo-44353: Correct docstring for `NewType` (GH-29785)
https://github.com/python/cpython/commit/3f024e27c29a57dd4f805aa2431d713ed0fe57b2
History
Date User Action Args
2022-04-11 14:59:46adminsetgithub: 88519
2021-11-26 14:58:16miss-islingtonsetmessages: + msg407055
2021-11-26 14:33:21miss-islingtonsetpull_requests: + pull_request28031
2021-11-26 04:55:23gvanrossumsetmessages: + msg407026
2021-11-26 00:42:22AlexWaygoodsetnosy: + AlexWaygood

pull_requests: + pull_request28022
2021-07-24 15:29:29kjsetstatus: open -> closed
resolution: fixed
messages: + msg398164
2021-07-24 13:17:52pablogsalsetmessages: + msg398152
2021-07-24 13:17:32pablogsalsetmessages: + msg398151
2021-07-24 13:13:12lukasz.langasetmessages: + msg398150
2021-07-24 13:11:17pablogsalsetmessages: + msg398149
2021-07-24 13:05:20kjsetmessages: + msg398148
2021-07-24 13:01:06pablogsalsetstatus: closed -> open
resolution: fixed -> (no value)
messages: + msg398147
2021-07-24 10:29:22lukasz.langasetmessages: + msg398139
2021-07-24 10:08:25miss-islingtonsetpull_requests: + pull_request25872
2021-07-24 10:08:00lukasz.langasetmessages: + msg398138
2021-07-24 09:53:44lukasz.langasetmessages: + msg398136
2021-07-24 09:48:59lukasz.langasetpull_requests: + pull_request25870
2021-07-24 09:31:38lukasz.langasetmessages: + msg398129
2021-07-24 08:59:02miss-islingtonsetpull_requests: + pull_request25866
2021-07-24 08:53:53lukasz.langasetmessages: + msg398123
2021-07-24 07:46:08kjsetpull_requests: + pull_request25865
2021-07-24 07:40:16lukasz.langasetmessages: + msg398120
2021-07-24 07:12:08serhiy.storchakasetpull_requests: + pull_request25864
2021-07-23 17:05:34serhiy.storchakasetmessages: + msg398080
2021-07-23 17:03:02serhiy.storchakasetpull_requests: + pull_request25856
2021-07-23 16:05:30serhiy.storchakasetnosy: + serhiy.storchaka
2021-07-23 14:28:44lukasz.langasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-07-23 14:28:16lukasz.langasetmessages: + msg398057
2021-07-23 12:58:12uriyyosetstage: resolved -> patch review
pull_requests: + pull_request25849
2021-07-23 12:39:50pablogsalsetstatus: closed -> open

nosy: + pablogsal
messages: + msg398048

resolution: fixed -> (no value)
2021-07-23 10:11:45uriyyosetpull_requests: + pull_request25846
2021-07-22 21:15:03lukasz.langasetstatus: open -> closed
resolution: fixed
messages: + msg398006

stage: patch review -> resolved
2021-07-22 21:07:03lukasz.langasetmessages: + msg398005
2021-07-21 12:34:09dlaxsetnosy: + dlax
2021-07-20 16:06:44lukasz.langasetmessages: + msg397886
2021-07-20 15:45:26uriyyosetpull_requests: + pull_request25807
2021-07-20 15:26:18miss-islingtonsetpull_requests: + pull_request25806
2021-07-20 15:25:05lukasz.langasetmessages: + msg397881
2021-07-20 15:17:12uriyyosetmessages: + msg397880
2021-07-20 15:09:02JelleZijlstrasetmessages: + msg397879
2021-07-20 15:00:44gvanrossumsetmessages: + msg397878
2021-07-20 14:52:33lukasz.langasetmessages: + msg397877
2021-07-20 14:48:09lukasz.langasetmessages: + msg397876
2021-07-20 13:34:52uriyyosetpull_requests: + pull_request25804
2021-07-20 13:21:16miss-islingtonsetnosy: + miss-islington

pull_requests: + pull_request25803
stage: resolved -> patch review
2021-07-20 13:21:09lukasz.langasetnosy: + lukasz.langa
messages: + msg397869
2021-07-20 01:59:14kjsetstatus: closed -> open
resolution: out of date -> (no value)
messages: + msg397849
2021-07-20 01:55:35JelleZijlstrasetmessages: + msg397848
2021-07-20 01:32:57kjsetstatus: open -> closed
superseder: Union of a type and the typing module function
messages: + msg397847

resolution: out of date
stage: patch review -> resolved
2021-07-19 21:27:23gvanrossumsetmessages: + msg397842
2021-07-19 21:16:51JelleZijlstrasetmessages: + msg397840
2021-07-19 21:06:53gvanrossumsetmessages: + msg397838
2021-07-19 19:51:34uriyyosetmessages: + msg397835
2021-07-19 19:45:52uriyyosetkeywords: + patch
stage: patch review
pull_requests: + pull_request25798
2021-07-19 18:47:24JelleZijlstrasetmessages: + msg397834
2021-07-19 18:11:25gvanrossumsetmessages: + msg397826
2021-07-19 18:07:58uriyyosetmessages: + msg397825
2021-07-12 12:06:44kjsetmessages: + msg397300
2021-07-12 11:18:15uriyyosetmessages: + msg397299
2021-06-10 13:55:37JelleZijlstrasetmessages: + msg395538
2021-06-10 13:35:30kjsetnosy: + gvanrossum, levkivskyi, JelleZijlstra, kj

versions: + Python 3.11
2021-06-10 11:29:35uriyyosetnosy: + uriyyo
messages: + msg395519
2021-06-10 07:36:45domdfcodingsetnosy: + domdfcoding
messages: + msg395512
2021-06-08 20:21:48joperezcreate