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

sort by:
Revision Author Date Message Commit Date
6325178 Beef-up tests for greater coverage and refcount checking. 27 September 2004, 22:48:40 UTC
b6aa856 Patch #1009075, bug #952953: allow execve with empty 2nd argument 27 September 2004, 19:54:33 UTC
9f90439 Patch #1011240: SystemError generated by struct.pack('P', 'foo'). 27 September 2004, 19:27:51 UTC
b562bc6 Trivial bug fix: deque == [] is not a good way to check if a deque is empty. 27 September 2004, 17:49:00 UTC
ffdb8bb Use floor division operator. 27 September 2004, 15:29:05 UTC
4837a22 Use floor division operator. 27 September 2004, 14:23:40 UTC
a4c6a85 - Added a "parser" option to testfile() and DocFileTest(). 27 September 2004, 04:08:20 UTC
498a186 - Added a "parser" option to testfile() and DocFileTest(). 27 September 2004, 03:42:58 UTC
456ff91 - Fixed typo in multi-line exception example - Fixed indentation for a verbatim block 27 September 2004, 03:30:44 UTC
36ee8ce Give a saner example for script_from_examples(); also mention an intended but not entirely obvious use case. 26 September 2004, 21:51:25 UTC
9463d87 Made most module references "clickable". 26 September 2004, 21:05:03 UTC
0041121 Docs for run_docstring_examples(). 26 September 2004, 20:45:04 UTC
aa241e0 Checkin Tim's fix to an error discussed on python-dev. Also, add a testcase. Formerly, the list_extend() code used several local variables to remember its state across iterations. Since an iteration could call arbitrary Python code, it was possible for the list state to be changed. The new code uses dynamic structure references instead of C locals. So, they are always up-to-date. After list_resize() is called, its size has been updated but the new cells are filled with NULLs. These needed to be filled before arbitrary iteration code was called; otherwise, that code could attempt to modify a list that was in a semi-invalid state. The solution was to change the ob->size field back to a value reflecting the actual number of valid cells. 26 September 2004, 19:24:20 UTC
55593c3 Make the regex pattern easier to read, understand, and modify by factoring out the common prefix (the delimiter). 26 September 2004, 18:56:44 UTC
4d9559a Replace -soname with -h for Solaris compatibility. Fixes #1034496. Backported to 2.3. 26 September 2004, 17:26:55 UTC
a80a2c8 Updated doctest doc news. 26 September 2004, 05:13:18 UTC
05b05fe Added a lot of new stuff to the debugging section. 26 September 2004, 05:09:59 UTC
3afaaf2 Removed debug_script from the public API: no docs, not public. I'm in the process of writing docs for the other "missing" debug support functions. 26 September 2004, 03:50:06 UTC
16be62f register_optionflag(): Moved from the Debugging section to the section on option flags; added a versionadded decoration. 26 September 2004, 02:38:41 UTC
6a0a64b Document set_unittest_reportflags(). 26 September 2004, 02:12:40 UTC
9d02a7c Add set_unittest_reportflags() to the public API. Docs will follow "soon", after I repair the LaTeX I somehow damaged. 26 September 2004, 01:50:24 UTC
261b28a Removed two undocumented unittest support classes, and one undocumented unittest support function, from the public interface. If they're not documented, they shouldn't be public. 26 September 2004, 01:24:23 UTC
c90ea82 Fix double word error. 25 September 2004, 08:09:23 UTC
3f79125 Assorted minor changes, plus a lot more soap. 25 September 2004, 03:50:35 UTC
8c0a2cf Explain the motivation for the unittest functions, and beef up the example. Squash repeated argument descriptions. Minor rewordings. 25 September 2004, 03:02:23 UTC
48983fc Removed most of the module docstring. There's too much to explain now, and the LaTeX docs are in increasingly good shape. 25 September 2004, 02:41:28 UTC
b2b26ac Repaired mistakes in the descriptions of testmod()/testfile(), and squashed massive duplication of common argument descriptions. 25 September 2004, 01:51:49 UTC
35ae3dd Add warning notation about using 'bomb' setting. 25 September 2004, 01:39:56 UTC
a5ca2e7 Remove 'extern' declaration for _Py_SwappedOp. 25 September 2004, 01:37:24 UTC
2dc8205 Since the doctest warnings section was reduced to one bullet point, get rid of the itemize structure. 25 September 2004, 01:30:16 UTC
39c5de0 In the "doctest warnings" section, removed obsolete info, and noted that ELLIPSIS can be used to deal with examples that embed object addresses. 25 September 2004, 01:22:29 UTC
24f141a Raymond observed that sometimes it's better not to link modules, so I reverted part of my previous last changes. 25 September 2004, 00:55:38 UTC
06cc847 Beef up the section on testfile(), giving a complete example in reStructuredText format. Remove words describing the return value of testmod() and testfile() in the intro sections, since it's never useful in such simple cases. 25 September 2004, 00:49:53 UTC
cac5e7b Typo. 25 September 2004, 00:11:43 UTC
7a08214 Since the LaTeX isn't doctest'ed, examples are always wrong <wink>. 25 September 2004, 00:10:53 UTC
27ebcae - Use itemize instead of plain-text '*' for marking up a list. - Add more ulink's to modules (this should probably become a standard macro). 24 September 2004, 23:25:25 UTC
5a59d88 Whitespace normalization. 24 September 2004, 23:16:41 UTC
3981511 Port test_unpack to doctest (patch #736962). 24 September 2004, 21:36:52 UTC
6bc937c Add yet more tests for buffer(). 24 September 2004, 19:18:42 UTC
927a57f Ensure negative offsets cannot be passed to buffer(). When composing buffers, compute the new buffer size based on the old buffer size. Fixes SF bug #1034242. 24 September 2004, 19:17:26 UTC
fb6ba07 Fix buffer offset calculation (need to compute it before changing 'base'). Fixes SF bug #1033720. Move offset sanity checking to buffer_from_memory(). 24 September 2004, 15:41:27 UTC
29302a7 Add a few more tests for the buffer() object. 24 September 2004, 15:35:15 UTC
739d49e Added log() function documentation 24 September 2004, 11:46:44 UTC
b2635b2 Added log() function 24 September 2004, 11:45:52 UTC
02dd994 Added exception handling during handler initialization in fileConfig() 24 September 2004, 11:45:13 UTC
1cc3738 Whitespace normalization. 24 September 2004, 04:36:47 UTC
9447874 Add docstrings for regular expression objects and methods. 24 September 2004, 04:31:19 UTC
596ba4d Granted Noam Raphael's request for minor improvements to the re module and its documentation. * Documented that the compiled re methods are supposed to be more full featured than their simpilified function counterparts. * Documented the existing start and stop position arguments for the findall() and finditer() methods of compiled regular expression objects. * Added an optional flags argument to the re.findall() and re.finditer() functions. This aligns their API with that for re.search() and re.match(). 24 September 2004, 03:41:05 UTC
9fa544c Update for beta1 23 September 2004, 20:17:26 UTC
0c78956 Add various items 23 September 2004, 20:15:41 UTC
e1c69b3 float_richcompare(): Use the new Py_IS_NAN macro to ensure that, on platforms where that macro works, NaN compared to an int or long works the same as NaN compared to a finite float. 23 September 2004, 19:22:41 UTC
862f059 Introduced a Py_IS_NAN macro, which probably works on the major platforms today. pyconfig.h can override it if not, and can also override Py_IS_INFINITY now. Py_IS_NAN and Py_IS_INFINITY are overridden now for Microsoft compilers, using efficient MS-specific spellings. 23 September 2004, 19:11:32 UTC
307fa78 SF bug #513866: Float/long comparison anomaly. When an integer is compared to a float now, the int isn't coerced to float. This avoids spurious overflow exceptions and insane results. This should compute correct results, without raising spurious exceptions, in all cases now -- although I expect that what happens when an int/long is compared to a NaN is still a platform accident. Note that we had potential problems here even with "short" ints, on boxes where sizeof(long)==8. There's #ifdef'ed code here to handle that, but I can't test it as intended. I tested it by changing the #ifdef to trigger on my 32-bit box instead. I suppose this is a bugfix candidate, but I won't backport it. It's long-winded (for speed) and messy (because the problem is messy). Note that this also depends on a previous 2.4 patch that introduced _Py_SwappedOp[] as an extern. 23 September 2004, 08:06:40 UTC
4533f1f Improve three recipes in the itertools docs. 23 September 2004, 07:27:39 UTC
513c8bd Arghh, checked in wrong draft. Replacing with correct one. 23 September 2004, 07:00:47 UTC
0336e1f Use local variables in StringIO.write(). Makes it easier on the eyes and a bit more snappy. 23 September 2004, 06:43:25 UTC
7ec642a Fix for SF bug #1029475 : reload() doesn't work with PEP 302 loaders. 23 September 2004, 04:37:36 UTC
f4aca75 A static swapped_op[] array was defined in 3 different C files, & I think I need to define it again. Bite the bullet and define it once as an extern, _Py_SwappedOp[]. 23 September 2004, 02:39:37 UTC
7790c3b Removed redundant declaration of _PyLong_NumBits(). 23 September 2004, 01:56:02 UTC
2c31a05 SF patch #1031667: Fold tuples of constants into a single constant Example: >>> import dis >>> dis.dis(compile('1,2,3', '', 'eval')) 0 0 LOAD_CONST 3 ((1, 2, 3)) 3 RETURN_VALUE 22 September 2004, 18:44:21 UTC
0318a93 Clarify that iteration is over headers, not Mime elements. 22 September 2004, 18:03:47 UTC
ce96d8b Bug #1030125: rfc822 __iter__ problem Add iteration support to the Message class. 22 September 2004, 17:17:32 UTC
c6646c0 Added getLoggerClass() 22 September 2004, 12:55:16 UTC
b959117 Added getLoggerClass() 22 September 2004, 12:39:26 UTC
a2fc7ec - Minor docstring fixes. - Simplified code to find names for file-based tests. 21 September 2004, 03:24:24 UTC
4ae900f - Changed SampleClass docstrings to test docstring parsing a little more thouroughly. 21 September 2004, 03:20:34 UTC
b3666a3 - Updated docs to reflect changes in 2.4. - Reorganized the documentation - Shifted focus a little more towards "literate testing" - Documented new functions and classes: - testfile() - Example, DocTest - DocTestParser, DocTestFinder, DocTestRunner, OutputChecker - DocFileSuite - DebugRunner, DocTestFailure, UnexpectedException - register_optionflag() 21 September 2004, 03:00:51 UTC
24a0045 Add a commented-out recipe on making trailing whitespace explicit. If people think this is not too intrusive it could be uncommented. 20 September 2004, 22:33:21 UTC
bab3e99 Whitespace normalization. 20 September 2004, 19:52:34 UTC
6165620 Import no longer needed. 20 September 2004, 18:08:31 UTC
468af71 Fix minor grammar typo. 20 September 2004, 17:47:46 UTC
13dea5a Raymond reminded me to use DSU key 20 September 2004, 16:43:30 UTC
41f89a4 Sort classes by fully qualified name. In the common case where you are displaying a set of classes from one module it doesn't matter, but if you are displaying a large class tree from multiple modules it improves the display to sort by module.name. 20 September 2004, 15:40:38 UTC
729d47d Patch #1024670: Support int objects in PyLong_AsUnsignedLong[Mask]. 20 September 2004, 06:17:46 UTC
f13337d Fix lib-tk PythonPath. 19 September 2004, 18:36:45 UTC
052d0cd - Added "testfile" function, a simple function for running & verifying all examples in a given text file. (analagous to "testmod") - Minor docstring fixes. - Added module_relative parameter to DocTestFile/DocTestSuite, which controls whether paths are module-relative & os-independent, or os-specific. 19 September 2004, 17:19:33 UTC
1be1a79 SF bug #1030557: PyMapping_Check crashes when argument is NULL Make PySequence_Check() and PyMapping_Check() handle NULL inputs. This goes beyond what most of the other checks do, but it is nice defensive programming and solves the OP's problem. 19 September 2004, 06:00:15 UTC
8b4e886 When this file is sourced in, or used as, one's vimrc file it will set the proper settings to follow the style guidelines laid out in PEPs 7 & 8 as best it can without forcing extraneous settings. Suggested settings are commented out and included at the end of the file. The goal is to have this file prevent as much as possible from deviating from the style guidelines. It is not meant to collect every cool macro possible for Python. Any useful settings for features included with Vim can be included and commented out, but anything overly extraneous should be left out. 19 September 2004, 05:43:13 UTC
636a6b1 SF patch #1020845: Decimal performance enhancements (Contributed by Nick Coghlan.) Various code cleanups and optimizations (saves about 40% on testsuite execution time and on the telco benchmark). * caches results of various operations on self (esp. checks for being a special value). * _WorkRep now uses ints and longs for intermediate computations. 19 September 2004, 01:54:09 UTC
6cc1350 - Updated example output to match actual output - Minor wording changes - Changed the docs to reflect the fact that multiple option directives can be specified on a single line (and updated the directive production list, as well). 19 September 2004, 01:16:44 UTC
33db656 Update Template/PEP 292 documentation to current implementation. 18 September 2004, 21:13:43 UTC
0273f5b In DocFileTest: - Fixed bug in handling of absolute paths. - If run from an interactive session, make paths relative to the directory containing sys.argv[0] (since __main__ doesn't have a __file__ attribute). 18 September 2004, 20:27:04 UTC
c9f53b4 Link with ws2_32 instead of wsock32. 18 September 2004, 16:16:34 UTC
725f8c8 Patch #1021596: Check for None to determine whether _urandomfd is uninitialized. 18 September 2004, 16:07:58 UTC
b0c670c Convert boolean results back to strings. Fixes #807871. Will backport to 2.3. 18 September 2004, 16:01:23 UTC
5d52e78 Make curses.h inclusion conditional as in the original patch #1012280. Backported to 2.3. 18 September 2004, 10:07:03 UTC
ae2830c Patch #1012280: Include curses.h for term.h check. Fixes #933795. Will backport to 2.3. 18 September 2004, 09:54:52 UTC
f3c5611 Patch #1029061: Always extract member names from the tarinfo. 18 September 2004, 09:08:52 UTC
39a3178 Patch #1025790: Add status code constants to httplib. 18 September 2004, 09:03:49 UTC
17cb600 At the cost of a modest (but useful in its own right) change in the semantics of the Template.delimiter attribute, we make use of the delimiter in the escaped group, and in the safe_substitute() method more robust. Now, .delimiter should be the unescaped delimiter literal, e.g. '$' or '&', or whatever. The _TemplateMetaclass will re.escape() this value when it builds the pattern. 18 September 2004, 00:06:34 UTC
2e6fb46 remove gzipped archives from the list of expected distributions 17 September 2004, 20:23:47 UTC
6011a3c SF Patch 1022011: Add a command-line argument --no-autoreq, which sets the "AutoReq: 0" to disable automatic dependency searching. 17 September 2004, 08:34:12 UTC
57a6a41 SF Patch 1022003: Change bdist_rpm _topdir to use os.path.abspath(self.rpm_base) instead of os.getcwd() + '/' + self.rpm_base 17 September 2004, 08:23:22 UTC
cfc3192 SF bug #1014215: Unspecific errors with metaclass High level error message was stomping useful detailed messages from lower level routines. The new approach is to augment string error messages returned by the low level routines. The provides both high and low level information. If the exception value is not a string, no changes are made. To see the improved messages in action, type: import random class R(random): pass class B(bool): pass 16 September 2004, 16:41:57 UTC
6543b45 Initialize sep and seplen to suppress warning from gcc. 16 September 2004, 03:28:13 UTC
528ca53 SF bug #1028306: date-datetime comparison Treat comparing a date to a datetime like a mixed-type comparison. 16 September 2004, 01:30:50 UTC
c74298a Whitespace normalization. 16 September 2004, 00:09:19 UTC
0a1af4a Remove tabs. 15 September 2004, 23:26:23 UTC
ca0d2cb Add a missing line continuation character. 15 September 2004, 11:41:32 UTC
9996828 Patch #1026986: Add OpenBSD 3.5 and 3.6 to list of broken systems. 15 September 2004, 06:02:54 UTC
back to top