diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2013-12-12 15:58:14 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2013-12-12 16:09:12 +0100 |
| commit | 2c837233f5de7d5e309833e39782c7a208a03880 (patch) | |
| tree | 4d4f48894b5f81df7e041a9cc4efffbb076453fe /docs/ref | |
| parent | b9c7234e2a88a62201eaf865c5c57d5d66e7c64b (diff) | |
Fixed #21574 -- Handle bytes consistently in utils.text.normalize_newlines.
All input is now coerced to text before being normalized.
This changes nothing under Python 2 but it allows bytes
to be passed to the function without a TypeError under Python3
(bytes are assumed to be utf-8 encoded text).
Thanks to trac user vajrasky for the report.
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions
