- 30 Ock, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Contributed by Jp Calderone.
-
- 29 Ock, 2003 21 kayıt (commit)
-
-
Mark Hammond yazdı
Note this code is not used by the core on Win32, but in a block used only by Windows CE.
-
Guido van Rossum yazdı
-
Tim Peters yazdı
popped a MARK, but without stack emulation the disassembler couldn't know that, and subsequent indentation got hosed. Now the disassembler does do enough stack emulation to catch this. While I was at it, also added lots of sanity checks for other stack operations, and correct use of the memo. This goes (I think) a long way toward being a "pickle verifier" now too.
-
Guido van Rossum yazdı
types. The special handling for these can now be removed from save_newobj(). Add some testing for this. Also add support for setting the 'fast' flag on the Python Pickler class, which suppresses use of the memo.
-
Guido van Rossum yazdı
want it to be. Log both the old and new mode.
-
Jack Jansen yazdı
- Added test_aepack to the mac/darwin specific tests.
-
Skip Montanaro yazdı
-
Michael W. Hudson yazdı
[ 676521 ] parser module validation failure bugfix candidate.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
test_macfs found an error on the first day of its existence: round trips for date values to FSSpec.{Get,Set}Dates didn't work in MacPython-OS9. Fixed.
-
Guido van Rossum yazdı
between cPickle and pickle.py regarding __safe_for_unpickling__ before Python 2.3.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
TempAbstractPickleTests, because they don't work with cPickle yet.
-
Fred Drake yazdı
more, to make it easier to tell apart from the verbatim content.
-
Fred Drake yazdı
interfere with the flow of the sentence.
-
Tim Peters yazdı
-
Tim Peters yazdı
pickletools: Import decode_long from pickle instead of duplicating it.
-
Tim Peters yazdı
-
Tim Peters yazdı
sys.platform != mac. Likewise expect test_win{reg,sound} to get skipped on non-win32 platforms.
-
- 28 Ock, 2003 18 kayıt (commit)
-
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Tim Peters yazdı
only get run by test_pickle.py now (& not by test_cpickle.py). This should be undone when protocol 2 is implemented in cPickle too. test_cpickle should pass again.
-
Guido van Rossum yazdı
__getnewargs__ method.
-
Guido van Rossum yazdı
Also tidied up a few lines, got rid of apply(), added a comment.
-
Tim Peters yazdı
fails, for reasons unrelated to this patch.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
object.__reduce__, do a getattr() on the class so we can explicitly test for it. The reduce()-calling code becomes a bit more regular as a result. Also add support slots: if an object has slots, the default state is (dict, slots) where dict is the __dict__ or None, and slots is a dict mapping slot names to slot values. We do a best-effort approach to find slot names, assuming the __slots__ fields of classes aren't modified after class definition time to misrepresent the actual list of slots defined by a class.
-
Fred Drake yazdı
-
Jack Jansen yazdı
and also create a symlink "python" pointing to "python$(VERSION)". Fixes #675745.
-
Jack Jansen yazdı
non-windowing Python.
-
Jack Jansen yazdı
macostools.
-
Guido van Rossum yazdı
isn't checked in yet. :-(
-
Tim Peters yazdı
start for the C implemention of new pickle LONG1 and LONG4 opcodes (the linear-time way to pickle a long is to call _PyLong_AsByteArray, but the caller has no idea how big an array to allocate, and correct calculation is a bit subtle).
-
Guido van Rossum yazdı
possibility of calling save_reduce(). Add a special hack for this. The tests for this are much simpler now (no __getstate__ or __getnewargs__ needed).
-