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 Tobotimus
Recipients Tobotimus
Date 2017-12-07.07:34:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:51Tobotimussetrecipients: + Tobotimus
2017-12-07 07:34:51Tobotimussetmessageid: <>
2017-12-07 07:34:51Tobotimuslinkissue32222 messages
2017-12-07 07:34:51Tobotimuscreate