New submission from Toby Harradine :
### 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 parameters have PEP 484 type
Change by Toby Harradine :
Added file: https://bugs.python.org/file47317/pygettext_output.pot
___
Python tracker
<https://bugs.python.org/issue3>
___
___
Python-bug
Toby Harradine 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 on both Windows and Linux
Toby Harradine 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 method. This
method
Change by Toby Harradine :
--
keywords: +patch
pull_requests: +4648
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue3>
___
___
Py