https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
ee01a5e This commit was manufactured by cvs2svn to create tag 'r211c1'. 13 July 2001, 15:10:55 UTC
d925620 Expand the blob on Solaris to mention passing '-Xc' to compile Python correctly. Note that 'faulty' should actually be spelled 'fawlty', but I don't want those bugreports assigned to me ;) 13 July 2001, 15:10:55 UTC
6736e9d Add credit for a last-minute fix in the re documentation. 12 July 2001, 14:59:49 UTC
59fbb83 Fix return value for m.group() for groups not in the part of the RE that matched; reported by Paul Moore. 12 July 2001, 14:15:03 UTC
6f2762a Preliminary NEWS entry for 2.1.1c1 12 July 2001, 13:38:18 UTC
3261912 Net result of Tim's checkins 2.28 through 2.31: - SF but #417587: compiler warnings compiling 2.1. Repaired *some* of the SGI compiler warnings Sjoerd Mullender reported. - Minor fiddling related to SF patch 416251 2.1c1 mmapmodule: unused vrbl cleanup - Fix the .find() method for memory maps. 1) it didn't obey the "start" parameter (and when it does, we must validate the value) 2) the return value needs to be an absolute index, rather than relative to some arbitrary point in the file (checking CVS, it appears this method never worked; these changes bring it into line with typical .find() behavior) - Fix new compiler warnings. Also boost "start" from (C) int to long and return a (C) long: PyArg_ParseTuple and Py_BuildValue may not let us get at the size_t we really want, but C int is clearly too small for a 64-bit box, and both the start parameter and the return value should work for large mapped files even on 32-bit boxes. The code really needs to be rethought from scratch (not by me, though ...). 12 July 2001, 12:43:11 UTC
d7fe69f Backport Tim's checkin 1.9: SF bug 418615: regular expression bug in pipes.py. Obviously bad regexps, spotted by Jeffery Collins. 12 July 2001, 12:28:10 UTC
45892bf Backport Tim's checkin 1.7: SF bug 418296: WinMain.c should use WIN32_LEAN_AND_MEAN. I believe Kevin Rodgers here! The old WINDOWS_LEAN_AND_MEAN has, AFAICT, always been wrong. 12 July 2001, 12:26:42 UTC
cac2498 Re-do the broken-nice() patch to break less platforms. Hopefully none :P Also note that it isn't just Linux nice() that is broken: at least FreeBSD and BSDI also have this problem. os.nice() should probably just be emulated using getpriority()/setpriority(), if they are available, but that isn't worth putting in 2.1.1. 11 July 2001, 22:27:39 UTC
d11f5f3 Move the section on concrete numeric objects before the section on concrete sequence objects, since their API is simpler. This is in response to a comment in SF bug #440037. (Does this really belong in the bugfix release? Yes: this is a readability bug, and those are important in the documentation.) 11 July 2001, 20:40:05 UTC
90e6518 Added information about the timeout parameter to the poll() method for polling objects. This closes SF bug #439823. Fixed a minor markup bug. 11 July 2001, 18:49:00 UTC
44589dd Patch #439995 (slightly modified from the uploaded version): Work around Linux's nonstandard nice() systemcall, which does not return the new priority. This closes SF bug #439990. 11 July 2001, 14:01:08 UTC
958106d Backport of Guido's checkins of acconfig.h (1.50), configure.in (1.224) and readline.c (2.36), and re-generated config.h.in and configure: SF Patch #432457 by Jason Tishler: support for readline 4.2. This patch allows the readline module to build cleanly with GNU readline 4.2 without breaking the build for earlier GNU readline versions. The configure script checks for the presence of rl_completion_matches in libreadline. 11 July 2001, 12:18:24 UTC
800f677 Backport of the socketserver test, including output file (which is still necessary in the 2.1 branch.) Guido's original checkin message: A test suite for SocketServer.py that exposes the various bugs just fixed. Regrettably, this must be run manually -- somehow the I/O redirection of the regression test breaks the test. When run under the regression test, this raises ImportError with a warning to that effect. 11 July 2001, 12:15:15 UTC
1a2d894 This commit was manufactured by cvs2svn to create branch 'release21-maint'. 11 July 2001, 12:15:15 UTC
6dc482c Backport of Guido's checkin 1.25: Fix various serious problems: - The ThreadingTCPServer class and its derived classes were completely broken because the main thread would close the request before the handler thread had time to look at it. This was introduced by Ping's close_request() patch. The fix moves the close_request() calls to after the handler has run to completion in the BaseServer class and the ForkingMixIn class; when using the ThreadingMixIn, closing the request is the handler's responsibility. - The ForkingUDPServer class has always been been broken because the socket was closed in the child before calling the handler. I fixed this by simply not calling server_close() in the child at all. - I cannot get the UnixDatagramServer class to work at all. The recvfrom() call doesn't return a meaningful client address. I added a comment to this effect. Maybe it works on other Unix versions. - The __all__ variable was missing ThreadingMixIn and ForkingMixIn. - Bumped __version__ to "0.4". - Added a note about the test suite (to be checked in shortly). 11 July 2001, 12:05:49 UTC
d4a75dc Backport of Tim's checkin 2.178: SF bug #438295: [Windows] __init__.py cause strange behavior Probable fix (the bug report doesn't have enough info to say for sure). find_init_module(): Insist on a case-sensitive match for __init__ files. Given __INIT__.PY instead, find_init_module() thought that was fine, but the later attempt to do find_module("__INIT__.PY") didn't and its caller silently suppressed the resulting ImportError. Now find_init_module() refuses to accept __INIT__.PY to begin with. 11 July 2001, 12:03:44 UTC
e27a8b9 Backport Tim's checkin 1.17: SF patch #440144: Tests and minor bugfix for uu module decode(): While writing tests for uu.py, Nick Mathewson discovered that the 'Truncated input file' exception could never get raised, because its "if not str:" test was actually testing the builtin function "str", not the local string vrbl "s" as intended. 11 July 2001, 11:38:20 UTC
49ba499 Add another name. 10 July 2001, 16:20:59 UTC
93e543c Corrected the refcount information for PyList_SET_ITEM(). 10 July 2001, 16:19:26 UTC
919b65e Document PyObject_New(), PyObject_NewVar(), PyObject_Init(), PyObject_InitVar(), PyObject_Del(), PyObject_NEW(), PyObject_NEW_VAR(), and PyObject_DEL(). Add notes to PyMem_Malloc() and PyMem_New() about the memory buffers not being initialized. This fixes SF bug #439012. Added explicit return value information for PyList_SetItem(), PyDict_SetItem(), and PyDict_SetItemString(). Corrected return type for PyList_SET_ITEM(). Fixed index entries in the descriptions of PyLong_AsLong() and PyLong_AsUnignedLong(). This fixes the API manual portion of SF bug #440037. Note that the headers properly declare everything as 'extern "C"' for C++ users. Document _Py_NoneStruct. Added links to the Extending & Embedding manual for PyArg_ParseTuple() and PyArg_ParseTupleAndKeywords(). Added note that PyArg_Parse() should not be used in new code. Fix up a few style nits -- avoid "e.g." and "i.e." -- these make translation more difficult, as well as reading the English more difficult for non-native speakers. 10 July 2001, 16:11:09 UTC
4695681 Added descriptions for some modules that previously did not have any information about them, based on comments from Jack Jansen. 10 July 2001, 14:20:20 UTC
42af3ce Fix for SF bug #436525, reported by Greg Kochanski: The block/unblock thread macros are called 'Py_BLOCK_THREADS' and 'Py_UNBLOCK_THREADS', not 'Py_BEGIN_BLOCK_THREADS' and 'Py_BEGIN_UNBLOCK_THREADS'. 09 July 2001, 14:34:16 UTC
4c633be SF bug #439104: Tuple richcompares has code-typo. Symptom: (1, 2, 3) <= (1, 2) returned 1. Also an isomorphic error was in the list richcompare code. 06 July 2001, 17:48:47 UTC
f14452e When reading a continuation line, make sure we still use the transformed name when filling in the internal data structures, otherwise we incorrectly raise a KeyError. This fixes SF bug #432369. 06 July 2001, 17:23:22 UTC
f891be9 Explain the exit code for the wait() method, including a reference to the os.W*() functions used to interpret the return value. This fixes SF bug #429361. 06 July 2001, 17:18:05 UTC
02be5cb The fpectl module does not work on Windows, so remove Windows from the \platform statement. Also fix a minor style consistency nit in an example. 05 July 2001, 21:20:01 UTC
f379622 Allow underscores in tag names and quote characters in unquoted attribute values. The change for attribute values matches the way Mozilla and Navigator view the world, at least. This closes SF bug #436621. 05 July 2001, 18:22:48 UTC
3f6de5a Only write out one blank line before the request data. This closes SF patch #419459. 04 July 2001, 05:18:18 UTC
f0f49d9 Marked the parameters to Stats.print_*() as optional. This closes SF bug #438032. 02 July 2001, 21:22:56 UTC
13928be Avoid using os.path.normcase() on sys.path elements; doing so causes paths to be presented in an unfamiliar case on case-preserving filesystems. This closes SF patch #436173. 02 July 2001, 16:56:09 UTC
3bf0295 Added another name. 02 July 2001, 15:12:25 UTC
9e589ce Update to reflect Python 2.1.1 release planning. 02 July 2001, 15:11:34 UTC
bfc74e8 2.1.1c1 WIndows fiddling, plus patchlevel.h. 02 July 2001, 04:31:28 UTC
d8e303c Use the more conventional "self" as the name of the self parameter in an example. It actually confused a reader. 29 June 2001, 17:51:42 UTC
7469771 Correct a markup error for an accented character. Reported by Milan Zamazal <pdm@zamazal.org>. 29 June 2001, 16:24:47 UTC
db9e1cb Removed some stray periods, and fix up a number of visible markup consistency errors (mostly omitted "()" at the end of function and method names). Reported by Milan Zamazal <pdm@zamazal.org>. 29 June 2001, 16:22:36 UTC
d1b8c2a Another name. 29 June 2001, 15:41:45 UTC
590111d SourceForge bug #437041: Use a portable format in the example that creates a timestamp suitable for use in email, also updating it and the footnote from RFC 822 to RFC 2822. 29 June 2001, 15:41:19 UTC
cffa3d6 Another name. 29 June 2001, 15:01:14 UTC
f7e504d Simplify an example based on comment from Thomas Holenstein <thomas@hex.ch>: Do not use an extra flag variable to test only once in one subsequent if statement. 29 June 2001, 15:00:34 UTC
62ebe04 Backport Tim's checkin 1.12: doctest systematically leaked memory when handling an exception in an example (an obvious trackback cycle). Repaired. 27 June 2001, 15:07:17 UTC
b24ffe4 Backport of Tim's checkin 1.35: SF bug 434186: 0x80000000/2 != 0x80000000>>1 i_divmod: New and simpler algorithm. Old one returned gibberish on most boxes when the numerator was -sys.maxint-1. Oddly enough, it worked in the release (not debug) build on Windows, because the compiler optimized away some tricky sign manipulations that were incorrect in this case. Makes you wonder <wink> ... 27 June 2001, 14:26:58 UTC
7383e7a Backport of Tim's checkin 2.57: SF bug 434186: 0x80000000/2 != 0x80000000>>1 i_divmod: New and simpler algorithm. Old one returned gibberish on most boxes when the numerator was -sys.maxint-1. Oddly enough, it worked in the release (not debug) build on Windows, because the compiler optimized away some tricky sign manipulations that were incorrect in this case. Makes you wonder <wink> ... 27 June 2001, 14:24:12 UTC
44c3679 Backport Tim's checkin 2.247: SF bug 433228: repr(list) woes when len(list) big call_object: If the object isn't callable, display its type in the error msg rather than its repr. 27 June 2001, 14:13:32 UTC
5eaa740 Set PYTHONHOMEHELP to 2.1 27 June 2001, 14:11:12 UTC
cde43be Backport Tim's checkin 1.26 (patch probably by Michael Hudson, not Hundson): SF bug 431772: traceback.print_exc() causes traceback Patch from Michael Hundson. format_exception_only() blew up when trying to report a SyntaxError from a string input (line is None in this case, but it assumed a string). 27 June 2001, 14:07:50 UTC
671e257 Backport Tim's checkin 2.201: SF bug 430991: wrong co_lnotab Armin Rigo pointed out that the way the line-# table got built didn't work for lines generating more than 255 bytes of bytecode. Fixed as he suggested, plus corresponding changes to pyassem.py, plus added some long overdue docs about this subtle table to compile.c. 27 June 2001, 14:04:03 UTC
48a433c Backport Tim's checkin 1.20: SF bug 430991: wrong co_lnotab Armin Rigo pointed out that the way the line-# table got built didn't work for lines generating more than 255 bytes of bytecode. Fixed as he suggested, plus corresponding changes to pyassem.py, plus added some long overdue docs about this subtle table to compile.c. 27 June 2001, 14:03:30 UTC
f9952b2 Backport Tim's checkin 1.97: SF bug 430991: wrong co_lnotab Armin Rigo pointed out that the way the line-# table got built didn't work for lines generating more than 255 bytes of bytecode. Fixed as he suggested, plus corresponding changes to pyassem.py, plus added some long overdue docs about this subtle table to compile.c. 27 June 2001, 14:02:14 UTC
5829456 Backport Martin's checkin 2.16: Wrap with extern "C". Fixes bug #428419. Also protect against multiple inclusion. 27 June 2001, 13:52:56 UTC
2a0f86d Backport Martin's checkin 1.4 (with minor fix): Fix bug #422702: Make flag argument to open optional, and document it that way. 27 June 2001, 13:51:36 UTC
588efca Backport Martin's checkin 1.6: Fix bug #422702: Make flag argument to open optional, and document it that way. 27 June 2001, 13:45:01 UTC
95043ef Backport Guido's checkin 1.4: Quick update to the extension mechanism (extend.py is gone, long live config.txt). 27 June 2001, 13:43:51 UTC
01a4623 Backport Fred's checkin 2.51: Add :method info to the PyArg_ParseTuple() format strings for poll objects. 27 June 2001, 13:12:47 UTC
689f4fa Backport Jeremy's checkin 2.57: vgetargs1() and vgetargskeywords(): Replace uses of PyTuple_Size() and PyTuple_GetItem() with PyTuple_GET_SIZE() and PyTuple_GET_ITEM(). The code has already done a PyTuple_Check(). 27 June 2001, 13:11:09 UTC
7a5b674 Backport Jeremy's checkin 2.244: Add a second special case to the inline function call code in eval_code2(). If we have a PyCFunction (builtin) and it is METH_VARARGS only, load the args and dispatch to call_cfunction() directly. This provides a small speedup for perhaps the most common function calls -- builtins. 27 June 2001, 13:09:44 UTC
cf547e1 Backport of Tim's checkin 1.52: SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen. 27 June 2001, 13:05:05 UTC
ac4094b Backport of Tim's checkin 2.27: SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen. 27 June 2001, 13:04:24 UTC
687f228 Backport of Tim's checkin 2.111: SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen. 27 June 2001, 13:01:54 UTC
94441fe Backport of Tim's checkin 2.190: SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen. 27 June 2001, 13:01:12 UTC
cf32a67 Backport Fred's checkin 1.3: Write a better synopsis for the Scrap module, and provide a link to useful documentation on the Scrap Manager. 27 June 2001, 11:57:51 UTC
c034fa1 Python 2.1 (and 2.0) -> Python 2.1.1 in the licence text. 27 June 2001, 11:25:48 UTC
d0c8ed6 Updated link to zlib's home page. 25 June 2001, 15:30:33 UTC
1e97425 Re-organize a little, clean up some markup. Added some comments about sys.exit(), SystemExit, and preventing restricted code from exiting the interpreter. This closes SF bug #434743. 22 June 2001, 18:22:10 UTC
10de30d Corrected an error in the information on supporting weak references in extension types (the docs reflected a development version of the API). This closes SF bug #435066. 22 June 2001, 17:20:05 UTC
2f7d035 Adjust to understand use of either single- or double-quotes to quote attribute values, and make the logic surrounding the platform annotations just a little easier to read. Also make the platform notes appear in the generated page; they were supposed to, but did not. 22 June 2001, 17:17:02 UTC
2c5ecda Fix & clean up the information about building Python with large file support for Linux. This closes SF bug #434975. 22 June 2001, 16:00:54 UTC
83eb8cc Separate the version number and release status information. 22 June 2001, 15:52:13 UTC
5107a51 Add support for the classdesc* environment and the \releaseinfo and \setreleaseinfo macros added to the CVS head. 22 June 2001, 15:51:28 UTC
9c573b0 Properly mark the availability of tempnam() and tmpnam(). 22 June 2001, 15:41:58 UTC
495739f Added documentation for PyErr_SetFromErrnoWithFilename(). 21 June 2001, 18:56:49 UTC
257f7d0 Adjust the documents so that the copyright is at the front of the documents and the license statements are at the end. This is less annoying to readers. 21 June 2001, 18:52:50 UTC
a952658 Make sure 2.1.1 takes its proper place in the history of Python licenses. 21 June 2001, 18:51:11 UTC
7f29afb This commit was manufactured by cvs2svn to create branch 'release21-maint'. 21 June 2001, 18:51:11 UTC
bba4c8c Fix my own typo: protect the FLUSHO usage with "#ifdef FLUSHO", not "#ifndef FLUSHO". 18 June 2001, 21:05:04 UTC
eff2a98 Applying this to the 2.1.1 branch: Fix SF bug #433904 (Alex Martelli) - all s_* methods return None only. 18 June 2001, 12:34:31 UTC
bbdc66f Spell "#ifdef" as "#ifdef", not "#endif". 16 June 2001, 20:46:10 UTC
458004a Protect several more uses of constants with #ifdefs; these are necessary on (at least) SCO OpenServer 5. Fixes a non-SF-submitted bugreport by Michael Kent. 15 June 2001, 11:58:49 UTC
76ce2aa Fix an improperly placed comma. 14 June 2001, 13:57:49 UTC
23f8a04 Incorporating MAL's bugfix into the 2.1.1 branch: revision 1.53 date: 2001/06/12 16:13:51; author: lemburg; state: Exp; lines: +1 -1 Removed the Python version from the PYTHONHOMEHELP string. It was still set to python2.0 ... 12 June 2001, 16:29:12 UTC
b031d45 Add the appropriate availability annotations for the popen*() family of functions -- these are not available on traditional Mac OS platforms. Corrected the version annotations for the spawn*() functions and related constants; these were added in Python 1.6, not 1.5.2. 11 June 2001, 18:26:04 UTC
26cff90 Fixed parameter order for os.popen2(), os.popen3(), and os.popen(4). Added a reference to these functions and popen() from the "Process Management" section. Based on a suggestion from comp.lang.python. 11 June 2001, 15:22:23 UTC
fea0784 Protect the use of the VWERASE symbol by an #ifdef, it's apparently missing on (some versions of ?) AIX. 11 June 2001, 15:21:43 UTC
a623ca8 Merge in recent changes from development branch: add warning about being sure that code only runs once when using the module as both a module and a script. 11 June 2001, 14:57:07 UTC
ceea6fe Typo: "descrition" --> "description" Add reference to the documentation for the Python documentation markup. Fixed up a couple of descriptions. This closes SF bug #430627. 06 June 2001, 16:10:38 UTC
a9ce10f Add references to the documentation for the Python documentation markup. Suggested by the comments in SF bug #430627. 06 June 2001, 16:09:54 UTC
05f2920 Update a "Programmer's note" about lambda forms and scoping to reflect the availability of nested scoping in Python 2.1. Note that this is a slightly different patch than was applied to the trunk of the development for Python 2.2. 05 June 2001, 02:24:26 UTC
35a37f1 is -> if in rename description 04 June 2001, 15:30:41 UTC
9d26f81 Explained more differences between PyList_SetItem() and PyList_SET_ITEM(). In particular, the affect on existing list content was not sufficiently explained. This closes SF bug #429554. 03 June 2001, 03:16:04 UTC
3da898b Document os.getenv(). This closes SF bug #429059. 31 May 2001, 20:27:18 UTC
cba8e5b Some general cleanup of the threading module documentation, including fixing the reference to Thread.getDeamon() (should be isDaemon()). This closes SF bug #429070. 31 May 2001, 20:24:37 UTC
362612c expand __all__ to include a bunch of names that should have been there before. 31 May 2001, 18:03:22 UTC
ecf1b65 Users of PySequence_GET_FAST() should get the length of the sequence using PySequence_Size(), not PyObject_Size(): the later considers the mapping methods as well as the sequence methods, which is not needed here. Either should be equally fast in this case, but PySequence_Size() offers a better conceptual match. 29 May 2001, 18:53:11 UTC
f1760de readlink() description: Added note that the return value may be either absolute or relative. remove(), rename() descriptions: Give more information about the cross- platform behavior of these functions, so single-platform developers can be aware of the potential issues when writing portable code. This closes SF patch #426598. 29 May 2001, 18:14:26 UTC
b807180 Bring the notes on the relationship between __cmp__(), __eq__(), and __hash__() up to date (re: use of objects which define these methods as dictionary keys). This closes SF bug #427698. Migrated comments about supporting __contains__() and the use of the "in" operator from the development branch. 29 May 2001, 16:06:21 UTC
7d92f45 Fix typo reported in SF bug #427783. 29 May 2001, 15:45:01 UTC
0108b37 The parameter to the listen() method is not optional, but was marked as optional in the documentation. This closes SF bug #427985. 29 May 2001, 15:39:24 UTC
477bd2d _PyTuple_Resize: guard against PyTuple_New() returning NULL, using Tim's suggestion (modulo style). 29 May 2001, 08:05:01 UTC
fbed5be _PyTuple_Resize: take into account the empty tuple. There can be only one. Instead of raising a SystemError, just create a new tuple of the desired size. This fixes (at least) SF bug #420343. 28 May 2001, 13:04:33 UTC
back to top