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 |
0dc63d4 | Neal Norwitz | 23 March 2003, 14:36:50 UTC | Backport Tim's checkin 2.218: slot_sq_contains(): This leaked a reference to the result of calling __contains__(). | 23 March 2003, 14:36:50 UTC |
1d92ed9 | Neal Norwitz | 23 March 2003, 14:32:56 UTC | Backport 2.220, SF patch #708201, unchecked return value in import.c by Jason Harper | 23 March 2003, 14:32:56 UTC |
36d69d9 | Tim Peters | 22 March 2003, 02:08:30 UTC | Synch the Windows installer with changes in the email package. | 22 March 2003, 02:08:30 UTC |
31643ee | Barry Warsaw | 21 March 2003, 21:24:27 UTC | Backporting docs for email 2.5 | 21 March 2003, 21:24:27 UTC |
caf2f51 | Barry Warsaw | 21 March 2003, 21:09:32 UTC | Backporting email 2.5 to Python 2.2 maint branch. | 21 March 2003, 21:09:32 UTC |
bdd096a | Fred Drake | 20 March 2003, 22:20:43 UTC | - added example of using a comparison function with list.sort(), and explained the construction of a [(key, value), ...] list as an alternative - backport additional notes on list use from Python 2.3 documentation; mostly warnings about what not to rely on | 20 March 2003, 22:20:43 UTC |
58d23ae | Tim Peters | 20 March 2003, 18:31:20 UTC | SF bug 705836: struct.pack of floats in non-native endian order pack_float, pack_double, save_float: All the routines for creating IEEE-format packed representations of floats and doubles simply ignored that rounding can (in rare cases) propagate out of a long string of 1 bits. At worst, the end-off carry can (by mistake) interfere with the exponent value, and then unpacking yields a result wrong by a factor of 2. In less severe cases, it can end up losing more low-order bits than intended, or fail to catch overflow *caused* by rounding. | 20 March 2003, 18:31:20 UTC |
38d0ccf | Fred Drake | 20 March 2003, 18:22:50 UTC | - backport portions of SF patch #700798: fixes and cleanups for descriptor info - use a TeX "tie" to prevent word-wrapping in "section x.y"-like text | 20 March 2003, 18:22:50 UTC |
158303a | Fred Drake | 20 March 2003, 17:42:48 UTC | - explain what a UNC path is in the makedirs() description, since they're actually mentioned there | 20 March 2003, 17:42:48 UTC |
1a5727f | cvs2svn | 17 March 2003, 18:35:42 UTC | This commit was manufactured by cvs2svn to create branch 'release22-maint'. | 17 March 2003, 18:35:42 UTC |
c5f7778 | Thomas Wouters | 17 March 2003, 11:34:43 UTC | binascii_a2b_base64: Properly return an empty string if the input was all invalid, rather than returning a string of random garbage of the estimated result length. Closes SF patch #703471 by Hye-Shik Chang. Backport from 2.3. | 17 March 2003, 11:34:43 UTC |
903eff4 | Andrew M. Kuchling | 12 March 2003, 14:28:21 UTC | Add some more Distutil changes | 12 March 2003, 14:28:21 UTC |
2c35140 | Andrew M. Kuchling | 12 March 2003, 14:17:38 UTC | Add item | 12 March 2003, 14:17:38 UTC |
ae77a60 | Andrew M. Kuchling | 12 March 2003, 14:11:00 UTC | [Backport patch #649762] Fix for asynchat endless loop When the null string is used as the terminator, it used to be the same as None, meaning "collect all the data". In the current code, however, it falls into an endless loop; this change reverts to the old behavior. | 12 March 2003, 14:11:00 UTC |
2c3d827 | Fred Drake | 06 March 2003, 16:27:58 UTC | Backport patch from revision 2.80: Fix memory leak: free memory storing the content model passed to the ElementDeclHandler by Expat. Fixes SF bug #676990. | 06 March 2003, 16:27:58 UTC |
614479d | Neal Norwitz | 04 March 2003, 17:44:34 UTC | SF bug #697220, string.strip implementation/doc mismatch | 04 March 2003, 17:44:34 UTC |
fac559c | Gustavo Niemeyer | 04 March 2003, 00:50:24 UTC | Backported fix to [521782] unreliable file.read() error handling. | 04 March 2003, 00:50:24 UTC |
5eb8227 | Neal Norwitz | 01 March 2003, 15:19:49 UTC | get_completer() takes no args | 01 March 2003, 15:19:49 UTC |
e0cf013 | Guido van Rossum | 01 March 2003, 02:14:53 UTC | - Backported SF patch #676342: after using pdb, the readline command completion was botched. | 01 March 2003, 02:14:53 UTC |
4e48224 | Andrew M. Kuchling | 26 February 2003, 22:26:03 UTC | Backport rev. 1.73: Translate spaces in the machine name to underscores | 26 February 2003, 22:26:03 UTC |
427ee3b | Jack Jansen | 25 February 2003, 14:20:44 UTC | Partial backport of 2.11: better error messages on import failures. Fixes #652590. | 25 February 2003, 14:20:44 UTC |
11450a4 | Jack Jansen | 25 February 2003, 14:19:07 UTC | Removed debug output. Fixes #635570 | 25 February 2003, 14:19:07 UTC |
3046177 | Guido van Rossum | 24 February 2003, 01:23:03 UTC | Backport: Fix from SF patch #633359 by Greg Chapman for SF bug #610299: The problem is in sre_compile.py: the call to _compile_charset near the end of _compile_info forgets to pass in the flags, so that the info charset is not compiled with re.U. (The info charset is used when searching to find the first character at which a match could start; it is not generated for patterns beginning with a repeat like '\w{1}'.) | 24 February 2003, 01:23:03 UTC |