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 iritkatriel
Recipients eric.snow, iritkatriel, kurazu, terry.reedy
Date 2021-12-08.16:39:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638981579.74.0.0669291826006.issue16223@roundup.psfhosted.org>
In-reply-to
Content
The doc has been updated by now:

"It returns bytes, encoded using the ENCODING token, which is the first token sequence output by tokenize(). If there is no encoding token in the input, it returns a str instead."

https://docs.python.org/3/library/tokenize.html#tokenize.untokenize


The docstring doesn't say this though.
History
Date User Action Args
2021-12-08 16:39:39iritkatrielsetrecipients: + iritkatriel, terry.reedy, eric.snow, kurazu
2021-12-08 16:39:39iritkatrielsetmessageid: <1638981579.74.0.0669291826006.issue16223@roundup.psfhosted.org>
2021-12-08 16:39:39iritkatriellinkissue16223 messages
2021-12-08 16:39:39iritkatrielcreate