summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2013-12-12 15:58:14 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2013-12-12 16:09:12 +0100
commit2c837233f5de7d5e309833e39782c7a208a03880 (patch)
tree4d4f48894b5f81df7e041a9cc4efffbb076453fe /docs
parentb9c7234e2a88a62201eaf865c5c57d5d66e7c64b (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')
0 files changed, 0 insertions, 0 deletions