Message307791
Another correction; I said that this is occurring for return type annotations; this is not true. This is only occurring for functions with annotated *arguments*.
The cause of this issue is in pygettext's TokenEater.__suiteseen method. This method eats tokens until it sees a colon operator, after which it assumes a function docstring may follow. In the case of a function with annotated arguments, obviously this is incorrect, as colons would appear before the final colon of the 'suite'. |
|
| Date |
User |
Action |
Args |
| 2017-12-07 07:34:51 | Tobotimus | set | recipients:
+ Tobotimus |
| 2017-12-07 07:34:51 | Tobotimus | set | messageid: <1512632091.73.0.213398074469.issue32222@psf.upfronthosting.co.za> |
| 2017-12-07 07:34:51 | Tobotimus | link | issue32222 messages |
| 2017-12-07 07:34:51 | Tobotimus | create | |
|