- 17 Eki, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 04 Eki, 2002 6 kayıt (commit)
-
-
Guido van Rossum yazdı
still may contain dots), then if that doesn't exist look for the name with dots replaced by underscores. This is a little more forgiving.
-
Marc-André Lemburg yazdı
by some email headers.
-
Marc-André Lemburg yazdı
-
Marc-André Lemburg yazdı
-
Marc-André Lemburg yazdı
scheme.
-
Marc-André Lemburg yazdı
characters.
-
- 26 Eyl, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 25 Eyl, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
2.2.2.
-
- 23 Agu, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 14 Agu, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 08 Agu, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 29 Tem, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
of encodings. Skip modules that don't have a getregentry function.
-
- 28 Tem, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 12 Tem, 2002 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
-
- 05 Nis, 2002 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
They now raise an NotImplementedError to hint to the truth ;-)
-
- 11 Şub, 2002 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
package.
-
- 10 Şub, 2002 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
and make alias lookup lazy. Note that only those IANA character set aliases were added for which we actually have codecs in the encodings package.
-
- 02 Ara, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 20 Eyl, 2001 3 kayıt (commit)
-
-
Marc-André Lemburg yazdı
-
Marc-André Lemburg yazdı
-
Marc-André Lemburg yazdı
codecs -- the self argument does matter for Python functions (it does not for C functions which most other codecs use).
-
- 19 Eyl, 2001 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
__init__.py module to raise errors which can be catched as LookupErrors as well as SystemErrors. Modified the error messages to include more information about the failing module.
-
- 13 Agu, 2001 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 10 Agu, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 19 Haz, 2001 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
write a BOM at the start of the stream and also to only read it as BOM at the start of a stream. Subsequent reading/writing of BOMs will read/write the BOM as ZWNBSP character. This is in sync with the Unicode specifications. Note that UTF-16 files will now *have* to start with a BOM mark in order to be readable by the codec.
-
- 07 Haz, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
with the addition of the euro character. Also added a few EDBDIC aliases.
-
- 04 Haz, 2001 1 kayıt (commit)
-
-
Mark Hammond yazdı
-
- 16 May, 2001 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
codec files to codecs.py and added logic so that multi mappings in the decoding maps now result in mappings to None (undefined mapping) in the encoding maps.
-
- 15 May, 2001 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
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.
-
- 03 Ock, 2001 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
codec to not apply Latin-1 mappings for keys which are not found in the mapping dictionaries, but instead treat them as undefined mappings. The patch was originally written by Martin v. Loewis with some additional (cosmetic) changes and an updated test script by Marc-Andre Lemburg. The standard codecs were recreated from the most current files available at the Unicode.org site using the Tools/scripts/gencodec.py tool. This patch closes the bugs #116285 and #119960.
-
- 12 Ara, 2000 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
encodings package aliases mapping dictionary rather than in the internal cache used by the search function. This enables aliases to take advantage of the full normalization process applied to encoding names which was previously not available. The patch restricts alias registration to new aliases. Existing aliases cannot be overridden anymore.
-
- 16 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
-
- 13 Haz, 2000 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
Removed import of string module -- use string methods directly. Thanks to Finn Bock.
-
- 07 Haz, 2000 2 kayıt (commit)
-
-
Marc-André Lemburg yazdı
Added some more codec aliases. Some of them are needed by the new locale.py encoding support.
-
Marc-André Lemburg yazdı
codec can be used to effectively switch off string coercion to Unicode.
-
- 05 Nis, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
his copy of test_contains.py seems to be broken -- the lines he deleted were already absent). Checkin messages: New Unicode support for int(), float(), complex() and long(). - new APIs PyInt_FromUnicode() and PyLong_FromUnicode() - added support for Unicode to PyFloat_FromString() - new encoding API PyUnicode_EncodeDecimal() which converts Unicode to a decimal char* string (used in the above new APIs) - shortcuts for calls like int(<int object>) and float(<float obj>) - tests for all of the above Unicode compares and contains checks: - comparing Unicode and non-string types now works; TypeErrors are masked, all other errors such as ValueError during Unicode coercion are passed through (note that PyUnicode_Compare does not implement the masking -- PyObject_Compare does this) - contains now works for non-string types too; TypeErrors are masked and 0 returned; all other errors are passed through Better testing support for the standard codecs. Misc minor enhancements, such as an alias dbcs for the mbcs codec. Changes: - PyLong_FromString() now applies the same error checks as does PyInt_FromString(): trailing garbage is reported as error and not longer silently ignored. The only characters which may be trailing the digits are 'L' and 'l' -- these are still silently ignored. - string.ato?() now directly interface to int(), long() and float(). The error strings are now a little different, but the type still remains the same. These functions are now ready to get declared obsolete ;-) - PyNumber_Int() now also does a check for embedded NULL chars in the input string; PyNumber_Long() already did this (and still does) Followed by: Looks like I've gone a step too far there... (and test_contains.py seem to have a bug too). I've changed back to reporting all errors in PyUnicode_Contains() and added a few more test cases to test_contains.py (plus corrected the join() NameError).
-
- 31 Mar, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 28 Mar, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
The attached patch set includes a workaround to get Python with Unicode compile on BSDI 4.x (courtesy Thomas Wouters; the cause is a bug in the BSDI wchar.h header file) and Python interfaces for the MBCS codec donated by Mark Hammond. Also included are some minor corrections w/r to the docs of the new "es" and "es#" parser markers (use PyMem_Free() instead of free(); thanks to Mark Hammond for finding these). The unicodedata tests are now in a separate file (test_unicodedata.py) to avoid problems if the module cannot be found.
-