Message 392012 - Python tracker
Message392012
| 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:38 | methane | set | recipients: + methane, gvanrossum, barry, larry, eric.smith, lukasz.langa, JelleZijlstra, xtreak, kj |
| 2021-04-27 00:56:37 | methane | set | messageid: <1619484997.78.0.0977494881877.issue43817@roundup.psfhosted.org> |
| 2021-04-27 00:56:37 | methane | link | issue43817 messages |
| 2021-04-27 00:56:37 | methane | create | |