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 methane
Recipients JelleZijlstra, barry, eric.smith, gvanrossum, kj, larry, lukasz.langa, methane, xtreak
Date 2021-04-27.00:56:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619484997.78.0.0977494881877.issue43817@roundup.psfhosted.org>
In-reply-to
Content
> Just to be clear: I would *not* want this new mode to be the *default* behavior.  So far I think ONLY_IF_STRINGIZED is the best compromise for default behavior.

I don't think ONLY_IF_STRINGIZED is the best compromise. I don't think it solve any issue.

```
if False:
    from typing import List

def f1() -> 'List[str]':
    pass

def f2(a:int) -> 'List[str]':
    pass
```

In this example, both of help(f1) and help(f2) must show signature, not raise an error.
History
Date User Action Args
2021-04-27 00:56:38methanesetrecipients: + methane, gvanrossum, barry, larry, eric.smith, lukasz.langa, JelleZijlstra, xtreak, kj
2021-04-27 00:56:37methanesetmessageid: <1619484997.78.0.0977494881877.issue43817@roundup.psfhosted.org>
2021-04-27 00:56:37methanelinkissue43817 messages
2021-04-27 00:56:37methanecreate