- 15 May, 2001 1 kayıt (commit)
-
-
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.
-
- 20 Ock, 2001 1 kayıt (commit)
-
-
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.
-
- 15 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 25 Eki, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 24 Agu, 2000 2 kayıt (commit)
-
-
Peter Schneider-Kamp yazdı
-
Thomas Wouters yazdı
rfc822 (Addresslist) modules. Also a preliminary testcase for augmented assignment, which should actually be merged with the test_class testcase I added last week.
-
- 21 Agu, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
Let UserString.translate() method work with unicode data. This closes SourceForge patch #101246.
-
- 10 Tem, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 11 Nis, 2000 1 kayıt (commit)
-
-
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.
-
- 03 Nis, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
-