1. 15 May, 2001 1 kayıt (commit)
    • Marc-André Lemburg's avatar
      This patch changes the way the string .encode() method works slightly · 2d920419
      Marc-André Lemburg yazdı
      and introduces a new method .decode().
      
      The major change is that strg.encode() will no longer try to convert
      Unicode returns from the codec into a string, but instead pass along
      the Unicode object as-is. The same is now true for all other codec
      return types. The underlying C APIs were changed accordingly.
      
      Note that even though this does have the potential of breaking
      existing code, the chances are low since conversion from Unicode
      previously took place using the default encoding which is normally
      set to ASCII rendering this auto-conversion mechanism useless for
      most Unicode encodings.
      
      The good news is that you can now use .encode() and .decode() with
      much greater ease and that the door was opened for better accessibility
      of the builtin codecs.
      
      As demonstration of the new feature, the patch includes a few new
      codecs which allow string to string encoding and decoding (rot13,
      hex, zip, uu, base64).
      
      Written by Marc-Andre Lemburg. Copyright assigned to the PSF.
      2d920419
  2. 20 Ock, 2001 1 kayıt (commit)
    • Skip Montanaro's avatar
      added __all__ lists to a number of Python modules · e99d5ea2
      Skip Montanaro yazdı
      added test script and expected output file as well
      this closes patch 103297.
      __all__ attributes will be added to other modules without first submitting
      a patch, just adding the necessary line to the test script to verify
      more-or-less correct implementation.
      e99d5ea2
  3. 15 Ock, 2001 1 kayıt (commit)
  4. 25 Eki, 2000 1 kayıt (commit)
  5. 24 Agu, 2000 2 kayıt (commit)
  6. 21 Agu, 2000 1 kayıt (commit)
  7. 10 Tem, 2000 1 kayıt (commit)
  8. 11 Nis, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · 86662914
      Guido van Rossum yazdı
      The maxsplit functionality in .splitlines() was replaced by the keepends
      functionality which allows keeping the line end markers together
      with the string.
      86662914
  9. 03 Nis, 2000 1 kayıt (commit)