https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
6f3e109 This commit was manufactured by cvs2svn to create tag 'r223c1'. 22 May 2003, 19:13:35 UTC
ae7bc13 Go ahead and label this 2.2.3c1 22 May 2003, 19:13:35 UTC
f828b41 A bunch of NEWS file updates 22 May 2003, 18:55:13 UTC
4ab4393 Squash new compiler wng (mistmatching formal/actual pointer types). 22 May 2003, 18:45:47 UTC
826f68b Backport fix for SF bug 692776. Add a tp_new slot to function objects that handles the case of a function requiring a closure. Put the function type in the new module, rather than having a function new.function(). Add tests. 22 May 2003, 18:11:20 UTC
8e0ef04 Link the dbm module against gdbm if it exists and if no earlier library match was found. This fixes dbm on RedHat 9 and doesn't appear (so far <wink>) to have any regressions on other *nixes. 22 May 2003, 17:36:54 UTC
a74d9fe Backport Jeremy's fix: req.method should be req.get_method. 22 May 2003, 17:30:48 UTC
c012951 Backport fix for SF bug #741171: pdb crashes when enabling a non-existing breakpoint 22 May 2003, 17:25:21 UTC
6c75479 Backport fix for SF bug 734869 and sundry compiler cleanups. 22 May 2003, 16:43:04 UTC
1fda5e5 Assorted 2.2.3c1 and copyright changes specific to Windows. 22 May 2003, 15:39:10 UTC
2ad5730 update copyright dates 22 May 2003, 15:30:22 UTC
a63beee Correct dependency information -- the Python docs load the "About this document" text from html/stdabout.dat, not html/about.dat. 22 May 2003, 15:28:22 UTC
92a21a4 Update Python release version and copyright years 22 May 2003, 15:21:06 UTC
cf9727f Twiddle the banner 22 May 2003, 15:15:05 UTC
6314b22 Minor elaboration in the information about reporting errors. 22 May 2003, 15:09:55 UTC
49a5f47 update version/release information 22 May 2003, 14:56:37 UTC
bccf8f3 update version history 22 May 2003, 14:50:27 UTC
380a42c the release manager has been fixed; this *will* be a release candidate 22 May 2003, 14:48:28 UTC
53b0179 Prepare for 2.2.3c1 (release candidate 1) 22 May 2003, 14:44:31 UTC
8674212 Start preparing the doc tree for 2.2.3. 22 May 2003, 13:59:30 UTC
97719c9 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. 21 May 2003, 20:43:10 UTC
54d9cdf A few new news items 20 May 2003, 22:34:18 UTC
6faa3d0 GNUTranslations._parse(): Backport of fix for SF bug #658233, where continuation lines in .po metadata caused a crash. Also, export more symbols from __all__. 20 May 2003, 22:33:03 UTC
8b4226b Slight rephrasing of the OSX stacksize problem with test_re. 20 May 2003, 21:49:31 UTC
cf65dce These were added on the main branch, but never on the 2.2 branch. 20 May 2003, 20:25:59 UTC
91cfc50 Backport: Don't mention __slots__ as a technique for error avoidance 20 May 2003, 18:13:14 UTC
a92eb4b Remove unused line numbers from example code. Line numbering of examples is not used elsewhere. 20 May 2003, 15:20:33 UTC
2ca9bbc Patch #499513: use readline() instead of readlines(). Removed the unnecessary redirection limit code which is already in FancyURLopener. Backport of 1.12. 20 May 2003, 06:19:36 UTC
6c57bb8 SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous password Instead of sending the real user and host, use "anonymous@" (i.e. no host name at all!) as the default anonymous FTP password. This avoids privacy violations. Backport of 1.62, 1.63. 20 May 2003, 06:16:55 UTC
52b8743 Fixing typo from previous patch. 20 May 2003, 02:54:41 UTC
9dbdfca Add docs for use of key_file and cert_file parameters. 20 May 2003, 02:51:38 UTC
a63d35f Change docstrings for __(get|set|del)slice__ to note that negative indices are not supported. 20 May 2003, 02:42:04 UTC
feacecc Only look for krb5.h if ssl.h was found. Backport of 1.166. Fixes bug reported in comment to #728322. 18 May 2003, 13:42:58 UTC
f1e89b1 Correct typo in check for _tkinter prerequisites. Backport of 1.162. 18 May 2003, 13:40:03 UTC
0ea0a18 minor fix, jython-only. Don't asssume stdout to save is the ur-stdout. 17 May 2003, 12:50:33 UTC
e163df1 beefed up version: jython support, covers now fixed differences between CPython/Jython. 17 May 2003, 02:35:37 UTC
6f25f29 Backport fix for compile_command("",symbol="eval") raising syntax error about "pass". Now returns None. 16 May 2003, 21:57:23 UTC
ceb58a7 Fix nits found by Tools\scripts\texcheck.py 16 May 2003, 03:08:36 UTC
b5dd257 Fix broken API descriptions in comments. 12 May 2003, 21:38:50 UTC
dc39bc6 Add a specific mention of the term "operator overloading" and add an index entry. Suggested to python-docs. 12 May 2003, 13:50:41 UTC
d8136b5 Backport fixes to make more types collectable. classmethod, staticmethod, cPickle.Pickler, cPickle.UNpickler 09 May 2003, 18:29:21 UTC
9cc51f1 Backporting email 2.5.2 fixes. 08 May 2003, 04:00:05 UTC
8fc096a add missing parens - verified w/ interpreter - sorry to dismiss your comment Fred 07 May 2003, 16:02:06 UTC
6069b64 replace most uses of `...` by repr(...), noting that `...` is discouraged, but convenient in interactive sessions. 07 May 2003, 15:29:53 UTC
8a625c9 Backport better fix for newurl as suggested by Jim Jewett in SF bug #730963. 05 May 2003, 04:10:40 UTC
1f5df13 Backport fix for SF #723831: urlopen() raises URLError. 05 May 2003, 03:18:41 UTC
7aed4a3 Patch #708604: Check more function results. 03 May 2003, 10:53:51 UTC
fa90c3e 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. 30 April 2003, 19:24:59 UTC
594d4c5 At the site of an indexed reference to print, point to the relevant documentation. Closes SF bug #723136. 30 April 2003, 16:43:51 UTC
7f9cbf1 - clean up some extra punctuation hidden in indexing markup - fix a typo and one markup nit - normalize whitespace 29 April 2003, 13:55:20 UTC
9a3638f Clarify that the timeout argument to read_until() is in seconds. 29 April 2003, 13:38:42 UTC
9b88e15 SF bug #729096: getopt online documentation example improvement A newbie found it difficult to translate the exampe into a case that used only short options or long options but not both. He tried to shorten the tuple search but forgot the trailing comma, The appropriate pattern is an equality check. Revised the example to point him in the right direction. 29 April 2003, 04:37:13 UTC
971f0f0 detect_modules(): On Redhat 9, building the ssl stuff eventually includes krb5.h. Copy the krb5_h stanza from Python 2.3's setup.py which seems to fix the problem. 27 April 2003, 04:00:01 UTC
0215756 backport of note arising from bug 711019. 26 April 2003, 02:59:46 UTC
468f44f Markup change; make the notice a little stronger by using the "boxed" version. 25 April 2003, 22:09:23 UTC
a749183 Add modified versions of the examples from Sean Reifschneider (SF patch #545480). 25 April 2003, 15:29:22 UTC
4f017eb Backport the Carlo Verre fix. 25 April 2003, 05:40:32 UTC
74e2df6 Backport 1.157 SF Patch 549151: urllib2 POSTs on redirect (contributed by John J Lee) 25 April 2003, 05:36:48 UTC
4c71886 Backport 1.157 and 1.39 SF Patch 549151: urllib2 POSTs on redirect (contributed by John J Lee) 25 April 2003, 05:33:07 UTC
368c36f Backport 1.47 and 1.7 SF Patch 549151: urllib2 POSTs on redirect (contributed by John J Lee) 25 April 2003, 05:31:43 UTC
ed1eff7 Backport 1.18: SF bug 557704: netrc module can't handle all passwords Let netrc handle entries with login fields (mail servers for instance) by having login default to ''. 25 April 2003, 04:37:40 UTC
2a1ad9c Add cross-references between urllib.urlencode() and cgi.parse_qs[l](). Closes SF bug #724751. 24 April 2003, 16:25:07 UTC
052d587 Include notice that the rotor module will be deprecated in Python 2.3. 24 April 2003, 13:47:08 UTC
62308cb Fix documentation errors in regards to urlretrieve() and local files. Also fix typos in urllib lib doc. 24 April 2003, 02:46:35 UTC
f6b74da backport note about password limitations 23 April 2003, 20:36:18 UTC
c18cc56 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. 23 April 2003, 20:14:12 UTC
1fb996f Backport 1.17 adding punctuation as allowable characters 23 April 2003, 19:37:42 UTC
2c29dae Patch #681152: Support escaped unicode characters in classes. Fixes 612074. 19 April 2003, 08:39:04 UTC
52773e3 Patch #716969: Detect thread creation failure. 19 April 2003, 07:46:28 UTC
b15021e Patch #711835: Remove unnecessary lock operations. 18 April 2003, 11:21:22 UTC
55ed680 Added documentation for the handle_pi() method, based on SF patch #662464. Closes SF bug #659188, patch #662464. 17 April 2003, 22:37:50 UTC
b4d53fd As discussed on python-dev, revised docs to note that PyObject_IsTrue() can have an error result. Also, added missing docs for PyObject_Not(). 16 April 2003, 17:30:15 UTC
9976fdf Backport: Fix SF bug #697220, string.strip implementation/doc mismatch Attempt to make all the various string/unicode *strip methods the same. * Doc - add doc for when functions were added * UserString * string/unicode object methods * string module functions 'chars' is used for the last parameter everywhere. 11 April 2003, 18:21:22 UTC
ef582ab Backport: PyErr_NormalizeException(): in the type==NULL test, we should simply return. Setting an exception can mess with the exception state, and continuing is definitely wrong (since type is dereferenced later on). Some code that calls this seems to be prepared for a NULL exception type, so let's be safe rather than sorry and simply assume there's nothing to normalize in this case. 10 April 2003, 20:30:18 UTC
d065a13 Backport reference leak fix from HEAD revision 1.79. 09 April 2003, 18:19:24 UTC
273888e Backport comments about PyObject_Type() (HEAD revisions 1.24, 1.25). 09 April 2003, 18:17:18 UTC
c927c8a Backport from trunk: property_traverse() should also traverse into prop_doc -- there's no typecheck that guarantees it's a string, and BTW string subclasses could hide references. 09 April 2003, 17:06:31 UTC
8998a81 Fixed the gc-vs-__del__ bugs for new-style classes. That's it for this one. 08 April 2003, 20:33:05 UTC
1ac3849 Backporting new gc-vs-__del__ tests. These pass, but are restricted to old-style classes. New-style classes remain vulnerable in 2.2. 08 April 2003, 19:32:53 UTC
539afe0 More backporting of gc-vs-__del__ fixes. It should be fixed for instances of classic classes now. Alas, new-style classes are still a problem, and didn't need to be fixed in 2.3 (they were already immune in 2.3 due to the new-in-2.3 tp_del slot). 08 April 2003, 19:13:14 UTC
82550d5 Added private API function _PyInstance_Lookup(). This is part of backporting fixes so that garbage collection doesn't have to trigger execution of arbitrary Python code just to figure out whether an object has a __del__ method. 08 April 2003, 19:02:34 UTC
71e300e Added example of using positional and keyword args with atexit.register(). Based on a suggestion from a reader. 08 April 2003, 17:46:33 UTC
d900425 Backporting: typed_subpart_iterator(): Fix these to use non-deprecated APIs, i.e. get_content_maintype() and get_content_subtype(). 04 April 2003, 02:48:18 UTC
27a93d7 Backporting email 2.5.1 patches. 04 April 2003, 02:47:07 UTC
4a1d0f5 Backporting: revision 1.27 date: 2003/03/30 20:46:47; author: bwarsaw; state: Exp; lines: +3 -3 __unicode__(): Fix the logic for calculating whether to add a separating space or not between encoded chunks. Closes SF bug #710498. 04 April 2003, 02:46:38 UTC
f953500 Fix memory corruption in garbage collection. The move_finalizers() routine checks each object in the unreachable list to see if it has a finalizer. If it does, it is moved to the finalizers list. The collector checks by calling, effectively, hasattr(obj, "__del__"). The hasattr() call can result in an arbitrary amount of Python code being run, because it will invoke getattr hooks on obj. If a getattr() hook is run from move_finalizers(), it may end up resurrecting or deallocating objects in the unreachable list. In fact, it's possible that the hook causes the next object in the list to be deallocated. That is, the object pointed to by gc->gc.gc_next may be freed before has_finalizer() returns. The problem with the previous revision is that it followed gc->gc.gc_next before calling has_finalizer(). If has_finalizer() gc->happened to deallocate the object FROM_GC(gc->gc.gc_next), then the next time through the loop gc would point to freed memory. The fix is to always follow the next pointer after calling has_finalizer(). Note that Python 2.3 does not have this problem, because has_finalizer() checks the tp_del slot and never runs Python code. Tim, Barry, and I peed away the better part of two days tracking this down. 03 April 2003, 23:02:29 UTC
62ed948 Remove trailing newline. 01 April 2003, 15:40:07 UTC
44198f0 This was failing on Windows, due to various attempts to delete files that were still open. Made the tail end of the test look more like the CVS head version. 31 March 2003, 22:48:29 UTC
bc12473 note test_locale skip 31 March 2003, 22:12:37 UTC
18711bc backport test skip for test_locale on Mac OS X 31 March 2003, 22:11:45 UTC
8c451a7 note test_largefile restriction on Mac OS X 31 March 2003, 21:59:05 UTC
ddf625b backport largefile resource requirement for Mac OSX 31 March 2003, 17:42:52 UTC
fb5d378 Match some of the markup changes from the trunk. 31 March 2003, 16:45:22 UTC
b9ea876 Fix symbol in grammar; this should fix some hyperlinking in the HTML version. 31 March 2003, 14:54:18 UTC
3c5173c Patch #710576: Implement per-interpreter-state codec registries. 30 March 2003, 20:57:31 UTC
31ec28b SF patch #706338, Fix a few broken links in pydoc by Greg Chapman 30 March 2003, 20:31:49 UTC
342c42b Backport Patch 659834 checked in by GvR on 2002/12/30 16:25:38 Check for readline 2.2 features. This should make it possible to compile readline.c again with GNU readline versions 2.0 or 2.1; this ability was removed in readline.c rev. 2.49. Apparently the older versions are still in widespread deployment on older Solaris installations. With an older readline, completion behavior is subtly different (a space is always added). 30 March 2003, 19:26:50 UTC
fa8b672 Patch #695250: Suppress COPYRIGHT if site.py is not read. Fixes #672614. 30 March 2003, 17:00:58 UTC
80288f4 Backport Patch 659834 checked in by GvR on 2002/12/30 16:25:38 Check for readline 2.2 features. This should make it possible to compile readline.c again with GNU readline versions 2.0 or 2.1; this ability was removed in readline.c rev. 2.49. Apparently the older versions are still in widespread deployment on older Solaris installations. With an older readline, completion behavior is subtly different (a space is always added). 29 March 2003, 22:25:18 UTC
a43f281 Patch #707701: Expect '??' in events. Fixes #698517. 29 March 2003, 09:48:12 UTC
back to top