[Python-checkins] [python/cpython] 3bbdf9: bpo-30532: Fix whitespace folding in certain cases...

GitHub noreply at github.com
Thu Jul 6 17:29:11 EDT 2017


  Branch: refs/heads/3.5
  Home:   https://github.com/python/cpython
  Commit: 3bbdf990a2c1b0b303b950058e3177a1bd5f697a
      https://github.com/python/cpython/commit/3bbdf990a2c1b0b303b950058e3177a1bd5f697a
  Author: Joel Hillacre <joel at 403forbidden.ca>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M Lib/email/_header_value_parser.py
    M Lib/test/test_email/test__header_value_parser.py
    M Misc/ACKS
    A Misc/NEWS.d/next/Library/2017-06-26-11-01-59.bpo-30532.qTeL1o.rst

  Log Message:
  -----------
  bpo-30532: Fix whitespace folding in certain cases (#2592)

Leading whitespace was incorrectly dropped during folding of certain lines in the _header_value_parser's folding algorithm.  This makes the whitespace handling code consistent.




More information about the Python-checkins mailing list