- 18 Kas, 2002 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
-
- 23 Eki, 2002 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
Python 2.2.3 candidate.
-
- 14 Eyl, 2002 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
2.2.2 candidate.
-
- 04 Eyl, 2002 1 kayıt (commit)
-
-
Walter Dörwald yazdı
Unicode strings (with arbitrary length) are allowed as entries in the unicode.translate mapping. Add a test case for multicharacter replacements. (Multicharacter replacements were enabled by the PEP 293 patch)
-
- 23 Agu, 2002 2 kayıt (commit)
-
-
Guido van Rossum yazdı
wrong thing for a unicode subclass when there were zero string replacements. The example given in the SF bug report was only one way to trigger this; replacing a string of length >= 2 that's not found is another. The code would actually write outside allocated memory if replacement string was longer than the search string. (I wonder how many more of these are lurking? The unicode code base is full of wonders.) Bugfix candidate; this same bug is present in 2.2.1.
-
Guido van Rossum yazdı
the string/unicode method .replace() with a zero-lengt first argument. Inyeol contributed tests for this too.
-
- 20 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
These were reported and fixed by Inyeol Lee in SF bug 595350. The endswith() bug was already fixed in 2.3, but this adds some more test cases.
-
- 11 Agu, 2002 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
u'%c' will now raise a ValueError in case the argument is an integer outside the valid range of Unicode code point ordinals. Closes SF bug #593581.
-
- 09 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
it does for 8-bit strings.
-
- 06 Agu, 2002 3 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Barry Warsaw yazdı
Py_UNICODE.
-
Barry Warsaw yazdı
string of longer than 1 character.
-
- 04 Agu, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 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. :)
-
- 23 May, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 22 Nis, 2002 1 kayıt (commit)
-
-
Walter Dörwald yazdı
http://www.python.org/sf/444708 This adds the optional argument for str.strip to unicode.strip too and makes it possible to call str.strip with a unicode argument and unicode.strip with a str argument.
-
- 17 Nis, 2002 1 kayıt (commit)
-
-
http://www.python.org/sf/536241Walter Dörwald yazdı
If a str or unicode method returns the original object, make sure that for str and unicode subclasses the original will not be returned. This should prevent SF bug http://www.python.org/sf/460020 from reappearing.
-
- 16 Nis, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 15 Nis, 2002 1 kayıt (commit)
-
-
http://www.python.org/sf/536241Walter Dörwald yazdı
Add a method zfill to str, unicode and UserString and change Lib/string.py accordingly. This activates the zfill version in unicodeobject.c that was commented out and implements the same in stringobject.c. It also adds the test for unicode support in Lib/string.py back in and uses repr() instead() of str() (as it was before Lib/string.py 1.62)
-
- 10 Nis, 2002 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
-
- 03 Nis, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates.
-
- 29 Mar, 2002 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 21 Mar, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
is "ignore". Fixes #529104.
-
- 07 Şub, 2002 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
Fix for the UTF-8 decoder: it will now accept isolated surrogates (previously it raised an exception which causes round-trips to fail). Added new tests for UTF-8 round-trip safety (we rely on UTF-8 for marshalling Unicode objects, so we better make sure it works for all Unicode code points, including isolated surrogates). Bumped the PYC magic in a non-standard way -- please review. This was needed because the old PYC format used illegal UTF-8 sequences for isolated high surrogates which now raise an exception.
-
- 06 Şub, 2002 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
bug related to lone high surrogates.
-
- 10 Ara, 2001 1 kayıt (commit)
-
-
Finn Bock yazdı
- the repr of unicode. Jython only add the u'' if the string contains char values > 255. - A unicode arg to unicode() is perfectly valid in jython. - A test buffer() test. No buffer() on Jython This closes patch "[ #490920 ] Jython and test_unicode".
-
- 01 Ara, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 28 Kas, 2001 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
-
- 20 Kas, 2001 2 kayıt (commit)
-
-
Marc-André Lemburg yazdı
This patch also does away with an incompatibility between Jython and CPython.
-
Marc-André Lemburg yazdı
-
- 19 Eki, 2001 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
This patch should also be applied to the 2.2b1 trunk.
-
- 04 Eki, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 21 Eyl, 2001 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
please let me know and we'll figure out how to fix the test.)
-
- 20 Eyl, 2001 2 kayıt (commit)
-
-
Marc-André Lemburg yazdı
works just like str(obj) in that it tries __str__/tp_str on the object in case it finds that the object is not a string or buffer.
-
Marc-André Lemburg yazdı
-
- 25 Tem, 2001 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
wide builds.
-
- 20 Tem, 2001 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
correctly and thus roundtrip-safe. Some minor cleanups of the code. Added tests for the roundtrip-safety.
-
- 27 Haz, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
Implement sys.maxunicode. Explicitly wrap around upper/lower computations for wide Py_UNICODE. When decoding large characters with UTF-8, represent expected test results using the \U notation.
-