Message281172
> IMO it would be simpler do disallow all f-strings as docstrings.
How exactly you want to disallow them? Raise SyntaxError? If you don't raise anything, then the behaviour is just confusing -- the interpreter parses them, but __doc__ is None.
I think this needs to be fixed. Eric, can we still fix this in 3.6? If not, then we need to update the PEP and the docs. |
|
Date |
User |
Action |
Args |
2016-11-18 21:41:08 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, eric.smith, martin.panter |
2016-11-18 21:41:08 | yselivanov | set | messageid: <1479505268.01.0.0141047570329.issue28739@psf.upfronthosting.co.za> |
2016-11-18 21:41:07 | yselivanov | link | issue28739 messages |
2016-11-18 21:41:07 | yselivanov | create | |
|