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

sort by:
Revision Author Date Message Commit Date
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
c7fd588 Add keyword.kwlist to the public API. 24 January 2002, 16:40:31 UTC
e8dd09c libkeyword.tex was missing from the list of dependencies for the Library Reference. 24 January 2002, 16:40:15 UTC
ddc9bb9 Fix typos reported by François Pinard. 21 January 2002, 16:10:06 UTC
a00d2ab Updated GNU info dir segment from Milan Zamazal. 17 January 2002, 21:26:19 UTC
b561db6 Update email address. 17 January 2002, 21:06:38 UTC
1d826b1 Fix Michael Hudson's email address. 17 January 2002, 06:18:17 UTC
cadb4c8 This commit was manufactured by cvs2svn to create tag 'r212'. 15 January 2002, 22:34:58 UTC
d73f1fd Assorted Windows tweaks to change the release from 2.1.2c1 to 2.1.2. I have nothing else I intend to check in for 2.1.2 final. 15 January 2002, 22:34:58 UTC
d9ba4cf Bump version to 2.1.2 final. 15 January 2002, 22:19:12 UTC
114d11c News for 2.1.2 final. This is good now. 15 January 2002, 22:13:16 UTC
9e83cae Found another place where the copyrgiht date had to be fixed. 15 January 2002, 22:09:55 UTC
ce76e0a Set the release version and date. 15 January 2002, 22:00:25 UTC
ee924a9 Set the release version. 15 January 2002, 22:00:09 UTC
a472771 Backport revision 2.69. SF patch #471839: Bug when extensions import extensions (Shane Hathaway) When an extension imports another extension in its initXXX() function, the variable _Py_PackageContext is prematurely reset to NULL. If the outer extension then calls Py_InitModule(), the extension is installed in sys.modules without its package name. The manifestation of this bug is a "SystemError: _PyImport_FixupExtension: module <package>.<extension> not loaded". To fix this, importdl.c just needs to retain the old value of _Py_PackageContext and restore it after the initXXX() method is called. The attached patch does this. This patch applies to Python 2.1.1 and the current CVS. 15 January 2002, 21:14:38 UTC
e60d373 Merge in Thomas Heller's typo fix from revision 1.13. 15 January 2002, 04:48:43 UTC
5eab720 Copied from the HEAD revision, and checked in again after doing a "cvs admin -kb installer.bmp" (although this should be unneeded?). 11 January 2002, 10:08:19 UTC
ea7f4a5 Add blurb about 32-bit Windows installer -- this made the SF release notes, but apparently didn't get backstitched into NEWS before the release. Trimmed trailing whitespace. 11 January 2002, 04:21:11 UTC
e5f06af Remove remaining 2.2-isms: + Lib/site-packages wasn't created on Windows in 2.1. + The compiler package lived in Tools instead of in Lib. After this, a directory compare of an installed 2.1.1 and an installation created by this installer "are close". The remaining differences have to do with files that the old installer mistakenly never knew existed (like the distutils README, and pynche's color-name files). All such cases in 2.1.1 were bugs, now repaired in 2.1.2. 11 January 2002, 00:28:56 UTC
f427d7e The license text needs to refer to 2.1.2, not 2.1.1. 10 January 2002, 23:32:36 UTC
fb9e880 2.1-ize command for Start menu GUI pydoc shortcut. 10 January 2002, 23:27:45 UTC
8c1f7ae Add the GetArgv() docs provided by Dean Draayer in SF patch #496705. 10 January 2002, 23:12:07 UTC
a995adf Update to the latest version from the trunk. 10 January 2002, 23:10:20 UTC
e1582a8 Mostly removing stuff the installer does in 2.2 that can't be done in 2.1 (e.g., there was no Lib/test/data directory then, hotshot didn't exist, ditto the Lib/email package, etc). Also restored the now-obsolete expat setup. 10 January 2002, 23:05:10 UTC
4435d50 One more copyright date to update. 10 January 2002, 22:58:16 UTC
a03453d Attempted to update all the copyright notices (we're releasing this in 2002!). Does anyone know of a copyright blurb I missed? 10 January 2002, 22:49:58 UTC
bd5bcf6 More backporting of 32-bit installer. Doesn't work yet, but getting closer. 10 January 2002, 22:42:17 UTC
f521ae1 Adjust the instructions for building large file support so that it works more cleanly (I think this supports more Linux systems; not sure). Barry Warsaw & Martin von Loewis actually agree on this! This closes SF patch #502023. 10 January 2002, 22:37:18 UTC
back to top