Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
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
4c9fefc backport fix for missing altsep in nt (bug 709428) 28 March 2003, 22:31:41 UTC
0dc63d4 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 Backport 2.220, SF patch #708201, unchecked return value in import.c by Jason Harper 23 March 2003, 14:32:56 UTC
36d69d9 Synch the Windows installer with changes in the email package. 22 March 2003, 02:08:30 UTC
31643ee Backporting docs for email 2.5 21 March 2003, 21:24:27 UTC
caf2f51 Backporting email 2.5 to Python 2.2 maint branch. 21 March 2003, 21:09:32 UTC
bdd096a - 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 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 - 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 - explain what a UNC path is in the makedirs() description, since they're actually mentioned there 20 March 2003, 17:42:48 UTC
1a5727f This commit was manufactured by cvs2svn to create branch 'release22-maint'. 17 March 2003, 18:35:42 UTC
c5f7778 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 Add some more Distutil changes 12 March 2003, 14:28:21 UTC
2c35140 Add item 12 March 2003, 14:17:38 UTC
ae77a60 [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 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 SF bug #697220, string.strip implementation/doc mismatch 04 March 2003, 17:44:34 UTC
fac559c Backported fix to [521782] unreliable file.read() error handling. 04 March 2003, 00:50:24 UTC
5eb8227 get_completer() takes no args 01 March 2003, 15:19:49 UTC
e0cf013 - Backported SF patch #676342: after using pdb, the readline command completion was botched. 01 March 2003, 02:14:53 UTC
4e48224 Backport rev. 1.73: Translate spaces in the machine name to underscores 26 February 2003, 22:26:03 UTC
427ee3b Partial backport of 2.11: better error messages on import failures. Fixes #652590. 25 February 2003, 14:20:44 UTC
11450a4 Removed debug output. Fixes #635570 25 February 2003, 14:19:07 UTC
3046177 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
7df6d3d Fix SF bug #691793, Python 2.3a2 build fails on Tru64 23 February 2003, 23:45:16 UTC
1d443bd Backport relevant portions of: Fix SF bug #691793, Python 2.3a2 build fails on Tru64 Need to make sure that preprocessor directives start in first column. This means we can't indent code which has preprocessor directives, nor have a space between [ #include for example. 23 February 2003, 23:34:37 UTC
763603d Patch #491107: Cygwin setup.py import workaround patch Back patched to the 2.2.x branch. 21 February 2003, 12:18:17 UTC
ae60b9e Backport 1.38: Fix an old bug in poll(). When a signal is handled while we're blocked in select(), this will raise select.error with errno set to EINTR. The except clauses correctly ignores this error, but the rest of the logic will then call read() for all objects in select's *input* list of read file descriptors. Then when an object's read_handler() is naive, it will call recv() on its socket, which will raise an IOError, and then asyncore decides to close the socket. To fix this, we simply return in this case. Backport candidate. Backport 1.40: Fix spelling error 21 February 2003, 07:16:37 UTC
83e9e32 Spelling error 21 February 2003, 06:59:07 UTC
a4ecf11 Typo 21 February 2003, 06:05:45 UTC
f5908e1 Backport libtime.tex 1.53: Fixed longstanding bug in the description of strftime's %W code. 21 February 2003, 05:59:16 UTC
8b563c4 Backport 1.7: Clarify when a read-only object is created. 21 February 2003, 04:22:47 UTC
b78e3dd Backport 1.45: Failed module import was dumping to the console instead of creating a nice dialog window. 21 February 2003, 04:18:32 UTC
07f3867 SF bug #685775: turtle circle() documentation error 21 February 2003, 03:42:28 UTC
841569f Backport of rev 2.199 from trunk. PyObject_Generic{Get,Set}Attr: Don't access tp_descr_{get,set} of a descriptor without checking the flag bits of the descriptor's type. While we know that the main type (the type of the object whose attribute is being accessed) has all the right flag bits (or else PyObject_Generic{Get,Set}Attr wouldn't be called), we don't know that for its class attributes! 19 February 2003, 03:52:47 UTC
2f3fe91 Backport of rev 2.199 from trunk. PyObject_Generic{Get,Set}Attr: Don't access tp_descr_{get,set} of a descriptor without checking the flag bits of the descriptor's type. While we know that the main type (the type of the object whose attribute is being accessed) has all the right flag bits (or else PyObject_Generic{Get,Set}Attr wouldn't be called), we don't know that for its class attributes! 19 February 2003, 03:21:21 UTC
e6c6163 Fix SF bug #687655, String formatting conversions misleading 17 February 2003, 18:59:54 UTC
32d4793 backporting Fred's doc fix. 14 February 2003, 06:46:24 UTC
dd2cffe add missing description of os.extsep 14 February 2003, 05:46:52 UTC
466a3a7 Backport 2.217 and 2.218: Provide access to the import lock, fixing SF bug #580952. This is mostly from SF patch #683257, but I had to change unlock_import() to return an error value to avoid fatal error. 13 February 2003, 17:06:02 UTC
3281062 Backport SF #660455 fix. 12 February 2003, 19:09:45 UTC
9aa5027 Backport: Add more missing PyErr_NoMemory() after failled memory allocs 11 February 2003, 23:19:35 UTC
ea57ec8 SF bug 684667: Modules/selectmodule.c returns NULL without exception set. Backport of fix from head. 11 February 2003, 18:05:44 UTC
b94120c Backport 1.16: Fix printing plural (s or ""). 10 February 2003, 20:48:19 UTC
c31c0df Partial backport for changes to fix SF bug #678518 (assert & global). 10 February 2003, 01:57:51 UTC
back to top