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

GitHub noreply at github.com
Thu Jul 6 17:28:25 EDT 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: c60d2f5e8609b040ab58c498fde23928fe9dbef5
      https://github.com/python/cpython/commit/c60d2f5e8609b040ab58c498fde23928fe9dbef5
  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 (#2591)

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