https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
5f55933 Close 2.1 branch. 05 March 2011, 13:54:46 UTC
a97ca43 Fix tag references in 2.1 branch. 05 March 2011, 13:54:34 UTC
3c7a3ab Backport this fix: http://mail.python.org/pipermail/python-checkins/2003-April/035592.html so that Python 2.1-maint can be built on RedHat 9 15 August 2003, 18:18:04 UTC
bde3873 Backport 2.3 FreeBSD recursion_limit settings. Fixes #553736. 14 June 2003, 15:05:13 UTC
22eb8bc Backport 1.60 -- because this is an annoyance that Zope folks run into and Zope 2.6 (which requires Python 2.1.x) isn't dead yet. Duh. The do_EOF() implementation was bogus. Make it more like do_quit() -- but print a blank line first. 13 February 2003, 21:13:17 UTC
0c71748 Change string version to "2.1.3+". 09 January 2003, 06:37:25 UTC
caa765c Complete list of news since 2.1.3 was release. Just in case I feel like releasing 2.1.4 tomorrow. :-) 09 January 2003, 06:12:47 UTC
cceafe2 Roll back the introduction of urlsplit() and urlunsplit() to urlparse.py. These were new features in 2.2, and shouldn't be added to 2.1 this late in the game. There was one use of urlsplit() in httplib.py (the urlparse.py change was done as part of a backport of a bugfix to httplib.py); this use is replaced with a call to urlparse() without changing the effect (only the returned netloc is used). 09 January 2003, 05:43:08 UTC
1caa072 Backport (the relevant part of) rexec.py 1.41. Address SF bug #577530: del __builtins__ breaks out of rexec Using the suggestion there: add_module() forces __builtin__ back; this fixes r_exec, r_eval, r_execfile. This does not mean that rexec is now considered safe! But for those willing to take the risk, it's safer than before. (Note that a safety analysis of the code module would be wise if you plan to use the interactive console for real -- I've only ever used it to play with restricted mode.) 15 September 2002, 06:18:29 UTC
b6e835c Backport: Fix for SF bug 601077 by Zack Weinberg. The new execvpe code would sometimes do the wrong thing when a non-executable file existed earlier in the path and an executable file of the same name existed later in the path. This patch restores the proper behavior (which is to execute the second file). When only a non-executable file exists, the correct error is still reported. 04 September 2002, 11:41:51 UTC
344f425 Fix SF bug [ 599838 ] httplib.connect broken in 2.1 branch Some IPv6-specific changes crept into the 2.1 branch when I backported other bug fixes. 29 August 2002, 20:12:26 UTC
4fa82fa Back-port the \ulink macro to the documentation package for Python 2.1.x since a documentation patch included \ulink. Adding this here makes back-porting further documentation patches easier than having to remove \ulink from the patches. Closes SF bug #598996. 27 August 2002, 19:50:42 UTC
8bb9fe8 Correct some return value information. 27 August 2002, 18:41:26 UTC
cf8b1ea Add strong security warning about the rexec module. Closes SF patch #600861. 27 August 2002, 16:42:37 UTC
1c7f511 The errno module needs to be statically linked, since it is now needed during the extension building phase. 08 August 2002, 19:56:28 UTC
d31a803 Backport of SF patch 590294: os._execvpe security fix (Zack Weinberg). 1) Do not attempt to exec a file which does not exist just to find out what error the operating system returns. This is an exploitable race on all platforms that support symbolic links. 2) Immediately re-raise the exception if we get an error other than errno.ENOENT or errno.ENOTDIR. This may need to be adapted for other platforms. 08 August 2002, 19:46:52 UTC
a1a5a89 Add a dummy test_queue output file to make regrtest happy. 08 August 2002, 19:46:10 UTC
25fae7c Update test output. 12 July 2002, 16:04:27 UTC
def3b50 Backport changes. Change _begin() back to begin(). Fix for SF bug 579107. Fix for SF bug #432621: httplib: multiple Set-Cookie headers Fix SF bug #575360 Handle HTTP/0.9 responses. 12 July 2002, 15:22:09 UTC
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
back to top