]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
After some thinking, I decided to move all of this across onto
authorMichael W. Hudson <mwh@python.net>
Thu, 7 Mar 2002 10:16:43 +0000 (10:16 +0000)
committerMichael W. Hudson <mwh@python.net>
Thu, 7 Mar 2002 10:16:43 +0000 (10:16 +0000)
commitaa3fd6f3dfdefb1b2efe553e8e9274eb177257fb
tree90d89be1a86a7c697e89a6b9f309c90daa763a14
parent38983bc5e3af22b5b923f809bcb06c0176123c0e
After some thinking, I decided to move all of this across onto
the branch.  I don't think it can break code, so the only risk
is introducing new bugs.  In that vein, can I ask -checkins readers
who have time to carefully look this over, check my refcounts &c?
TIA.

backport my checkin of
    revision 1.5 of structseq.c

Apply (my) patch:

[ 526072 ] pickling os.stat results round II

structseq's constructors can now take "invisible" fields in a dict.
Gave the constructors better error messages.
their __reduce__ method puts these fields in a dict.

(this is all in aid of getting os.stat_result's to pickle portably)

Also fixes

[ 526039 ] devious code can crash structseqs

Thought needed about how much of this counts as a bugfix.  Certainly
#526039 needs to be fixed.
Objects/structseq.c