[issue40185] Refactor typing.NamedTuple

2022-03-08 Thread Julius Park
Change by Julius Park : -- nosy: +juliusgeo nosy_count: 5.0 -> 6.0 pull_requests: +29885 pull_request: https://github.com/python/cpython/pull/31779 ___ Python tracker ___ _

[issue40185] Refactor typing.NamedTuple

2022-03-04 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 4.0 -> 5.0 pull_requests: +29799 pull_request: https://github.com/python/cpython/pull/31679 ___ Python tracker ___ __

[issue40185] Refactor typing.NamedTuple

2020-08-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: $ echo 'from typing import NamedTuple; NamedTuple("A")' | ./python -m ast Module( body=[ ImportFrom( module='typing', names=[ alias(name='NamedTuple')], level=0), Expr( value=Call( fun

[issue40185] Refactor typing.NamedTuple

2020-08-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to have caused a test failure in astroid project. I am not sure if the fix needs to be done from their end probably relying on some implementation detail or from the patch itself. Feel free to ignore if it's a third-party only error. Re

[issue40185] Refactor typing.NamedTuple

2020-04-08 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40185] Refactor typing.NamedTuple

2020-04-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a2ec06938f46683e33692615aca3875d8b8e110c by Serhiy Storchaka in branch 'master': bpo-40185: Refactor typing.NamedTuple (GH-19371) https://github.com/python/cpython/commit/a2ec06938f46683e33692615aca3875d8b8e110c -- _

[issue40185] Refactor typing.NamedTuple

2020-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue40187. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40185] Refactor typing.NamedTuple

2020-04-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +18733 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19371 ___ Python tracker ___

[issue40185] Refactor typing.NamedTuple

2020-04-04 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : typing.NamedTuple is used in two ways. 1. It is a callable which produces a new namedtuple type. 2. It can also be used as a base in the class statement for creating a new namedtuple type. In both cases it is not a real class. You cannot create an instan