1052 Commits

Author SHA1 Message Date
Guido van Rossum
f42837c899 Security fix PSF-2005-001 for SimpleXMLRPCServer.py. 2005-02-03 14:58:41 +00:00
Jeremy Hylton
886849a282 Backport: Double-fix of crash in Unicode freelist handling. 2003-09-17 03:32:41 +00:00
Barry Warsaw
b3a5b04635 NEWS about email package 794466 patch. 2003-09-03 04:15:23 +00:00
Barry Warsaw
673163869d Describe the fix to the email package. 2003-08-19 04:55:06 +00:00
Martin v. Löwis
e2c5dc702a Patch #772696: Delete .cvsignore files. 2003-08-05 06:30:45 +00:00
Anthony Baxter
c52b0366af backport for 753451 2003-07-13 13:55:55 +00:00
Neal Norwitz
a3d818fc7b Fix SF bug #763023, difflib.py: ratio() zero division not caught 2003-07-01 15:12:33 +00:00
Neal Norwitz
91bde2bf99 Backport:
SF bug 753592, websucker

Pass the proper variable when the user supplies a directory.
2003-07-01 04:17:25 +00:00
Martin v. Löwis
e348c6d1a7 copy and deepcopy builtin functions atomically. Fixes #746304.
Also backport 2.36 (deepcopy classes atomically).
2003-06-14 07:20:04 +00:00
Barry Warsaw
1db3e75e3a Install Sean's updated spec 2003-06-13 19:30:53 +00:00
Barry Warsaw
c70811ddbc Last minute NEWS file updates 2003-05-30 20:57:36 +00:00
Tim Peters
67300f4e1b Typo repair. 2003-05-29 19:31:15 +00:00
Tim Peters
b0f53abfe2 Fleshed out the WeakKeyDictionary.__delitem__ news, since this can change
visible behavior.
2003-05-29 19:26:06 +00:00
Guido van Rossum
a0ac74c400 All the news that's fit to print (I reviewed the CVS log since the
bump of patchlevel.h).
2003-05-29 19:21:38 +00:00
Neal Norwitz
d00429860f Add section for 2.2.3 final and memory leak plug for tkinter 2003-05-29 19:03:43 +00:00
Barry Warsaw
7496e18f62 Spec file update from Sean Reifschneider. 2003-05-27 14:36:02 +00:00
Jack Jansen
e9ac7201fd Backport of 1.48: on Mac OS X don't use -R for runtime_library_dirs, use
-L in stead. Fixes #723495.
2003-05-23 22:34:39 +00:00
Barry Warsaw
ae7bc13482 Go ahead and label this 2.2.3c1 2003-05-22 19:13:35 +00:00
Barry Warsaw
f828b412ad A bunch of NEWS file updates 2003-05-22 18:55:13 +00:00
Tim Peters
97719c9ce5 PyType_Ready(): Complain if the type is a base type, and gc'able, and
tp_free is NULL or PyObject_Del at the end.  Because it's a base type
it must call tp_free in its dealloc function, and because it's gc'able
it must not call PyObject_Del.

inherit_slots():  Don't inherit tp_free unless the type and its base
agree about whether they're gc'able.  If the type is gc'able and the
base is not, and the base uses the default PyObject_Del for its
tp_free, give the type PyObject_GC_Del for its tp_free (the appropriate
default for a gc'able type).

cPickle.c:  The Pickler and Unpickler types claim to be base classes
and gc'able, but their dealloc functions didn't call tp_free.
Repaired that.  Also call PyType_Ready() on these typeobjects, so
that the correct (PyObject_GC_Del) default memory-freeing function
gets plugged into these types' tp_free slots.
2003-05-21 20:43:10 +00:00
Barry Warsaw
54d9cdfc0c A few new news items 2003-05-20 22:34:18 +00:00
Jeremy Hylton
d8136b500a Backport fixes to make more types collectable.
classmethod, staticmethod, cPickle.Pickler, cPickle.UNpickler
2003-05-09 18:29:21 +00:00
Tim Peters
fa90c3e468 file_truncate(): Backported 2.3 code so that file.truncate(n) works on
Windows when n is too big to fit in a 32-bit int.  This was a hole in
2.2's large file support on Windows, and turns out it's a bad hole at
least for ZODB.
2003-04-30 19:24:59 +00:00
Guido van Rossum
4f017eb311 Backport the Carlo Verre fix. 2003-04-25 05:40:32 +00:00
Tim Peters
c18cc56c21 fsync(): Implemented for Windows, via calling MS _commit. This counts
as "a bug" because there's no other way in core Python to ensure that
bytes written are actually on disk.  At least ZODB wants this guarantee,
for robustness against crashes.
2003-04-23 20:14:12 +00:00