Change by Toby Harradine <tobyharrad...@gmail.com>:
--
keywords: +patch
pull_requests: +4648
stage: -> patch review
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
Toby Harradine <tobyharrad...@gmail.com> added the comment:
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
Toby Harradine <tobyharrad...@gmail.com> added the comment:
Correction for above: the type annotation syntax is actually from PEP 3107, not
PEP 484.
I should also point out that this behaviour is occurring for annotated return
types of functions and methods as well.
This is occurring o
Change by Toby Harradine <tobyharrad...@gmail.com>:
Added file: https://bugs.python.org/file47317/pygettext_output.pot
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from Toby Harradine <tobyharrad...@gmail.com>:
### Expected Behaviour
When running pygettext with the -D CLI flag, all module, class, method and
function docstrings should be extracted and outputted to the .pot file.
### Actual Behaviour
In the case of functions whose para