Message353870
Python 3.9.0a0 (heads/bpo-31722:fc4a044a3c, Oct 4 2019, 03:10:14)
[Clang 11.0.0 (clang-1100.0.33.8)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import functools
>>> def f():
... def g():
... yield 1
... return g
...
>>> functools.partial(f())().__qualname__ == f()().__qualname__
True
>>> functools.partial(f())().__qualname__
'f.<locals>.g'
>>> f()().__qualname__
'f.<locals>.g'
Looks like that this issue is fixed |
|
Date |
User |
Action |
Args |
2019-10-03 18:12:30 | corona10 | set | recipients:
+ corona10, brett.cannon, dino.viehland, xtreak, BTaskaya |
2019-10-03 18:12:30 | corona10 | set | messageid: <1570126350.03.0.187910448544.issue26093@roundup.psfhosted.org> |
2019-10-03 18:12:30 | corona10 | link | issue26093 messages |
2019-10-03 18:12:29 | corona10 | create | |
|