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

sort by:
Revision Author Date Message Commit Date
bfe5684 typo 03 October 2004, 09:41:26 UTC
507a485 Print verbose messages to stderr. Fixes #1036752. 03 October 2004, 08:51:35 UTC
fec1ce0 remove rotor module 03 October 2004, 08:29:55 UTC
3dac89e note module removals, update on BitTorrent issue 03 October 2004, 08:26:36 UTC
96b3725 bring modules up to date, correct .DEF file version 03 October 2004, 08:11:30 UTC
1b64359 Fix test for FeedParser results. 03 October 2004, 04:02:43 UTC
8df5921 Blarg, fix the versions. 03 October 2004, 03:58:01 UTC
43790b4 Updates for distutils package. 03 October 2004, 03:57:37 UTC
2ec4854 Add documentation about as_string() mangling From_ lines. 03 October 2004, 03:39:47 UTC
05bef93 as_string(): Indicate that this mangles From_ lines. 03 October 2004, 03:38:07 UTC
bb11386 Big email 3.0 API changes, with updated unit tests and documentation. Briefly (from the NEWS file): - Updates for the email package: + All deprecated APIs that in email 2.x issued warnings have been removed: _encoder argument to the MIMEText constructor, Message.add_payload(), Utils.dump_address_pair(), Utils.decode(), Utils.encode() + New deprecations: Generator.__call__(), Message.get_type(), Message.get_main_type(), Message.get_subtype(), the 'strict' argument to the Parser constructor. These will be removed in email 3.1. + Support for Python earlier than 2.3 has been removed (see PEP 291). + All defect classes have been renamed to end in 'Defect'. + Some FeedParser fixes; also a MultipartInvariantViolationDefect will be added to messages that claim to be multipart but really aren't. + Updates to documentation. 03 October 2004, 03:16:19 UTC
2cdd608 removed 2.2 support 02 October 2004, 14:06:56 UTC
16c3e08 use new readPlist() and writePlist() functions 02 October 2004, 14:06:18 UTC
974d757 Upon insertion, if memory runs out, the deque was left in a corrupted state. deque_item(): a performance bug: the linked list of blocks was followed from the left in most cases, because the test (i < (deque->len >> 1)) was after "i %= BLOCKLEN". deque_clear(): replaced a call to deque_len() with deque->len; not sure what this call was here for, nor if all compilers under the sun would inline it. deque_traverse(): I belive that it could be called by the GC when the deque has leftblock==rightblock==NULL, because it is tracked before the first block is allocated (though closely before). Still, a C extension module subclassing deque could provide its own tp_alloc that could trigger a GC collection after the PyObject_GC_Track()... deque_richcompare(): rewrote to cleanly check for end-of-iterations instead of relying on deque.__iter__().next() to succeed exactly len(deque) times -- an assumption which can break if deques are subclassed. Added a test. I wonder if the length should be explicitely bounded to INT_MAX, with OverflowErrors, as in listobject.c. On 64-bit machines, adding more than INT_MAX in the deque will result in trouble. (Note to anyone/me fixing this: carefully check for overflows if len is close to INT_MAX in the following functions: deque_rotate(), deque_item(), deque_ass_item()) 02 October 2004, 13:59:34 UTC
565ea5a SF bug#1038917 fix typos (Contributed by George Yoshida.) 02 October 2004, 11:02:59 UTC
880430e Replace structure member before decreffing. 02 October 2004, 10:56:43 UTC
4c3d054 Which reminds me, I've had a much improved plistlib.py lying around for ages. The main improvements are: - a much more convenient API: readPlist() and writePlist() - support non-dict top-level objects 02 October 2004, 08:40:47 UTC
d1b3d88 * Bulletproof the method for detecting mutations during iteration. The previous approach was too easily fooled (a rotate() sufficed). * Use it->counter to determine when iteration is complete. The previous approach was too complex. * Strengthen an assertion and add a comment here or there. 02 October 2004, 00:43:13 UTC
77e8bf1 Restore the block length and add a comment. 01 October 2004, 15:25:53 UTC
4ca4c7c Clarify the relationship between indices. 01 October 2004, 15:14:39 UTC
61f05fb * Elaborate on the invariant comments and make them more precise. * Change the centering by one to make it possible to test the module with BLOCKLEN's as low as two. Testing small blocks makes end-point errors surface more readily. 01 October 2004, 06:24:12 UTC
cf8997f Noted the fix to deque gc. 01 October 2004, 02:13:16 UTC
10c7e86 deque_traverse(): If the deque had one block, and its rightindex was BLOCKLEN-1, this assert-failed in a debug build, or went wild with a NULL pointer in a release build. Reported on c.l.py by Stefan Behnel. 01 October 2004, 02:01:04 UTC
d6e0032 Typos in new comments. 01 October 2004, 01:35:54 UTC
d8768d3 Document some reverse-engineered invariants and pragmatic hints. 01 October 2004, 01:32:53 UTC
e644a1b Get references working (except for references to "Extending optparse", which isn't being converted from reST yet). 01 October 2004, 01:16:39 UTC
6f85356 Definition consistency. 01 October 2004, 01:04:50 UTC
1065f75 Trimmed trailing whitespace. 01 October 2004, 01:03:29 UTC
7b46f6b Add tests for syntax errors. 30 September 2004, 22:29:03 UTC
0fe00aa Added 2 notes about the complexities of testing SyntaxErrors. 30 September 2004, 17:18:18 UTC
49c522b Expand scope to include general mapping protocol tests. Many of these tests are redundant, but this will ensure that the mapping protocols all stay in sync. Also, added a test for dictionary subclasses. 30 September 2004, 15:07:29 UTC
59b23e8 Add missing test_dict.py from patch #736962. 30 September 2004, 13:46:00 UTC
5ea7e31 Improve test coverage. 30 September 2004, 07:47:20 UTC
f751fa6 SF bug #1035279: hex() and oct() documentation is incorrect * Updated docs to reflected signed return values. * Fixed a doubled word typo. 30 September 2004, 00:59:08 UTC
fec0c46 Improve error message for augmented assignments to genexps or listcomps. Rather than introduce new logic, took the approach of making the message itself more general. 29 September 2004, 23:54:08 UTC
8ffc141 Fix two erroneous error messages. 29 September 2004, 21:47:10 UTC
975e725 Fix typo in PyDict_Items doc 29 September 2004, 21:39:26 UTC
ff5dc0e Improve test coverage. 29 September 2004, 11:40:50 UTC
bcab2b2 Improve test coverage. 29 September 2004, 08:03:17 UTC
5497fee minor doc tweaks for writexml 28 September 2004, 18:40:42 UTC
67db9a5 typo 28 September 2004, 18:30:03 UTC
06cc973 Replaced a test with an assertion. (Suggested by Michael Hudson.) 28 September 2004, 17:22:12 UTC
01ba799 A number of list examples used 66.6, but I doubt there's any box on which repr(66.6) == "66.6", so doubt that the claimed output has ever been seen. Changed it to 66.25 everywhere, and manually verified that the new claimed output is correct. 28 September 2004, 16:12:50 UTC
7d88a58 Reverted the addition of a NORMALIZE_NUMBERS option, per Tim Peter's request. Tim says that "correct 'fuzzy' comparison of floats cannot be automated." (The motivation behind adding the new option was verifying interactive examples in Python's latex documentation; several such examples use numbers that don't print consistently on different platforms.) 28 September 2004, 05:50:57 UTC
4cda01e * Increase test coverage. * Have groupby() be careful about decreffing structure members. 28 September 2004, 04:45:28 UTC
aec3c9b Added a new NORMALIZE_NUMBERS option, which causes number literals in the expected output to match corresponding number literals in the actual output if their values are equal (to ten digits of precision). 28 September 2004, 04:29:57 UTC
bfef869 Add note about inclusion of DarwinPorts directories in setup.py on darwin. 28 September 2004, 04:08:11 UTC
35b93d9 Add the directories where DarwinPorts installs library and include files to the proper path directories for compiling extension modules. 28 September 2004, 03:49:52 UTC
1793dd3 Fixed minor typo in interactive example (extra '.'s in '...' prompts) 28 September 2004, 03:12:01 UTC
dcdb4b4 Fixed minor typo in interactive example (extra blank line) 28 September 2004, 03:08:57 UTC
78a5271 SF bug #1033038: Misleading error message in random.choice Added a clarifying line to the docs. 28 September 2004, 03:04:23 UTC
ad51226 Fixed minor typo in interactive example 28 September 2004, 02:56:45 UTC
3077b02 Fixed minor typo in interactive example (backslash shouldn't be doubled) 28 September 2004, 02:54:54 UTC
a7f6281 Updated interactive examples in the "Examples" session to reflect the fact that compiler.ast.Function now takes a "decorators" argument. 28 September 2004, 02:53:50 UTC
87de0ca Silence a compiler warning by supplying the correct argument type to the htons() function. 28 September 2004, 02:19:40 UTC
6429a47 Use Py_CLEAR(). Add unrelated test. 28 September 2004, 01:51:35 UTC
b6f7fb7 Major overhaul to reflect Optik 1.5. Section references currently broken. 28 September 2004, 01:30:23 UTC
855d9a9 Plug a leak and beef-up test coverage. 28 September 2004, 00:03:54 UTC
630e535 Rename test for comparision errors. 27 September 2004, 23:11:35 UTC
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
back to top