- 05 Şub, 2003 6 kayıt (commit)
-
-
Jack Jansen yazdı
-
Jack Jansen yazdı
we have a symlink somewhere in the TESTFN path.
-
Raymond Hettinger yazdı
to have a full dictionary interface.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
-
- 04 Şub, 2003 24 kayıt (commit)
-
-
Tim Peters yazdı
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 yazdı
instead of raising a TypeError. Closes #660144 (again).
-
Tim Peters yazdı
Moved such EXT tests as currently exist from TempAbstractPickleTests to AbstractPickleTests, so that test_cpickle runs them too.
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Walter Dörwald yazdı
subclasses. (Discussed in SF patch #665835)
-
Marc-André Lemburg yazdı
by Michael Stone (mbrierst). Python 2.1.4, 2.2.2 candidate.
-
Fred Drake yazdı
-
Walter Dörwald yazdı
signed/unsigned comparison warnings on the call to iconv(). Fix comment typos. From SF patch #680146.
-
Tim Peters yazdı
-
Walter Dörwald yazdı
str and unicode subclasses not just for generating the output but for testing too.
-
Walter Dörwald yazdı
so we can jump to the error handling code that does. (Spotted by Neal Norwitz)
-
Walter Dörwald yazdı
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 yazdı
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 yazdı
-
Fred Drake yazdı
continuing to call these "time tuples" is misleading at best. Closes SF bug #671731; will backport to 2.2.x.
-
Fred Drake yazdı
-
Raymond Hettinger yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
generate these opcodes.
-
Guido van Rossum yazdı
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 yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
Imported the extension-registry dicts from copy_reg.py, in preparation for tackling EXT[124].
-
- 03 Şub, 2003 10 kayıt (commit)
-
-
Walter Dörwald yazdı
-
Walter Dörwald yazdı
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 yazdı
all protocols, so tried them under all.
-
Tim Peters yazdı
hardcoded list.
-
Tim Peters yazdı
duplication. Note that these still don't get run under cPickle.
-
Tim Peters yazdı
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 yazdı
earlier than the ones in which they were introduced.
-
Walter Dörwald yazdı
-
Guido van Rossum yazdı
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.
-
Neal Norwitz yazdı
-