| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
too.
|
| |
|
|
| |
Becker. (closes #11828)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83226 | georg.brandl | 2010-07-29 16:17:12 +0200 (Do, 29 Jul 2010) | 1 line
#1090076: explain the behavior of *vars* in get() better.
........
r83227 | georg.brandl | 2010-07-29 16:23:06 +0200 (Do, 29 Jul 2010) | 1 line
Use Py_CLEAR().
........
r83229 | georg.brandl | 2010-07-29 16:32:22 +0200 (Do, 29 Jul 2010) | 1 line
#9407: document configparser.Error.
........
r83230 | georg.brandl | 2010-07-29 16:36:11 +0200 (Do, 29 Jul 2010) | 1 line
Use correct directive and name.
........
r83232 | georg.brandl | 2010-07-29 16:49:08 +0200 (Do, 29 Jul 2010) | 1 line
#9388: remove ERA_YEAR which is never defined in the source code.
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83444 | georg.brandl | 2010-08-01 22:51:02 +0200 (So, 01 Aug 2010) | 1 line
Revert r83395, it introduces test failures and is not necessary anyway since we now have to nul-terminate the string anyway.
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83395 | georg.brandl | 2010-08-01 10:49:18 +0200 (So, 01 Aug 2010) | 1 line
#8821: do not rely on Unicode strings being terminated with a \u0000, rather explicitly check range before looking for a second surrogate character.
........
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82573 | senthil.kumaran | 2010-07-05 17:30:56 +0530 (Mon, 05 Jul 2010) | 3 lines
Fix the docstrings of the capitalize method.
........
|
| | |
|
| | |
|
| |
|
|
|
| |
the interpreter with characters outside the Basic Multilingual Plane
(higher than 0x10000).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) #8271: when a byte sequence is invalid, only the start byte and all the
valid continuation bytes are now replaced by U+FFFD, instead of replacing
the number of bytes specified by the start byte.
See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95);
2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes
in behavior);
3) Add code and tests to reject surrogates (U+D800-U+DFFF) as defined in
RFC 3629, but leave it commented out since it's not backward compatible;
4) Change the error messages "unexpected code byte" to "invalid start byte"
and "invalid data" to "invalid continuation byte";
5) Add an extensive set of tests in test_unicode;
6) Fix test_codeccallbacks because it was failing after this change.
|
| |
|
|
| |
Found using Clang's static analyzer.
|
| | |
|
| |
|
|
| |
to Unicode Standard Annex #14.
|
| |
|
|
| |
CObject to PyCapsule.
|
| | |
|
| |
|
|
| |
UnicodeDecodeError if 'char' is a byte string that can't be decoded using the default encoding.
|
| |
|
|
| |
=> raise an UnicodeDecodeError. Patch written by Ezio Melotti.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
methods of bytes, bytearray and unicode objects by using a common
implementation based on stringlib's fast search. Patch by Florent Xicluna.
|
| |
|
|
|
|
|
| |
any errors that might occur during coercion of the left operand and
turning them into a TypeError with a message text that was confusing in
the given context. This patch lets any errors through, as was already
done during coercion of the right hand side.
|
| |
|
|
| |
case. Much of the patch came from Mark Dickinson.
|
| |
|
|
|
| |
%f-style formatting, which used to occur at high precision. Float formatting
should now be consistent between 2.7 and 3.1.
|
| |
|
|
|
| |
first step towards removing the %f -> %g switch (see issues 7117,
5859).
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
UTF-32 stream with a non-raising error handler like "replace" or "ignore".
|
| | |
|
| |
|
|
|
|
|
| |
Without this change, test_unicode.UnicodeTest.test_codecs_utf7 crashes in
debug mode. What happens is the unicode string u'\U000abcde' with a length
of 1 encodes to the string '+2m/c3g-' of length 8. Since only 5 bytes is
reserved in the buffer, a buffer overrun occurs.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
sequences.
Patch by Nick Barnes and Victor Stinner.
|
| | |
|
| |
|
|
|
|
| |
PyUnicode_DecodeUTF8() once, remember the result and output it in a second
step. This avoids problems with counting UTF-8 bytes that ignores the effect
of using the replace error handler in PyUnicode_DecodeUTF8().
|
| |
|
|
|
|
| |
If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great.
Will port to py3k with a different strategy.
|
| |
|
|
| |
as well as stringobject.c.
|
| |
|
|
| |
with fabs(x) >= 1e50, and fix documentation.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
sizeof(Py_UNICODE) == 2, PyUnicode_FromWideChar now converts
each character outside the BMP to the appropriate surrogate pair.
Thanks Victor Stinner for the patch.
(backport of r70452 from py3k to trunk)
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
things uglier
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Make the _PyUnicode_Resize macro a static function.
These changes are needed to avoid breaking strict aliasing rules.
|