- 05 Feb, 2003 7 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
we have a symlink somewhere in the TESTFN path.
-
Raymond Hettinger authored
to have a full dictionary interface.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
- 04 Feb, 2003 24 commits
-
-
Tim Peters authored
guarantee to keep valid pointers in its slots. tests: Moved ExtensionSaver from test_copy_reg into pickletester, and use it both places. Once extension codes get assigned, it won't be safe to overwrite them willy nilly in test suites, and ExtensionSaver does a thorough job of undoing any possible damage. Beefed up the EXT[124] tests a bit, to check the smallest and largest codes in each opcode's range too.
-
Neil Schemenauer authored
instead of raising a TypeError. Closes #660144 (again).
-
Tim Peters authored
Moved such EXT tests as currently exist from TempAbstractPickleTests to AbstractPickleTests, so that test_cpickle runs them too.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Walter Dörwald authored
subclasses. (Discussed in SF patch #665835)
-
Marc-André Lemburg authored
by Michael Stone (mbrierst). Python 2.1.4, 2.2.2 candidate.
-
Fred Drake authored
-
Walter Dörwald authored
signed/unsigned comparison warnings on the call to iconv(). Fix comment typos. From SF patch #680146.
-
Tim Peters authored
-
Walter Dörwald authored
str and unicode subclasses not just for generating the output but for testing too.
-
Walter Dörwald authored
so we can jump to the error handling code that does. (Spotted by Neal Norwitz)
-
Walter Dörwald authored
blindly assumed that tp_as_sequence->sq_item always returns a str or unicode object. This might fail with str or unicode subclasses. This patch checks whether the object returned from __getitem__ is a str/unicode object and raises a TypeError if not (and the filter function returned true). Furthermore the result for __getitem__ can be more than one character long, so checks for enough memory have to be done.
-
Jack Jansen authored
providing the format info, only the raw data). - Get rid of fsspecs. - Make the demo program at least do something if img not available.
-
Jack Jansen authored
-
Fred Drake authored
continuing to call these "time tuples" is misleading at best. Closes SF bug #671731; will backport to 2.2.x.
-
Fred Drake authored
-
Raymond Hettinger authored
-
Tim Peters authored
-
Tim Peters authored
generate these opcodes.
-
Guido van Rossum authored
this clarifies that they are part of an internal API (albeit shared between pickle.py, copy_reg.py and cPickle.c). I'd like to do the same for copy_reg.dispatch_table, but worry that it might be used by existing code. This risk doesn't exist for the extension registry.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
Imported the extension-registry dicts from copy_reg.py, in preparation for tackling EXT[124].
-
- 03 Feb, 2003 9 commits
-
-
Walter Dörwald authored
-
Walter Dörwald authored
module. This increases code coverage of Python/sysmodule.c from 68% to 77% (on Linux). The script doesn't exercise the error branch that handles an evil or lost sys.excepthook in Python/pythonrun.c::PyErr_PrintEx(). Also this script might not work on Jython in its current form. From SF patch #662807.
-
Tim Peters authored
all protocols, so tried them under all.
-
Tim Peters authored
hardcoded list.
-
Tim Peters authored
duplication. Note that these still don't get run under cPickle.
-
Tim Peters authored
because it seems more consistent with the rest of the code. cPickle_PyMapping_HasKey(): This extern function isn't used anywhere in Python or Zope, so got rid of it.
-
Tim Peters authored
earlier than the ones in which they were introduced.
-
Walter Dörwald authored
-
Guido van Rossum authored
extension implemented flush() was fixed. Scott also rewrite the zlib test suite using the unittest module. (SF bug #640230 and patch #678531.) Backport candidate I think.
-