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

sort by:
Revision Author Date Message Commit Date
f395df0 Backport various bug fixes from trunk. The 2.1 maintenance branch is now identical to the trunk through rev 1.54 of httplib.py. 02 July 2002, 20:42:50 UTC
13aa64b Backport variety of SSL fixes accumulated on the trunk. 02 July 2002, 19:05:33 UTC
e8de1b6 SF # 572928 One word change for lib/libgettext.tex Fix typo. 24 June 2002, 02:30:29 UTC
babfc0d Make the docs for string.capitalize() match those of str.capitalize() (which makes it more clear). Closes SF bug #571767. 20 June 2002, 21:19:48 UTC
4b11f2b Typo: bites --> bytes 18 June 2002, 20:39:14 UTC
3a2611f Add description of the deadlock problem with child processes and pipes, and hints about how to work around it. Closes SF bug #530637. 18 June 2002, 20:32:09 UTC
4a84870 Add a note about "as" not being a keyword, though it has special meaning when used as part of the import statement. Note that both "as" and "None" becoming keywords in the future. Closes SF bug #553262. 18 June 2002, 19:18:21 UTC
9200bc2 Note the limitation that mime_decode_header() only works for Latin-1. Closes SF bug #551912. 18 June 2002, 18:52:16 UTC
3ab1798 Add a special case code to deal with unexpected large files. # On a Linux with large file support (LFS) using a Python without LFS, # stat() will raise EOVERFLOW. This unambiguously indicates that the # file exists because it only occurs when the size of the file can't # find into the stat struct. This change is only needed for Python 2.1, because LFS is automatically configured starting with Python 2.2. 18 June 2002, 16:53:42 UTC
62fbb23 Corect speling and add \n\ to line ends in new docstring for access(). 18 June 2002, 16:26:43 UTC
9c6891b Clarified documentation for os.access(). Based on patch contributed by Sean Reifschneider. Closes SF patch #570618. 18 June 2002, 16:17:32 UTC
22cc627 Clarified description of error handling for shutil.rmtree(). This closes SF patch #569832. 18 June 2002, 14:32:16 UTC
78c4095 PyModule_AddObject(): Added missing exceptions. Closes SF bug #523473. 17 June 2002, 17:16:11 UTC
f89e4dd Do not claim that getlocale() returns a tulpe; that is not always true. Closes SF bug #568577. 13 June 2002, 17:55:42 UTC
4c8d127 Add documentation for PyObject_RichCompare() and PyObject_RichCompareBool(), constributed by David Abrahams. This closes SF patch #568081. 13 June 2002, 11:53:54 UTC
a30cfea Add version annotations for some older changes to the calendar module. Closes SF patch #567867. Added a couple of minor clarifications present in the 2.2.x and 2.3 version of the documentation which also apply to 2.1.x. 13 June 2002, 01:36:42 UTC
c90cda9 Completely revise markup for the list of list methods; the new markup matches the semantics and presentation used in the library reference. Added an explanation of the use of [...] to denote optional arguments, since this is the only use of this in a signature line. Closes SF bug #567127. 11 June 2002, 02:58:26 UTC
63ab3e2 Fix SF #561858 Assertion with very long lists if co_stacksize was > 32767 (the maximum value which can be stored in 16 bits (signed)), the PyCodeObject would be written wrong. So on the second import (reading the .pyc) would cause a crash. Since we can't change the PYC magic, we go on (silently), but don't write the file. This means everything will work, but a .pyc will not be written and the file will need to be parsed on each import. 01 June 2002, 18:27:34 UTC
c883ad6 Backport to 2.1.x: SF bug 533625 (Armin Rigo). rexec: potential security hole If a rexec instance allows writing in the current directory (a common thing to do), there's a way to execute bogus bytecode. Fix this by not allowing imports from .pyc files (in a way that allows a site to configure things so that .pyc files *are* allowed, if writing is not allowed). 31 May 2002, 21:19:53 UTC
a5fd7ba Backport fix by tismer for #210682 fixed an old buglet that caused bdb to be unable to continue in the botframe, after a breakpoint was set. the key idea is not to set botframe to the bottom level frame, but its f_back, which actually might be None. Additional changes: migrated old exception trick to use sys._getframe(), which exists both in 2.1 and 2.2 . Note: I believe Mark Hammond needs to look over his code now. F5 correctly starts up in the debugger, but later on doesn't stop at a given breakpoint any longer. kind regards - chris 29 May 2002, 01:29:38 UTC
3722b84 Add availability information for a couple of the types. 21 May 2002, 14:32:44 UTC
2a0e6bf Fix typo: ptread --> pthread Closes SF bug #554644. 11 May 2002, 03:37:59 UTC
e0a674f Add a note explaining the interaction between unbuffered input and xreadlines.xreadlines(). This closes SF patch #552804. 06 May 2002, 16:05:01 UTC
31cc898 Backport patch for revision 1.58 to the Py2.1.x maintenance branch. This fixes parseaddr() for the following RFC 2822 valid field: To: User J. Person <person@dom.ain> 03 May 2002, 04:23:02 UTC
b040bc1 Update a SourceForge issue number; IDs less than 200000 are no longer valid. (The issues were re-numbered, not lost.) 02 May 2002, 16:37:31 UTC
1625eb8 Added regression tests for xrange object attributes. See SF bug #551285. 02 May 2002, 16:25:30 UTC
86c0240 Add information on support for repietition & concatenation for buffer and xrange objects, and generally present these in the same way that more recent documentation releases present them (for ease of maintenance). This closes SF bug #550555. 02 May 2002, 05:59:15 UTC
d4a0500 Backport buffer() tests from trunk to avoid regression failures. 02 May 2002, 05:27:28 UTC
560fc40 Revise version/date information since we're not about to hit a release. 02 May 2002, 05:26:33 UTC
e13ac93 Explain what os.read() returns at end of file. This closes SF bug #550409. 01 May 2002, 03:33:02 UTC
05e1fab Add missing right-parenthesis. 01 May 2002, 03:22:23 UTC
c84dfeb Add a note about when the "%r" formatting code was added. 30 April 2002, 14:54:15 UTC
34d316c backport tim_one's patch: Repair widespread misuse of _PyString_Resize. Since it's clear people don't understand how this function works, also beefed up the docs. The most common usage error is of this form (often spread out across gotos): if (_PyString_Resize(&s, n) < 0) { Py_DECREF(s); s = NULL; goto outtahere; } The error is that if _PyString_Resize runs out of memory, it automatically decrefs the input string object s (which also deallocates it, since its refcount must be 1 upon entry), and sets s to NULL. So if the "if" branch ever triggers, it's an error to call Py_DECREF(s): s is already NULL! A correct way to write the above is the simpler (and intended) if (_PyString_Resize(&s, n) < 0) goto outtahere; Bugfix candidate. Original patch(es): python/dist/src/Python/bltinmodule.c:2.253 30 April 2002, 04:01:21 UTC
88c646e backport tim_one's patch: [Re-did unicodeobject.c - it's changed a lot since 2.1 :) Pretty confident that it's correct] Repair widespread misuse of _PyString_Resize. Since it's clear people don't understand how this function works, also beefed up the docs. The most common usage error is of this form (often spread out across gotos): if (_PyString_Resize(&s, n) < 0) { Py_DECREF(s); s = NULL; goto outtahere; } The error is that if _PyString_Resize runs out of memory, it automatically decrefs the input string object s (which also deallocates it, since its refcount must be 1 upon entry), and sets s to NULL. So if the "if" branch ever triggers, it's an error to call Py_DECREF(s): s is already NULL! A correct way to write the above is the simpler (and intended) if (_PyString_Resize(&s, n) < 0) goto outtahere; Bugfix candidate. Original patch(es): python/dist/src/Objects/fileobject.c:2.161 python/dist/src/Objects/stringobject.c:2.161 python/dist/src/Objects/unicodeobject.c:2.147 30 April 2002, 03:58:47 UTC
b64e6dc Be more consistent, both internally and with recommended practice (within the limits of Python 2.1). This closes SF bug #547953. 26 April 2002, 20:45:38 UTC
f9b7603 Add text about circular references caused by storing frames in local variables. This closes SF bug #543148. 23 April 2002, 21:19:55 UTC
047fa81 *sigh* did a 'make test' in the wrong window. fixing this up to not include 'True'. test_queue passes again. 23 April 2002, 02:19:03 UTC
1f30f72 backport mhammond's patch: Fix bug 544473 - "Queue module can deadlock". Use try/finally to ensure all Queue locks remain stable. Includes test case. Bugfix candidate. Original patch(es): python/dist/src/Lib/Queue.py:1.15 23 April 2002, 01:55:29 UTC
01366b4 backport mhammond's patch: Fix bug 544473 - "Queue module can deadlock". Use try/finally to ensure all Queue locks remain stable. Includes test case. Bugfix candidate. Original patch(es): python/dist/src/Lib/test/test_queue.py:1.1 23 April 2002, 01:53:23 UTC
f599b74 Backport fixes for two nested scopes bugs. frameobject.c: make sure free and cell vars make it into locals, which makes eval work. bltinmodule.c & ceval.c: make sure a code object with free variables that is passed to exec or eval raises an exception. Also duplicate the current trunk test suite in the 2.1 branch, except for certain necessary changes: different warnings raised by 2.1, need for __future__. 20 April 2002, 18:21:29 UTC
402a928 This commit was manufactured by cvs2svn to create branch 'release21-maint'. 19 April 2002, 00:11:32 UTC
cb6a9c0 Test for --export-dynamic directly to avoid problems with binutils 2.12. 18 April 2002, 14:55:52 UTC
2167a09 backport gvanrossum's patch: SF bug #543318 (Frank J. Tobin). In DatagramRequestHandler.setup(), the wfile initialization should be StringIO.StringIO(), not StringIO.StringIO(slf.packet). Bugfix candidate (all the way back to Python 1.5.2 :-). Original patches were: python/dist/src/Lib/SocketServer.py:1.31 18 April 2002, 05:13:38 UTC
720ba1f backport gvanrossum's patch: Provisional fix for writefile() [SF bug # 541730]. The problem was that an exception can occur in the text.get() call or in the write() call, when the text buffer contains non-ASCII characters. This causes the previous contents of the file to be lost. The provisional fix is to call str(self.text.get(...)) *before* opening the file, so that if the exception occurs, we never open the file. Two orthogonal better solutions have to wait for policy decisions: 1. We could try to encode the data as Latin-1 or as UTF-8; but that would require IDLE to grow a notion of file encoding which requires more thought. 2. We could make backups before overwriting a file. This requires more thought because it needs to be fast and cross-platform and configurable. Original patches were: python/dist/src/Tools/idle/IOBinding.py:1.6 18 April 2002, 05:09:06 UTC
56f9350 backport nnorwitz's patch: Fix grammar 18 April 2002, 04:54:47 UTC
ebaea2d Windows installer: disabled Wise's "delete in-use files" uninstall option. It was the cause of at least one way UNWISE.EXE could vanish (install a python; uninstall it; install it again; reboot the machine; abracadabra the uinstaller is gone). 17 April 2002, 04:36:16 UTC
817442f Adjust markup to worm around tool limitations; the "m" in "model" was being dropped in the HTML formatted version. Reported by Mike Coleman. 17 April 2002, 03:42:26 UTC
5783121 Update the text of the README distributed with the PostScript files to reflect the changes in the user organizations in the Python community. 17 April 2002, 03:26:05 UTC
0ddc3b6 Changed last two remaining uses of "./" to "index.html" when referring to the index file for the top-level directory. This makes it easier to use an unpacked version of the documentation via file: URLs. This closes SF bug #541257. 17 April 2002, 01:44:07 UTC
3acdd8b Remove repeated index entry; adds nothing different. Closes SF bug #518985. 16 April 2002, 02:04:20 UTC
ba9c565 Document PyType_IS_GC(). Update description of PyType_Check(). 10 April 2002, 18:16:32 UTC
bc4b507 This commit was manufactured by cvs2svn to create tag 'r213'. 09 April 2002, 01:16:08 UTC
9c55088 Weasle-word the SSL-on-Windows blurb. 09 April 2002, 01:16:08 UTC
80b5f50 re-adding the NEWS entry. SF ate my previous commit. 09 April 2002, 01:09:05 UTC
1eca91d backport 1.47's "add sendall() to FakeSocket class" 09 April 2002, 00:39:10 UTC
7a2d868 Change license text to refer to 2.1.3. 08 April 2002, 20:24:34 UTC
541481d Change 2.1.3 release date. 08 April 2002, 18:48:05 UTC
8a5e439 SF bug 497854: Short-cuts missing for All Users. Fixing a Windows-specific installer glitch. 08 April 2002, 18:37:13 UTC
b5fc8f2 Talk about uncoordinated dance partners! Fixed the release date to match the source release. 08 April 2002, 18:31:27 UTC
1929e52 Add news about zlib 1.1.4 for the Windows installer. 08 April 2002, 18:31:19 UTC
ebbfd0a Begin the Release Dance. 08 April 2002, 18:27:53 UTC
d4ea28d Update Windows installer identification and resource strings for 2.1.3. 08 April 2002, 18:21:56 UTC
956524e Change 2.1.3 Windows build to use zlib 1.1.4. 08 April 2002, 18:06:42 UTC
96547c1 Change the 2.1.3 Windows buildno (#35). 08 April 2002, 18:02:54 UTC
709b628 Update 2.1.3 Windows buildno. 08 April 2002, 18:00:09 UTC
0247952 backport fred's revision 1.2.2.1 Python 10 was a success, commemorate it\! This includes Guido's whitespace cleanup. 08 April 2002, 06:44:12 UTC
09d7fc6 beginning the dance of the sugar-plum micro-release. 08 April 2002, 06:05:51 UTC
f5ffbbf Do not call "knee" a standard module. This addresses the issue in SF bug #515745. 08 April 2002, 05:23:43 UTC
7bbb8ae #457466: "popenx() argument mangling hangs python" [Win9x only] 08 April 2002, 05:03:59 UTC
830fdc4 Backport of bug 457466: "popenx() argument mangling hangs python" [Win9x only]." Can't test this myself, but MarkH sez it's ok. 08 April 2002, 04:42:09 UTC
fc4afb3 This commit was manufactured by cvs2svn to create branch 'release21-maint'. 08 April 2002, 04:42:09 UTC
69337c7 Add note about changes in xml.sax.expatreader. 04 April 2002, 19:45:01 UTC
9e3c42a Not sure why the regression test missed this, but the PyXML tests caught it. We should get attributes from the right object. 04 April 2002, 19:13:18 UTC
eed9a44 Mark the notice about the new development version of the docs as not needing to be archived. Most of these are pretty bland. ;-) 04 April 2002, 18:04:31 UTC
976e51d Avoid creating circular references between the ExpatParser and the ContentHandler. While GC will eventually clean up, it can take longer than normal for applications that create a lot of strings (or other immutables) rather without creating many containers. This closes SF bug #535474. 04 April 2002, 17:59:25 UTC
5d2c2ad Back-port Neal Norwitz's patch: libarray.tex 1.31.8.2 SF 539024, Fix broken link to numpy 04 April 2002, 16:24:31 UTC
5c7855a Add the PyObject_As*Buffer() functions that apply, now that the docs have been corrected and I'm dealing with them anyway. 04 April 2002, 04:21:23 UTC
2a5cf97 Update the PEP URL format to point to python.org. (This affects exactly one link on the release21-maint branch.) 03 April 2002, 03:36:47 UTC
34716c1 There is no PyArg_ConvertTuple(); call it by the right name. This closes SF bug #537511. 01 April 2002, 23:14:30 UTC
5ef032d Update to push the docs to python.org instead of python.sf.net. 01 April 2002, 20:13:08 UTC
a41b85d backport gvanrossum's checkin of revision 2.40 of mpzmodule.c SF patch 517245 by Marc Recht. Support GMP version >= 2. 01 April 2002, 16:45:51 UTC
f235a95 News for SF #535905. 29 March 2002, 01:06:35 UTC
c44d823 Sort-of backport to 2.1.3 (if we ever release it) of the following. (The fix looks different, but does the same thing to the 2.1 GC code that Neil's patch does to the 2.2 GC code.) This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction). The fix makes it possible to call PyObject_GC_UnTrack() more than once on the same object, and then move the PyObject_GC_UnTrack() call to *before* the trashcan code is invoked. BUGFIX CANDIDATE! 28 March 2002, 20:41:02 UTC
ded18d6 Backport for 2.1.3 (if we ever release it; we may have to because this is what Zope 2 will be using in the foreseeable future). Fix an issue that was reported in but unrelated to the main problem of SF bug 535905 (Evil Trashcan and GC interaction). The SETLOCAL() macro should not DECREF the local variable in-place and then store the new value; it should copy the old value to a temporary value, then store the new value, and then DECREF the temporary value. This is because it is possible that during the DECREF the frame is accessed by other code (e.g. a __del__ method or gc.collect()) and the variable would be pointing to already-freed memory. BUGFIX CANDIDATE! 28 March 2002, 20:21:21 UTC
00be96e Fix stupid typo in example. 16 March 2002, 13:53:35 UTC
2eedddc Clarify the descriptions of the positive and negative lookbehind assertions. Added examples of positive lookbehind assertions. This closes SF bug #529708. 16 March 2002, 06:26:20 UTC
585a30c Add a test that was added in Python 2.2: test Weak*Dictionary.setdefault(). The purpose is to avoid regression on SF bug #529273. This test is stronger than the one submitted with the bug report. 13 March 2002, 05:49:06 UTC
67edc16 Fix SF bug #529273: WeakValueDictionary.setdefault() raised UnboundLocalError since it used the name of a global function as the name of a local. The patch is almost identical to that submitted with the bug report. 13 March 2002, 05:47:26 UTC
bda6366 Change the way \textasciitilde is implemented so it works more consistently (dropping tildes into data that still goes through LaTeX-like processing is a bad idea). 13 March 2002, 02:46:17 UTC
c9868fe Add a note that Py_None needs the same reference count treatment as any other PyObject *. This closes SF bug #494007. 12 March 2002, 20:18:01 UTC
29752e2 "level" keyword argument in example should be "stacklevel". This closes SF bug #517684. 12 March 2002, 19:51:59 UTC
9027116 Add more explanation of how data_files is used (esp. where the files end up in the installation and how that location is determined). 08 March 2002, 22:02:26 UTC
ee95f1c "Shortcut" should be "short-circuit". This closes SF bug #526277. 08 March 2002, 01:01:50 UTC
b027538 Backport (if there's ever a 2.1.3 release) of a useful trunk fix: Fix by Edward K Ream to make breakpoints work on Windows: insert a missing call to self.canonic(). 25 February 2002, 23:13:34 UTC
205da04 Typo: thsi -> this. Closes SF bug #521450. 22 February 2002, 15:41:13 UTC
8dcb537 Add an availability statement for alarm(). 15 February 2002, 21:00:35 UTC
558911b Consistently use \textasciicircum to produce a ^ character. LaTeX really falls flat on this one! 14 February 2002, 15:26:15 UTC
dc2e5ce In case there ever will be a 2.1.3, this fixes SF bug #514928 (Bastian Kleineidam): curses error in w.border(). For some reason, in 2.1.2 and before, PyCursesWindow_Border is declared as METH_VARARGS but calls PyArg_Parse(), which is wrong. (This is not relevant for 2.2, which does this completely different and makes all functions METH_VARARGS.) 08 February 2002, 21:32:41 UTC
97cb5b7 Update the instructions on reporting bugs to reflect that anonymous reports are no longer accepted. 04 February 2002, 21:43:58 UTC
0c81ed6 string.split() docstring described the interpretation of the maxsplit argument incorrectly. This closes SF bug #505997. 30 January 2002, 16:16:38 UTC
back to top