]> granicus.if.org Git - python/commit
Blocked revisions 80800 via svnmerge
authorR. David Murray <rdmurray@bitdance.com>
Wed, 5 May 2010 17:34:36 +0000 (17:34 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Wed, 5 May 2010 17:34:36 +0000 (17:34 +0000)
commit8ff59b2f645d7a166b3e45be2fcf06e0eedeab45
tree137877e9696dde40b287d3bbec7c5318a269f991
parent657e5ac15a2e4f6a7f2d741c58d9e292509b4c88
Blocked revisions 80800 via svnmerge

........
  r80800 | r.david.murray | 2010-05-05 13:31:03 -0400 (Wed, 05 May 2010) | 9 lines

  Issue #7472: remove unused code from email.encoders.encode_7or8bit.

  Yukihiro Nakadaira noticed a typo in encode_7or8bit that was trying
  to special case iso-2022 codecs.  It turns out that the code in
  question is never used, because whereas it was designed to trigger
  if the payload encoding was eight bit but its output encoding was
  7 bit, in practice the payload is always converted to the 7bit
  encoding before encode_7or8bit is called.  Patch by Shawat Anand.
........