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

GitHub noreply at github.com
Mon Jun 26 17:41:36 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: b350c22ebcbb891412e0b334afc9f0db19534e06
      https://github.com/python/cpython/commit/b350c22ebcbb891412e0b334afc9f0db19534e06
  Author: Joel Hillacre <joel at 403forbidden.ca>
  Date:   2017-06-26 (Mon, 26 Jun 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

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