- 19 Dec, 2000 7 commits
-
-
Guido van Rossum authored
exceptions but always print a warning message.
-
Guido van Rossum authored
required to work around restrictions on the arguments of u.translate(): 1) don't pass the deletions argument if it's empty; 2) convert table to Unicode if s is Unicode. This fixes SF bug #124060.
-
Guido van Rossum authored
-
Guido van Rossum authored
1) multi-char separator 2) multi-char separator that only occurs at last position 3) all of the above with mixed Unicode and 8-bit-string arguments
-
Guido van Rossum authored
bugs #126161 and 123634). The solution doesn't use the unicode-escape encoding; that has other problems (it seems not 100% reversible). Rather, it transforms the input Unicode object slightly before encoding it using raw-unicode-escape, so that the decoding will reconstruct the original string: backslash and newline characters are translated into their \uXXXX counterparts. This is backwards incompatible for strings containing backslashes, but for some of those strings, the pickling was already broken. Note that SF bug #123634 complains specifically that cPickle fails to unpickle the pickle for u'' (the empty Unicode string) correctly. This was an off-by-one error in load_unicode(). XXX Ugliness: in order to do the modified raw-unicode-escape, I've cut-and-pasted a copy of PyUnicode_EncodeRawUnicodeEscape() into this file that also encodes '\\' and '\n'. It might be nice to migrate this into the Unicode implementation and give this encoding a new name ('half-raw-unicode-escape'? 'pickle-unicode-escape'?); that would help pickle.py too. But right now I can't be bothered with the necessary infrastructural changes.
-
Guido van Rossum authored
-
Guido van Rossum authored
bugs #126161 and 123634). The solution doesn't use the unicode-escape encoding; that has other problems (it seems not 100% reversible). Rather, it transforms the input Unicode object slightly before encoding it using raw-unicode-escape, so that the decoding will reconstruct the original string: backslash and newline characters are translated into their \uXXXX counterparts. This is backwards incompatible for strings containing backslashes, but for some of those strings, the pickling was already broken.
-
- 18 Dec, 2000 3 commits
-
-
Guido van Rossum authored
#125981: closing sockets was not thread-safe.
-
Neil Schemenauer authored
-
Fred Drake authored
numbers" instead; we have not described "reals" anywhere else in the documentation, and this is not the place to change the story! Reported by Keith Briggs <keith.briggs@bt.com>.
-
- 17 Dec, 2000 1 commit
-
-
Neil Schemenauer authored
open_flags which contains the flags supported by gdbm. Closes patch #102802.
-
- 16 Dec, 2000 3 commits
-
-
Fred Drake authored
Fix a small style consistency nit.
-
Fred Drake authored
version of Python. ;-(
-
Fred Drake authored
with Python 1.5.2 for now.
-
- 15 Dec, 2000 25 commits
-
-
Fred Drake authored
did not include it in the signature. Fixed some markup nits.
-
Fred Drake authored
-
Guido van Rossum authored
PySys_AddWarnOption().
-
Guido van Rossum authored
PySys_AddWarnOption().
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
etc.).
-
Guido van Rossum authored
etc.) and the PyErr_Warn() function.
-
Fred Drake authored
it much easier to see where things went wrong.
-
Fred Drake authored
-
Guido van Rossum authored
c.l.py.
-
Fred Drake authored
-
Guido van Rossum authored
-
Guido van Rossum authored
string.digits are left.
-
Guido van Rossum authored
There should really be a little tool to help with this -- it's rather tedious and there are lots of special cases!
-
Guido van Rossum authored
obsolete!). Fix a bug in ftpwrapper.retrfile() where somehow ftplib.error_perm was assumed to be a string. (The fix applies str().) Also break some long lines and change the output from test() slightly.
-
Andrew M. Kuchling authored
(Oh, look, it adds another little utility function for testing)
-
Andrew M. Kuchling authored
index at which an unknown %-escape was found
-
Fred Drake authored
Clarify that invert() is a *bitwise* operation.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
Add reference to demo directory
-
Andrew M. Kuchling authored
malloc() returning NULL
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
ncurses.py requires panel support, and therefore doesn't work yet.
-
- 14 Dec, 2000 1 commit
-
-
Jack Jansen authored
-