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.

Author xtreak
Recipients gvanrossum, levkivskyi, serhiy.storchaka, xtreak
Date 2020-08-10.08:38:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.

Reproducer script : /tmp/

from astroid import parse

mod = parse('''from typing import NamedTuple; NamedTuple("A")''')
assert str(next(mod.body[-1].value.infer())) != 'Uninferable'

Before this commit : 

python /tmp/
Instance of typing.NamedTuple

After this commit : 

python /tmp/
Traceback (most recent call last):
  File "/tmp/", line 4, in <module>
    assert str(next(mod.body[-1].value.infer())) != 'Uninferable'
Date User Action Args
2020-08-10 08:38:14xtreaksetrecipients: + xtreak, gvanrossum, serhiy.storchaka, levkivskyi
2020-08-10 08:38:14xtreaksetmessageid: <>
2020-08-10 08:38:14xtreaklinkissue40185 messages
2020-08-10 08:38:14xtreakcreate