1. 16 Mar, 2011 1 kayıt (commit)
  2. 15 Mar, 2011 1 kayıt (commit)
    • R David Murray's avatar
      #11554: reactivate test_email_codecs, and make it pass. · 56a9d7e3
      R David Murray yazdı
      The fix is to charset.py, which was not doing the encoding to the
      correct output character set when doing a body_encode for either
      the shift-jis or euc-jp charsets.  There's also a fix for handling
      a bytes input in encoders.py.
      
      Patch by Michael Henry, comment changes by me.
      56a9d7e3
  3. 04 Haz, 2010 2 kayıt (commit)
  4. 06 May, 2010 1 kayıt (commit)
    • R. David Murray's avatar
      Merged revisions 79996,80855 via svnmerge from · f870d873
      R. David Murray yazdı
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r79996 | r.david.murray | 2010-04-12 10:48:58 -0400 (Mon, 12 Apr 2010) | 15 lines
      
        Merged revisions 79994 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r79994 | r.david.murray | 2010-04-12 10:26:06 -0400 (Mon, 12 Apr 2010) | 9 lines
      
          Issue #7472: ISO-2022 charsets now consistently use 7bit CTE.
      
          Fixed a typo in the email.encoders module so that messages output using
          an ISO-2022 character set will use a content-transfer-encoding of
          7bit consistently.  Previously if the input data had any eight bit
          characters the output data would get marked as 8bit even though it
          was actually 7bit.
        ........
      ................
        r80855 | r.david.murray | 2010-05-05 21:41:14 -0400 (Wed, 05 May 2010) | 24 lines
      
        Merged revisions 80800 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        It turns out that email5 (py3k), because it is using unicode for the
        payload, doesn't do the encoding to the output character set until later
        in the process.  Specifically, charset.body_encode no longer does the
        input-to-output charset conversion.  So the if test in the exception
        clause in encoders.encode_7or8bit really is needed in email5.
      
        So, this merge only merges the test, not the removal of the 'if'.
      
        ........
          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.
        ........
      ................
      f870d873
  5. 12 Nis, 2010 1 kayıt (commit)
    • R. David Murray's avatar
      Merged revisions 79994 via svnmerge from · ef3d6bd2
      R. David Murray yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r79994 | r.david.murray | 2010-04-12 10:26:06 -0400 (Mon, 12 Apr 2010) | 9 lines
      
        Issue #7472: ISO-2022 charsets now consistently use 7bit CTE.
      
        Fixed a typo in the email.encoders module so that messages output using
        an ISO-2022 character set will use a content-transfer-encoding of
        7bit consistently.  Previously if the input data had any eight bit
        characters the output data would get marked as 8bit even though it
        was actually 7bit.
      ........
      ef3d6bd2
  6. 31 Agu, 2007 1 kayıt (commit)
    • Barry Warsaw's avatar
      More email package fixes. · 8b2af27d
      Barry Warsaw yazdı
      MIMEApplication() requires a bytes object for its _data, so fix the tests.
      
      We no longer need utils._identity() or utils._bdecode().  The former isn't
      used anywhere AFAICT (where's "make test's" lint? <wink>) and the latter is a
      kludge that is eliminated by base64.b64encode().
      
      Current status: 5F/5E
      8b2af27d
  7. 30 Agu, 2007 1 kayıt (commit)
  8. 25 Agu, 2007 1 kayıt (commit)
  9. 21 Nis, 2006 1 kayıt (commit)
  10. 03 Eki, 2004 1 kayıt (commit)
    • Barry Warsaw's avatar
      Big email 3.0 API changes, with updated unit tests and documentation. · bb113867
      Barry Warsaw yazdı
      Briefly (from the NEWS file):
      
      - Updates for the email package:
        + All deprecated APIs that in email 2.x issued warnings have been removed:
          _encoder argument to the MIMEText constructor, Message.add_payload(),
          Utils.dump_address_pair(), Utils.decode(), Utils.encode()
        + New deprecations: Generator.__call__(), Message.get_type(),
          Message.get_main_type(), Message.get_subtype(), the 'strict' argument to
          the Parser constructor.  These will be removed in email 3.1.
        + Support for Python earlier than 2.3 has been removed (see PEP 291).
        + All defect classes have been renamed to end in 'Defect'.
        + Some FeedParser fixes; also a MultipartInvariantViolationDefect will be
          added to messages that claim to be multipart but really aren't.
        + Updates to documentation.
      bb113867
  11. 13 May, 2004 1 kayıt (commit)
  12. 01 Eki, 2002 1 kayıt (commit)
  13. 19 May, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      Complete a merge of the mimelib project and the Python cvs codebases · 8c1aac24
      Barry Warsaw yazdı
      for the email package.  The former is now just a shell project that
      has some extra files for packaging for independent use (e.g. setup.py
      and README).
      
      Added a compatibility layer so that the same API can be used in Python
      2.1 and 2.2/2.3 with the major differences shuffled off into helper
      modules (_compat21.py and _compat22.py).
      
      Also bumped the package version number to 2.0.3 for some fixes to be
      checked in momentarily.
      8c1aac24
  14. 10 Nis, 2002 1 kayıt (commit)
  15. 04 Eki, 2001 2 kayıt (commit)
  16. 26 Eyl, 2001 1 kayıt (commit)
  17. 23 Eyl, 2001 1 kayıt (commit)