ae7bc13 | Barry Warsaw | 22 May 2003, 19:13:35 UTC | Go ahead and label this 2.2.3c1 | 22 May 2003, 19:13:35 UTC |
f828b41 | Barry Warsaw | 22 May 2003, 18:55:13 UTC | A bunch of NEWS file updates | 22 May 2003, 18:55:13 UTC |
4ab4393 | Tim Peters | 22 May 2003, 18:45:47 UTC | Squash new compiler wng (mistmatching formal/actual pointer types). | 22 May 2003, 18:45:47 UTC |
826f68b | Jeremy Hylton | 22 May 2003, 18:11:20 UTC | 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 | Barry Warsaw | 22 May 2003, 17:36:54 UTC | 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 | Raymond Hettinger | 22 May 2003, 17:30:48 UTC | Backport Jeremy's fix: req.method should be req.get_method. | 22 May 2003, 17:30:48 UTC |
c012951 | Andrew M. Kuchling | 22 May 2003, 17:25:21 UTC | Backport fix for SF bug #741171: pdb crashes when enabling a non-existing breakpoint | 22 May 2003, 17:25:21 UTC |
6c75479 | Jeremy Hylton | 22 May 2003, 16:43:04 UTC | Backport fix for SF bug 734869 and sundry compiler cleanups. | 22 May 2003, 16:43:04 UTC |
1fda5e5 | Tim Peters | 22 May 2003, 15:39:10 UTC | Assorted 2.2.3c1 and copyright changes specific to Windows. | 22 May 2003, 15:39:10 UTC |
2ad5730 | Fred Drake | 22 May 2003, 15:30:22 UTC | update copyright dates | 22 May 2003, 15:30:22 UTC |
a63beee | Fred Drake | 22 May 2003, 15:28:22 UTC | 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 | Barry Warsaw | 22 May 2003, 15:21:06 UTC | Update Python release version and copyright years | 22 May 2003, 15:21:06 UTC |
cf9727f | Barry Warsaw | 22 May 2003, 15:15:05 UTC | Twiddle the banner | 22 May 2003, 15:15:05 UTC |
6314b22 | Fred Drake | 22 May 2003, 15:09:55 UTC | Minor elaboration in the information about reporting errors. | 22 May 2003, 15:09:55 UTC |
49a5f47 | Fred Drake | 22 May 2003, 14:56:37 UTC | update version/release information | 22 May 2003, 14:56:37 UTC |
bccf8f3 | Fred Drake | 22 May 2003, 14:50:27 UTC | update version history | 22 May 2003, 14:50:27 UTC |
380a42c | Fred Drake | 22 May 2003, 14:48:28 UTC | the release manager has been fixed; this *will* be a release candidate | 22 May 2003, 14:48:28 UTC |
53b0179 | Barry Warsaw | 22 May 2003, 14:44:31 UTC | Prepare for 2.2.3c1 (release candidate 1) | 22 May 2003, 14:44:31 UTC |
8674212 | Fred Drake | 22 May 2003, 13:59:30 UTC | Start preparing the doc tree for 2.2.3. | 22 May 2003, 13:59:30 UTC |
97719c9 | Tim Peters | 21 May 2003, 20:43:10 UTC | 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 | Barry Warsaw | 20 May 2003, 22:34:18 UTC | A few new news items | 20 May 2003, 22:34:18 UTC |
6faa3d0 | Barry Warsaw | 20 May 2003, 22:33:03 UTC | 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 | Jack Jansen | 20 May 2003, 21:49:31 UTC | Slight rephrasing of the OSX stacksize problem with test_re. | 20 May 2003, 21:49:31 UTC |
cf65dce | Jack Jansen | 20 May 2003, 20:25:59 UTC | These were added on the main branch, but never on the 2.2 branch. | 20 May 2003, 20:25:59 UTC |
91cfc50 | Andrew M. Kuchling | 20 May 2003, 18:13:14 UTC | Backport: Don't mention __slots__ as a technique for error avoidance | 20 May 2003, 18:13:14 UTC |
a92eb4b | Fred Drake | 20 May 2003, 15:20:33 UTC | Remove unused line numbers from example code. Line numbering of examples is not used elsewhere. | 20 May 2003, 15:20:33 UTC |
2ca9bbc | Martin v. Löwis | 20 May 2003, 06:19:36 UTC | 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 | Martin v. Löwis | 20 May 2003, 06:16:55 UTC | 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 | Brett Cannon | 20 May 2003, 02:54:41 UTC | Fixing typo from previous patch. | 20 May 2003, 02:54:41 UTC |
9dbdfca | Brett Cannon | 20 May 2003, 02:51:38 UTC | Add docs for use of key_file and cert_file parameters. | 20 May 2003, 02:51:38 UTC |
a63d35f | Brett Cannon | 20 May 2003, 02:42:04 UTC | Change docstrings for __(get|set|del)slice__ to note that negative indices are not supported. | 20 May 2003, 02:42:04 UTC |
feacecc | Martin v. Löwis | 18 May 2003, 13:42:58 UTC | 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 | Martin v. Löwis | 18 May 2003, 13:40:03 UTC | Correct typo in check for _tkinter prerequisites. Backport of 1.162. | 18 May 2003, 13:40:03 UTC |
0ea0a18 | Samuele Pedroni | 17 May 2003, 12:50:33 UTC | minor fix, jython-only. Don't asssume stdout to save is the ur-stdout. | 17 May 2003, 12:50:33 UTC |
e163df1 | Samuele Pedroni | 17 May 2003, 02:35:37 UTC | beefed up version: jython support, covers now fixed differences between CPython/Jython. | 17 May 2003, 02:35:37 UTC |
6f25f29 | Samuele Pedroni | 16 May 2003, 21:57:23 UTC | Backport fix for compile_command("",symbol="eval") raising syntax error about "pass". Now returns None. | 16 May 2003, 21:57:23 UTC |
ceb58a7 | Raymond Hettinger | 16 May 2003, 03:08:36 UTC | Fix nits found by Tools\scripts\texcheck.py | 16 May 2003, 03:08:36 UTC |
b5dd257 | Fred Drake | 12 May 2003, 21:38:50 UTC | Fix broken API descriptions in comments. | 12 May 2003, 21:38:50 UTC |
dc39bc6 | Fred Drake | 12 May 2003, 13:50:41 UTC | 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 | Jeremy Hylton | 09 May 2003, 18:29:21 UTC | Backport fixes to make more types collectable. classmethod, staticmethod, cPickle.Pickler, cPickle.UNpickler | 09 May 2003, 18:29:21 UTC |
9cc51f1 | Barry Warsaw | 08 May 2003, 04:00:05 UTC | Backporting email 2.5.2 fixes. | 08 May 2003, 04:00:05 UTC |
8fc096a | Skip Montanaro | 07 May 2003, 16:02:06 UTC | add missing parens - verified w/ interpreter - sorry to dismiss your comment Fred | 07 May 2003, 16:02:06 UTC |
6069b64 | Skip Montanaro | 07 May 2003, 15:29:53 UTC | replace most uses of `...` by repr(...), noting that `...` is discouraged, but convenient in interactive sessions. | 07 May 2003, 15:29:53 UTC |
8a625c9 | Jeremy Hylton | 05 May 2003, 04:10:40 UTC | Backport better fix for newurl as suggested by Jim Jewett in SF bug #730963. | 05 May 2003, 04:10:40 UTC |
1f5df13 | Jeremy Hylton | 05 May 2003, 03:18:41 UTC | Backport fix for SF #723831: urlopen() raises URLError. | 05 May 2003, 03:18:41 UTC |
7aed4a3 | Martin v. Löwis | 03 May 2003, 10:53:51 UTC | Patch #708604: Check more function results. | 03 May 2003, 10:53:51 UTC |
fa90c3e | Tim Peters | 30 April 2003, 19:24:59 UTC | 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 | Fred Drake | 30 April 2003, 16:43:51 UTC | 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 | Fred Drake | 29 April 2003, 13:55:20 UTC | - 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 | Fred Drake | 29 April 2003, 13:38:42 UTC | Clarify that the timeout argument to read_until() is in seconds. | 29 April 2003, 13:38:42 UTC |
9b88e15 | Raymond Hettinger | 29 April 2003, 04:37:13 UTC | 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 | Barry Warsaw | 27 April 2003, 04:00:01 UTC | 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 | Skip Montanaro | 26 April 2003, 02:59:46 UTC | backport of note arising from bug 711019. | 26 April 2003, 02:59:46 UTC |
468f44f | Fred Drake | 25 April 2003, 22:09:23 UTC | Markup change; make the notice a little stronger by using the "boxed" version. | 25 April 2003, 22:09:23 UTC |
a749183 | Fred Drake | 25 April 2003, 15:29:22 UTC | Add modified versions of the examples from Sean Reifschneider (SF patch #545480). | 25 April 2003, 15:29:22 UTC |
4f017eb | Guido van Rossum | 25 April 2003, 05:40:32 UTC | Backport the Carlo Verre fix. | 25 April 2003, 05:40:32 UTC |
74e2df6 | Raymond Hettinger | 25 April 2003, 05:36:48 UTC | Backport 1.157 SF Patch 549151: urllib2 POSTs on redirect (contributed by John J Lee) | 25 April 2003, 05:36:48 UTC |
4c71886 | Raymond Hettinger | 25 April 2003, 05:33:07 UTC | 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 | Raymond Hettinger | 25 April 2003, 05:31:43 UTC | 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 | Raymond Hettinger | 25 April 2003, 04:37:40 UTC | 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 | Fred Drake | 24 April 2003, 16:25:07 UTC | Add cross-references between urllib.urlencode() and cgi.parse_qs[l](). Closes SF bug #724751. | 24 April 2003, 16:25:07 UTC |
052d587 | Fred Drake | 24 April 2003, 13:47:08 UTC | Include notice that the rotor module will be deprecated in Python 2.3. | 24 April 2003, 13:47:08 UTC |
62308cb | Brett Cannon | 24 April 2003, 02:46:35 UTC | 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 | Skip Montanaro | 23 April 2003, 20:36:18 UTC | backport note about password limitations | 23 April 2003, 20:36:18 UTC |
c18cc56 | Tim Peters | 23 April 2003, 20:14:12 UTC | 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 | Raymond Hettinger | 23 April 2003, 19:37:42 UTC | Backport 1.17 adding punctuation as allowable characters | 23 April 2003, 19:37:42 UTC |
2c29dae | Martin v. Löwis | 19 April 2003, 08:39:04 UTC | Patch #681152: Support escaped unicode characters in classes. Fixes 612074. | 19 April 2003, 08:39:04 UTC |
52773e3 | Martin v. Löwis | 19 April 2003, 07:46:28 UTC | Patch #716969: Detect thread creation failure. | 19 April 2003, 07:46:28 UTC |
b15021e | Martin v. Löwis | 18 April 2003, 11:21:22 UTC | Patch #711835: Remove unnecessary lock operations. | 18 April 2003, 11:21:22 UTC |
55ed680 | Fred Drake | 17 April 2003, 22:37:50 UTC | 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 | Raymond Hettinger | 16 April 2003, 17:30:15 UTC | 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 | Neal Norwitz | 11 April 2003, 18:21:22 UTC | 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 | Guido van Rossum | 10 April 2003, 20:30:18 UTC | 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 | Fred Drake | 09 April 2003, 18:19:24 UTC | Backport reference leak fix from HEAD revision 1.79. | 09 April 2003, 18:19:24 UTC |
273888e | Fred Drake | 09 April 2003, 18:17:18 UTC | Backport comments about PyObject_Type() (HEAD revisions 1.24, 1.25). | 09 April 2003, 18:17:18 UTC |
c927c8a | Guido van Rossum | 09 April 2003, 17:06:31 UTC | 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 | Tim Peters | 08 April 2003, 20:33:05 UTC | Fixed the gc-vs-__del__ bugs for new-style classes. That's it for this one. | 08 April 2003, 20:33:05 UTC |
1ac3849 | Tim Peters | 08 April 2003, 19:32:53 UTC | 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 | Tim Peters | 08 April 2003, 19:13:14 UTC | 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 | Tim Peters | 08 April 2003, 19:02:34 UTC | 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 | Fred Drake | 08 April 2003, 17:46:33 UTC | 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 | Barry Warsaw | 04 April 2003, 02:48:18 UTC | 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 | Barry Warsaw | 04 April 2003, 02:47:07 UTC | Backporting email 2.5.1 patches. | 04 April 2003, 02:47:07 UTC |
4a1d0f5 | Barry Warsaw | 04 April 2003, 02:46:38 UTC | 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 | Jeremy Hylton | 03 April 2003, 23:02:29 UTC | 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 | Fred Drake | 01 April 2003, 15:40:07 UTC | Remove trailing newline. | 01 April 2003, 15:40:07 UTC |
44198f0 | Tim Peters | 31 March 2003, 22:48:29 UTC | 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 | Skip Montanaro | 31 March 2003, 22:12:37 UTC | note test_locale skip | 31 March 2003, 22:12:37 UTC |
18711bc | Skip Montanaro | 31 March 2003, 22:11:45 UTC | backport test skip for test_locale on Mac OS X | 31 March 2003, 22:11:45 UTC |
8c451a7 | Skip Montanaro | 31 March 2003, 21:59:05 UTC | note test_largefile restriction on Mac OS X | 31 March 2003, 21:59:05 UTC |
ddf625b | Skip Montanaro | 31 March 2003, 17:42:52 UTC | backport largefile resource requirement for Mac OSX | 31 March 2003, 17:42:52 UTC |
fb5d378 | Fred Drake | 31 March 2003, 16:45:22 UTC | Match some of the markup changes from the trunk. | 31 March 2003, 16:45:22 UTC |
b9ea876 | Fred Drake | 31 March 2003, 14:54:18 UTC | Fix symbol in grammar; this should fix some hyperlinking in the HTML version. | 31 March 2003, 14:54:18 UTC |
3c5173c | Martin v. Löwis | 30 March 2003, 20:57:31 UTC | Patch #710576: Implement per-interpreter-state codec registries. | 30 March 2003, 20:57:31 UTC |
31ec28b | Neal Norwitz | 30 March 2003, 20:31:49 UTC | SF patch #706338, Fix a few broken links in pydoc by Greg Chapman | 30 March 2003, 20:31:49 UTC |
342c42b | Neal Norwitz | 30 March 2003, 19:26:50 UTC | 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 | Martin v. Löwis | 30 March 2003, 17:00:58 UTC | Patch #695250: Suppress COPYRIGHT if site.py is not read. Fixes #672614. | 30 March 2003, 17:00:58 UTC |
80288f4 | Neal Norwitz | 29 March 2003, 22:25:18 UTC | 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 | Martin v. Löwis | 29 March 2003, 09:48:12 UTC | Patch #707701: Expect '??' in events. Fixes #698517. | 29 March 2003, 09:48:12 UTC |
4c9fefc | Skip Montanaro | 28 March 2003, 22:31:41 UTC | backport fix for missing altsep in nt (bug 709428) | 28 March 2003, 22:31:41 UTC |