[issue39942] Making instance of `TypeVar` fails because of missing `__name__`

2020-04-20 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39942] Making instance of `TypeVar` fails because of missing `__name__`

2020-04-20 Thread miss-islington
miss-islington added the comment: New changeset 41660cac63c1a216e43335007e329e213054100e by Miss Islington (bot) in branch '3.8': bpo-39942:Fix failure in `TypeVar` when missing `__name__` (GH-19616) https://github.com/python/cpython/commit/41660cac63c1a216e43335007e329e213054100e

[issue39942] Making instance of `TypeVar` fails because of missing `__name__`

2020-04-20 Thread miss-islington
miss-islington added the comment: New changeset 694a95ff437613e6295f531336b5bc7cab9e3713 by Miss Islington (bot) in branch '3.7': bpo-39942:Fix failure in `TypeVar` when missing `__name__` (GH-19616) https://github.com/python/cpython/commit/694a95ff437613e6295f531336b5bc7cab9e3713

[issue39942] Making instance of `TypeVar` fails because of missing `__name__`

2020-04-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +18954 pull_request: https://github.com/python/cpython/pull/19626 ___ Python tracker

[issue39942] Making instance of `TypeVar` fails because of missing `__name__`

2020-04-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +18955 pull_request: https://github.com/python/cpython/pull/19627 ___ Python tracker ___

[issue39942] Making instance of `TypeVar` fails because of missing `__name__`

2020-04-20 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset a25a04fea5446b1712cde0cff556574be139285a by HongWeipeng in branch 'master': bpo-39942:Fix failure in `TypeVar` when missing `__name__` (GH-19616) https://github.com/python/cpython/commit/a25a04fea5446b1712cde0cff556574be139285a --

[issue39942] Making instance of `TypeVar` fails because of missing `__name__`

2020-04-20 Thread hongweipeng
Change by hongweipeng : -- keywords: +patch nosy: +hongweipeng nosy_count: 1.0 -> 2.0 pull_requests: +18948 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19616 ___ Python tracker

[issue39942] Making instance of `TypeVar` fails because of missing `__name__`

2020-03-11 Thread jack1142
New submission from jack1142 : Example code: ``` code = """ import typing T = typing.TypeVar("T") """ exec(code, {}) ``` Traceback: ``` Traceback (most recent call last): File "", line 1, in File "", line 3, in File "C:\Python38\lib\typing.py", line 603, in __init__ def_mod =