Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | backport my checkin of | Michael W. Hudson | 2002-03-07 | 1 | -1/+7 |
| | | | | | | revision 1.6 of structseq.c Guido pointed out that I was missing a couple decrefs. | ||||
* | After some thinking, I decided to move all of this across onto | Michael W. Hudson | 2002-03-07 | 1 | -23/+76 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | backport my checkin of | Michael W. Hudson | 2002-03-05 | 1 | -1/+30 |
| | | | | | | | | | | | | revision 1.4 of structseq.c A fix & test for [ 496873 ] structseqs unpicklable by adding a __reduce__ method to structseqs. Will also commit this to the 2.2.1 branch momentarily. | ||||
* | structseq_new(): Conversion of sprintf() to PyOS_snprintf() for buffer | Barry Warsaw | 2001-11-28 | 1 | -1/+2 |
| | | | | overrun avoidance. | ||||
* | Fix bad bug in structseq slicing (NULL pointers in result). Reported by | Tim Peters | 2001-10-30 | 1 | -1/+1 |
| | | | | | | Jack Jansen on python-dev. Add simple test case. Move vereq() from test_descr to test_support (it's handy!). | ||||
* | Missing file structseq.c for SF patch #462296 | Guido van Rossum | 2001-10-18 | 1 | -0/+284 |