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

sort by:
Revision Author Date Message Commit Date
d5cf143 Check in the updated version of patch #957240, which doesn't rely on the marshalling characteristics of infinities. 30 June 2004, 09:02:33 UTC
96b935e fix handling when a proper getopt(1) is available; the "--" end-of-options marker wasn't recognized 29 June 2004, 14:39:06 UTC
93b4b88 [Patch #974633] Check PyObject_MALLOC return for error 29 June 2004, 14:03:04 UTC
6d3a0d2 [Bug #948970] Add PyExc_* symbols to index. (I ran this through texcheck, but don't have LaTeX installed on this machine and therefore haven't verified that the changes are accepted by LaTeX.) 29 June 2004, 13:52:14 UTC
7dd8fda [Bug #978556] Update SHA spec URL; bugfix candidate 29 June 2004, 13:35:01 UTC
08c08bb [Bug #912845] urllib2 only checks for a 200 return code, but 206 is also legal if a Range: header was supplied. (Actually, should the first 'if' statement be modified to allow any 2xx status code?) 29 June 2004, 13:19:19 UTC
31352c5 Remove unused import. (If it's there for some deep, dark reason, it should have been commented.) 29 June 2004, 13:17:29 UTC
bd3200f Add test case for bug #912845: requesting an HTTP byte range doesn't work 29 June 2004, 13:15:46 UTC
f1a2f9e Docstring grammar fix 29 June 2004, 13:07:53 UTC
a031a08 Add a missing space. 29 June 2004, 04:14:02 UTC
46d4ff2 Fix stupid mistake of forgetting to mention that the fix for bug #981299 entailed editing the urlparse module. 29 June 2004, 04:08:23 UTC
fbac294 rsync is now a recognized protocol that uses "netloc" (i.e. specifies a network location) in its addressing. Closes bug #981299. 29 June 2004, 04:02:40 UTC
289e4cb Changed applicable use of ``char *`` declarations that are passed into PyArg_ParseTuple() to ``const char *`` to match the recommendation made in section 1.3 and to support better coding habits. Section 1.8 ("Keyword Parameters for Extension Functions") and it's coding example were not touched since it is stems from an accredited source and thus did not want to step on anyone's toes. 29 June 2004, 03:48:23 UTC
93d1b2c Add readme.txt 28 June 2004, 15:24:23 UTC
3b04ce8 Patch from Mark Hammond to fix a test error. Now runs without exception on WinME/98. 28 June 2004, 06:57:19 UTC
19699a9 Adds support for DB.pget and DBCursor.pget methods. Based on a patch supplied by Ian Ward <ian@arevco.ca> on the pybsddb mailing list 2004-03-26. 28 June 2004, 04:06:49 UTC
31c5065 Add weakref support to all bsddb.db objects. Make DBTxn objects automatically call abort() in their destructor if not yet finalized and raise a RuntimeWarning to that effect. 28 June 2004, 01:20:40 UTC
11b91a0 Added socket.getservbyport(), and make its second argument and that of getservbyname() optional. Update the tests and the docs. 28 June 2004, 00:50:43 UTC
1ed5705 Add missing backslash for PyDateTimeAPI->Delta_FromDelta() macro. 28 June 2004, 00:48:30 UTC
589c6ab raise the module minor version. 27 June 2004, 23:36:37 UTC
dc5af70 SF patch / bug #967763 Fix memory leaks revealed by valgrind and ensuing code inspection. In the existing test suite valgrind revealed two memory leaks (DB_get and DBC_set_range). Code inspection revealed that there were many other potential similar leaks (many on odd code error paths such as passing something other than a DBTxn object for a txn= parameter or in the face of an out of memory error). The most common case that would cause a leak was when using recno or queue format databases with integer keys, sometimes only with an exception exit. 27 June 2004, 23:32:34 UTC
c2b151c Add code for a range function that uses generators. Cleaned up existing code by abstracting code to parse arguments. Also removed any unneeded operations (such as calling 'int' on a division when using floor division also works). Fixed a bug where the values returned by OldStyleRange could be short by one value. Added more documentation. Testing code also has a basic sanity check. 27 June 2004, 23:17:35 UTC
a6b3caa Fix SF bug # 897820 - we can no longer use the DB_TRUNCATE flag when opening the DB to implement legacy interface flag='n' support as BerkeleyDB 4.2.52 no longer allows it in transaction protected environments. Do the os.unlink ourselves. 27 June 2004, 22:56:42 UTC
e7c0532 sizeof(char) is 1, by definition, so get rid of that expression in places it's just noise. 27 June 2004, 17:24:49 UTC
ef82d2f Patch #923098: Share interned strings in marshal. 27 June 2004, 16:51:46 UTC
8d97e33 Patch #966493: Cleanup generator/eval_frame exposure. 27 June 2004, 15:43:12 UTC
634893d Mention Py_RETURN_NONE when introducing the idiom of how to have a function return Py_None. 27 June 2004, 04:28:00 UTC
ebd9522 * Silence a test failure that resulted when test_site was run by regrtest.py after it ran test_frozen. This test was really only designed to be run immediately after startup. Afterwards, other modules could be loaded when had not been fixed-up by site.py Took the chicken way out and only tested those modules known to be imported by site.py. * Normalized whitespace. 27 June 2004, 03:02:18 UTC
a006c37 SF bug #980419: int left-shift causes memory leak 26 June 2004, 23:22:57 UTC
555a964 Clarify sentence at end of Intermezzo section stating that PyMODINIT_FUNC will be discussed later by saying it is the function return type of the sample code to make spotting it easier. 26 June 2004, 23:10:32 UTC
852f799 Install Barry's smtpd.py daemon. 26 June 2004, 22:29:42 UTC
5fad8bd remove debugging print 26 June 2004, 19:42:10 UTC
90e0153 Allow classes from other modules to be specified at startup. For example, using the postfixproxy module from Spambayes you might start smtpd up like smtpd.py -c spambayes.postfixproxy.SpambayesProxy :8025 :8026 26 June 2004, 19:18:49 UTC
616f4f6 Add a comment with implementation notes. 26 June 2004, 04:42:06 UTC
a7f56bc Get ceval.c to compile again by moving declarations before other statments. 26 June 2004, 04:34:33 UTC
f6af76d Modules/getpath.c now compiles properly under OS X when using the --disable-framework build; header file was protected in an #if using the wrong macro to check. Closes bug #978645. 26 June 2004, 04:03:06 UTC
d858a77 Massive performance improvement for C extension and builtin tracing code 25 June 2004, 23:31:06 UTC
ec6229e Make distutils "install --home" support all platforms. 25 June 2004, 23:02:59 UTC
8d726ee Cosmetic spacing fix. 25 June 2004, 22:24:35 UTC
70b3a1a Fix leak found by Eric Huss. 25 June 2004, 22:20:33 UTC
d56cbe5 Fix leak found by Eric Huss. 25 June 2004, 22:17:39 UTC
2202157 add boilerplate so the test modules can be run as scripts 25 June 2004, 19:04:21 UTC
43ea47f Move NOP to end of code transformation. 24 June 2004, 09:25:39 UTC
b86aa99 move the note about the bsddb185 module above the "See also" box; that should always go last in the relevant section's main content, but before child sections 24 June 2004, 06:03:59 UTC
057e720 Add compilation of timemodule.c with datetimemodule.c to get __PyTime_DoubleToTimet(). 24 June 2004, 01:38:47 UTC
6cc4814 Change comment from C++ style to C. 24 June 2004, 00:48:44 UTC
941b8bc Less ugly #ifdefs for C profiling fix 22 June 2004, 15:37:51 UTC
bbffbd1 One forgotten C profiling #ifdef 22 June 2004, 04:18:47 UTC
4c70b69 Making C profiling a configure option (at least temporarily) 22 June 2004, 03:51:38 UTC
9c18e81 Install two code generation optimizations that depend on NOP. Reduces the cost of "not" to almost zero. 21 June 2004, 16:31:15 UTC
2c9f889 add a couple of tests for the build_scripts command 21 June 2004, 16:15:22 UTC
9ddf40b SF patch 876130: add C API to datetime module, from Anthony Tuininga. The LaTeX is untested (well, so is the new API, for that matter). Note that I also changed NULL to get spelled consistently in concrete.tex. If that was a wrong thing to do, Fred should yell at me. 20 June 2004, 22:41:32 UTC
873a277 Patch #975885: print file name in err msg in quiet mode 20 June 2004, 20:59:56 UTC
28224f8 Improve the documented advice on how to best use heapq.heapreplace(). 20 June 2004, 09:07:53 UTC
1761a7c Use PyArg_UnpackTuple() where possible. 20 June 2004, 04:23:19 UTC
1b6f7a9 Bug 975996: Add _PyTime_DoubleToTimet to C API New include file timefuncs.h exports private API function _PyTime_DoubleToTimet() from timemodule.c. timemodule should export some other functions too (look for painful bits in datetimemodule.c). Added insane-argument checking to datetime's assorted fromtimestamp() and utcfromtimestamp() methods. Added insane-argument tests of these to test_datetime, and insane-argument tests for ctime(), localtime() and gmtime() to test_time. 20 June 2004, 02:50:16 UTC
1c3fa18 shutil.move() will raise an exception when trying to move a directory into itself. Closes bug #919012 . Thanks Johannes Gijsbers. 19 June 2004, 21:11:35 UTC
b46ed71 Add news item about raising ValueError when timemodule.c code that uses timestamps will lose precision thanks to time_t < double (bug #919012). 19 June 2004, 20:50:47 UTC
298c380 Raise ValueError when value being stored in a time_t variable will result in more than a second of precision. Primarily affects ctime, localtime, and gmtime. Closes bug #919012 thanks to Tim Peters' code. Tim suggests that the new funciton being introduced, _PyTime_DoubletoTimet(), should be added to the internal C API and then used in datetime where appropriate. Not being done now for lack of time. 19 June 2004, 20:48:43 UTC
cdc7923 Added normalization for Windows system name. Closes SF #945665. 19 June 2004, 17:17:00 UTC
84601f1 Change pydoc.stripid() be able to match against 64-bit addresses by having regex match from 6 to 16 characters. 19 June 2004, 01:22:48 UTC
c6c1f47 pydoc.stripid() is now case-insensitive for its regex to support platforms that have pointer addresses in uppercase. Closes bug #934282. Thanks Robin Becker. 19 June 2004, 01:02:51 UTC
2b2fe94 fix typo 18 June 2004, 21:28:28 UTC
4dbda47 If self.packages is None (this can happen, I saw it), return immediately (since None is not a sequence you can iterate over). 18 June 2004, 20:39:11 UTC
9e1bfe7 Disabling end-of-loop code not reached warning on SunPro 18 June 2004, 19:57:13 UTC
89a2dc7 Rebuild the wininst.exe files. 18 June 2004, 18:30:27 UTC
74db404 The wininst.exe is no longer compressed with UPX. 18 June 2004, 18:29:46 UTC
dd6d207 Fix an obvious typo (It *is* a typo, or not?) 18 June 2004, 17:31:23 UTC
4834039 When loading the Python dll to run the postinstall script, try to load it from the install directory (as reported by the registry) in case it is not found on the default Loadlibrary search path. Fixes SF 935091: bdist_winist post-install script fails on non-admin Python Already backported. 18 June 2004, 17:03:38 UTC
a42bc21 The 'distributing python modules' manual now has an index. 18 June 2004, 08:27:36 UTC
949f661 Fix typo - the module is named distutils.util. 18 June 2004, 06:55:28 UTC
56f6a4f allow developers to more easily build a profiling version of the interpreter and modules by configuring with the --enable-profiling flag. 18 June 2004, 02:47:22 UTC
964c798 Use getopt where possible, so this supports option letters that get jammed together on thos platforms. 17 June 2004, 22:04:17 UTC
3706855 Add apparently missing word for InvalidStateError definition. Closes bug #973901. Thanks Brian Gough. 17 June 2004, 21:34:05 UTC
b849edd fix bug: list of data files was initialized too soon in build_py 17 June 2004, 20:16:19 UTC
b8ab8b6 move support code to a helper module to ease re-use 17 June 2004, 20:14:50 UTC
9e1ac24 - add link to the downloadable package in the generated email - misc. changes 17 June 2004, 18:36:54 UTC
1ce9e4c Fixed end-of-loop code not reached warning when using SunPro C 17 June 2004, 18:27:18 UTC
0083c92 make the tarball available for download instead of throwing it away 17 June 2004, 17:19:12 UTC
24ec211 silly typo 17 June 2004, 15:55:53 UTC
9e151d1 add missing closing quote. 17 June 2004, 13:29:11 UTC
8817fcd Performance tweak: allow stack_pointer and oparg to be register variables. SF patch #943898 17 June 2004, 10:22:40 UTC
64af6c5 Comment that getfilesystemencoding returns mbcs even on NT+. Fixes #964870. 16 June 2004, 04:53:46 UTC
aefde43 Reverse argument order for nsmallest() and nlargest(). Reads better when the iterable is a generator expression. 15 June 2004, 23:53:35 UTC
969297f Return unicode strings from _getfullpathname even on W9X. Fixes #924703 . 15 June 2004, 18:49:58 UTC
0d6e8f2 Remove CRLF from project files. 15 June 2004, 18:18:19 UTC
d0620dc add a test that actually installs some scripts 15 June 2004, 16:55:46 UTC
bb7c144 One unit test for distutils is not much, but is more than we had yesterday. We need to write more; hopefully the barrier is a little lower now. 15 June 2004, 15:49:46 UTC
a050171 SF bug #973092: inspect.getframeinfo bug if 'context' is to big Make sure the start argument is not negative. 15 June 2004, 11:22:53 UTC
40333ce add a pointer to the Distutils Cookbook 14 June 2004, 22:07:50 UTC
b67ad7e Patch #826074: cmath.log optional base argument, fixes #823209 (Contributed by Andrew Gaul.) 14 June 2004, 07:40:10 UTC
ad21945 Back out #957240. 14 June 2004, 04:58:42 UTC
148a63f Remove a function no longer in use. 14 June 2004, 04:24:41 UTC
3d1f6bb Teach pythoncore project about new pystrtod.c for VC7.1. This was done a long time ago for VC6. 14 June 2004, 01:05:46 UTC
965eeca SF bug #970042, lockf() signature uses len, doc refers to length (use length, same as docstring) 13 June 2004, 21:11:03 UTC
7a13516 SF patch #969180, hotshot incorrectly computes elapsed time by Jason Beardsley. If the seconds are different, we still need to calculate the differences between milliseconds. Also, on a Gentoo Linux (2.6.5) dual Athlon MP box with glibc 2.3, time can go backwards. This probably happens when the process switches the CPU it's running on. Time can also go backwards when running NTP. If we detect a negative time delta (ie, time went backwards), return a delta of 0. This prevents an illegal array access elsewhere. I think it's safest to *not* update prev_timeofday in this case, so we return without updating. Backport candidate. 13 June 2004, 20:45:11 UTC
0f5aed4 Remove compiler warning 13 June 2004, 20:32:17 UTC
d85c452 Make private function static 13 June 2004, 20:31:49 UTC
75a3204 Remove warning (static not being first) when building with -W 13 June 2004, 20:31:17 UTC
0a8266a Remove warning about implicit declaration of strcmp() 13 June 2004, 20:29:55 UTC
back to top