- 04 Agu, 2004 1 kayıt (commit)
-
-
Hye-Shik Chang yazdı
unicodedata.east_asian_width(). You can still implement your own simple width() function using it like this: def width(u): w = 0 for c in unicodedata.normalize('NFC', u): cwidth = unicodedata.east_asian_width(c) if cwidth in ('W', 'F'): w += 2 else: w += 1 return w
-
- 17 Nis, 2004 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
Backported to 2.3.
-
- 01 May, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
-
- 07 Mar, 2003 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 26 Şub, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
cases increasing coverage in unicodedata.c from 87% to 95% (when the normalization tests are run). From SF patch #662807.
-
- 23 Tem, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
-
- 17 Ock, 2001 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
-
- 23 Eki, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 27 Eyl, 2000 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
-
- 26 Eyl, 2000 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
only tested a few cases.
-
- 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.
-