fb09f0e | Raymond Hettinger | 07 October 2004, 03:58:07 UTC | Finalize the freelist of list objects. | 07 October 2004, 03:58:07 UTC |
ffa5cf9 | Brett Cannon | 06 October 2004, 22:48:58 UTC | Fix bug introduced by the previous patch by changing TimeRE.__seqToRe() to accept any iterable instead of only a sliceable object. | 06 October 2004, 22:48:58 UTC |
c5fa992 | Raymond Hettinger | 06 October 2004, 17:51:54 UTC | Armin's patch to prevent overflows. | 06 October 2004, 17:51:54 UTC |
f7948c2 | Brett Cannon | 06 October 2004, 02:23:14 UTC | Convert a listcomp to a gencomp (was already editing code). | 06 October 2004, 02:23:14 UTC |
4f35c71 | Brett Cannon | 06 October 2004, 02:11:37 UTC | Locale data that contains regex metacharacters are now properly escaped. Closes bug #1039270. | 06 October 2004, 02:11:37 UTC |
579b3e2 | Andrew M. Kuchling | 05 October 2004, 20:23:34 UTC | Add some items | 05 October 2004, 20:23:34 UTC |
29978ae | Tim Peters | 04 October 2004, 03:34:32 UTC | The docs claimed a test would pass that actually wouldn't pass. Repaired the example so it does pass. | 04 October 2004, 03:34:32 UTC |
b9b5f16 | Brett Cannon | 03 October 2004, 23:21:44 UTC | Fix a small typo in the docstring for system_methodSignature . Closes bug #1038935. Thanks Malte Helmert for spotting it. | 03 October 2004, 23:21:44 UTC |
e7d4066 | Vinay Sajip | 03 October 2004, 19:12:07 UTC | Changes made to maintain 1.5.2 compatibility. | 03 October 2004, 19:12:07 UTC |
2d5fee0 | Vinay Sajip | 03 October 2004, 19:10:53 UTC | Version number updated to 0.4.9.5 | 03 October 2004, 19:10:53 UTC |
1dc5b1e | Vinay Sajip | 03 October 2004, 19:10:05 UTC | Clarified documentation about exc_info keyword parameter | 03 October 2004, 19:10:05 UTC |
130e37f | Tim Peters | 03 October 2004, 19:03:19 UTC | Read the text files to be compared in universal-newline mode. | 03 October 2004, 19:03:19 UTC |
ab9b32c | Tim Peters | 03 October 2004, 18:35:19 UTC | Whitespace normalization. | 03 October 2004, 18:35:19 UTC |
dd3c837 | Just van Rossum | 03 October 2004, 16:27:09 UTC | added plistlib news item | 03 October 2004, 16:27:09 UTC |
1cbf206 | David Goodger | 03 October 2004, 15:55:09 UTC | SF bug #997050: Document, test, & check for non-string values in ConfigParser. Moved the new string-only restriction added in rev. 1.65 to the SafeConfigParser class, leaving existing ConfigParser & RawConfigParser behavior alone, and documented the conditions under which non-string values work. | 03 October 2004, 15:55:09 UTC |
68a1abd | David Goodger | 03 October 2004, 15:40:25 UTC | SF bug #1017864: ConfigParser now correctly handles default keys, processing them with ``ConfigParser.optionxform`` when supplied, consistent with the handling of config file entries and runtime-set options. | 03 October 2004, 15:40:25 UTC |
bfe5684 | Michael W. Hudson | 03 October 2004, 09:41:26 UTC | typo | 03 October 2004, 09:41:26 UTC |
507a485 | Martin v. Löwis | 03 October 2004, 08:51:35 UTC | Print verbose messages to stderr. Fixes #1036752. | 03 October 2004, 08:51:35 UTC |
fec1ce0 | Andrew MacIntyre | 03 October 2004, 08:29:55 UTC | remove rotor module | 03 October 2004, 08:29:55 UTC |
3dac89e | Andrew MacIntyre | 03 October 2004, 08:26:36 UTC | note module removals, update on BitTorrent issue | 03 October 2004, 08:26:36 UTC |
96b3725 | Andrew MacIntyre | 03 October 2004, 08:11:30 UTC | bring modules up to date, correct .DEF file version | 03 October 2004, 08:11:30 UTC |
1b64359 | Barry Warsaw | 03 October 2004, 04:02:43 UTC | Fix test for FeedParser results. | 03 October 2004, 04:02:43 UTC |
8df5921 | Barry Warsaw | 03 October 2004, 03:58:01 UTC | Blarg, fix the versions. | 03 October 2004, 03:58:01 UTC |
43790b4 | Barry Warsaw | 03 October 2004, 03:57:37 UTC | Updates for distutils package. | 03 October 2004, 03:57:37 UTC |
2ec4854 | Barry Warsaw | 03 October 2004, 03:39:47 UTC | Add documentation about as_string() mangling From_ lines. | 03 October 2004, 03:39:47 UTC |
05bef93 | Barry Warsaw | 03 October 2004, 03:38:07 UTC | as_string(): Indicate that this mangles From_ lines. | 03 October 2004, 03:38:07 UTC |
bb11386 | Barry Warsaw | 03 October 2004, 03:16:19 UTC | 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 | Just van Rossum | 02 October 2004, 14:06:56 UTC | removed 2.2 support | 02 October 2004, 14:06:56 UTC |
16c3e08 | Just van Rossum | 02 October 2004, 14:06:18 UTC | use new readPlist() and writePlist() functions | 02 October 2004, 14:06:18 UTC |
974d757 | Armin Rigo | 02 October 2004, 13:59:34 UTC | 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 | Raymond Hettinger | 02 October 2004, 11:02:59 UTC | SF bug#1038917 fix typos (Contributed by George Yoshida.) | 02 October 2004, 11:02:59 UTC |
880430e | Raymond Hettinger | 02 October 2004, 10:56:43 UTC | Replace structure member before decreffing. | 02 October 2004, 10:56:43 UTC |
4c3d054 | Just van Rossum | 02 October 2004, 08:40:47 UTC | 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 | Raymond Hettinger | 02 October 2004, 00:43:13 UTC | * 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 | Raymond Hettinger | 01 October 2004, 15:25:53 UTC | Restore the block length and add a comment. | 01 October 2004, 15:25:53 UTC |
4ca4c7c | Raymond Hettinger | 01 October 2004, 15:14:39 UTC | Clarify the relationship between indices. | 01 October 2004, 15:14:39 UTC |
61f05fb | Raymond Hettinger | 01 October 2004, 06:24:12 UTC | * 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 | Tim Peters | 01 October 2004, 02:13:16 UTC | Noted the fix to deque gc. | 01 October 2004, 02:13:16 UTC |
10c7e86 | Tim Peters | 01 October 2004, 02:01:04 UTC | 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 | Tim Peters | 01 October 2004, 01:35:54 UTC | Typos in new comments. | 01 October 2004, 01:35:54 UTC |
d8768d3 | Tim Peters | 01 October 2004, 01:32:53 UTC | Document some reverse-engineered invariants and pragmatic hints. | 01 October 2004, 01:32:53 UTC |
e644a1b | Greg Ward | 01 October 2004, 01:16:39 UTC | 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 | Tim Peters | 01 October 2004, 01:04:50 UTC | Definition consistency. | 01 October 2004, 01:04:50 UTC |
1065f75 | Tim Peters | 01 October 2004, 01:03:29 UTC | Trimmed trailing whitespace. | 01 October 2004, 01:03:29 UTC |
7b46f6b | Raymond Hettinger | 30 September 2004, 22:29:03 UTC | Add tests for syntax errors. | 30 September 2004, 22:29:03 UTC |
0fe00aa | Edward Loper | 30 September 2004, 17:18:18 UTC | Added 2 notes about the complexities of testing SyntaxErrors. | 30 September 2004, 17:18:18 UTC |
49c522b | Raymond Hettinger | 30 September 2004, 15:07:29 UTC | 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 | Walter Dörwald | 30 September 2004, 13:46:00 UTC | Add missing test_dict.py from patch #736962. | 30 September 2004, 13:46:00 UTC |
5ea7e31 | Raymond Hettinger | 30 September 2004, 07:47:20 UTC | Improve test coverage. | 30 September 2004, 07:47:20 UTC |
f751fa6 | Raymond Hettinger | 30 September 2004, 00:59:08 UTC | 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 | Raymond Hettinger | 29 September 2004, 23:54:08 UTC | 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 | Raymond Hettinger | 29 September 2004, 21:47:10 UTC | Fix two erroneous error messages. | 29 September 2004, 21:47:10 UTC |
975e725 | Nicholas Bastin | 29 September 2004, 21:39:26 UTC | Fix typo in PyDict_Items doc | 29 September 2004, 21:39:26 UTC |
ff5dc0e | Raymond Hettinger | 29 September 2004, 11:40:50 UTC | Improve test coverage. | 29 September 2004, 11:40:50 UTC |
bcab2b2 | Raymond Hettinger | 29 September 2004, 08:03:17 UTC | Improve test coverage. | 29 September 2004, 08:03:17 UTC |
5497fee | Skip Montanaro | 28 September 2004, 18:40:42 UTC | minor doc tweaks for writexml | 28 September 2004, 18:40:42 UTC |
67db9a5 | Skip Montanaro | 28 September 2004, 18:30:03 UTC | typo | 28 September 2004, 18:30:03 UTC |
06cc973 | Raymond Hettinger | 28 September 2004, 17:22:12 UTC | Replaced a test with an assertion. (Suggested by Michael Hudson.) | 28 September 2004, 17:22:12 UTC |
01ba799 | Tim Peters | 28 September 2004, 16:12:50 UTC | 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 | Edward Loper | 28 September 2004, 05:50:57 UTC | 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 | Raymond Hettinger | 28 September 2004, 04:45:28 UTC | * Increase test coverage. * Have groupby() be careful about decreffing structure members. | 28 September 2004, 04:45:28 UTC |
aec3c9b | Edward Loper | 28 September 2004, 04:29:57 UTC | 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 | Brett Cannon | 28 September 2004, 04:08:11 UTC | Add note about inclusion of DarwinPorts directories in setup.py on darwin. | 28 September 2004, 04:08:11 UTC |
35b93d9 | Brett Cannon | 28 September 2004, 03:49:52 UTC | 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 | Edward Loper | 28 September 2004, 03:12:01 UTC | Fixed minor typo in interactive example (extra '.'s in '...' prompts) | 28 September 2004, 03:12:01 UTC |
dcdb4b4 | Edward Loper | 28 September 2004, 03:08:57 UTC | Fixed minor typo in interactive example (extra blank line) | 28 September 2004, 03:08:57 UTC |
78a5271 | Raymond Hettinger | 28 September 2004, 03:04:23 UTC | SF bug #1033038: Misleading error message in random.choice Added a clarifying line to the docs. | 28 September 2004, 03:04:23 UTC |
ad51226 | Edward Loper | 28 September 2004, 02:56:45 UTC | Fixed minor typo in interactive example | 28 September 2004, 02:56:45 UTC |
3077b02 | Edward Loper | 28 September 2004, 02:54:54 UTC | Fixed minor typo in interactive example (backslash shouldn't be doubled) | 28 September 2004, 02:54:54 UTC |
a7f6281 | Edward Loper | 28 September 2004, 02:53:50 UTC | 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 | Raymond Hettinger | 28 September 2004, 02:19:40 UTC | Silence a compiler warning by supplying the correct argument type to the htons() function. | 28 September 2004, 02:19:40 UTC |
6429a47 | Raymond Hettinger | 28 September 2004, 01:51:35 UTC | Use Py_CLEAR(). Add unrelated test. | 28 September 2004, 01:51:35 UTC |
b6f7fb7 | Greg Ward | 28 September 2004, 01:30:23 UTC | Major overhaul to reflect Optik 1.5. Section references currently broken. | 28 September 2004, 01:30:23 UTC |
855d9a9 | Raymond Hettinger | 28 September 2004, 00:03:54 UTC | Plug a leak and beef-up test coverage. | 28 September 2004, 00:03:54 UTC |
630e535 | Raymond Hettinger | 27 September 2004, 23:11:35 UTC | Rename test for comparision errors. | 27 September 2004, 23:11:35 UTC |
6325178 | Raymond Hettinger | 27 September 2004, 22:48:40 UTC | Beef-up tests for greater coverage and refcount checking. | 27 September 2004, 22:48:40 UTC |
b6aa856 | Armin Rigo | 27 September 2004, 19:54:33 UTC | Patch #1009075, bug #952953: allow execve with empty 2nd argument | 27 September 2004, 19:54:33 UTC |
9f90439 | Armin Rigo | 27 September 2004, 19:27:51 UTC | Patch #1011240: SystemError generated by struct.pack('P', 'foo'). | 27 September 2004, 19:27:51 UTC |
b562bc6 | Armin Rigo | 27 September 2004, 17:49:00 UTC | Trivial bug fix: deque == [] is not a good way to check if a deque is empty. | 27 September 2004, 17:49:00 UTC |
ffdb8bb | Raymond Hettinger | 27 September 2004, 15:29:05 UTC | Use floor division operator. | 27 September 2004, 15:29:05 UTC |
4837a22 | Raymond Hettinger | 27 September 2004, 14:23:40 UTC | Use floor division operator. | 27 September 2004, 14:23:40 UTC |
a4c6a85 | Edward Loper | 27 September 2004, 04:08:20 UTC | - Added a "parser" option to testfile() and DocFileTest(). | 27 September 2004, 04:08:20 UTC |
498a186 | Edward Loper | 27 September 2004, 03:42:58 UTC | - Added a "parser" option to testfile() and DocFileTest(). | 27 September 2004, 03:42:58 UTC |
456ff91 | Edward Loper | 27 September 2004, 03:30:44 UTC | - Fixed typo in multi-line exception example - Fixed indentation for a verbatim block | 27 September 2004, 03:30:44 UTC |
36ee8ce | Tim Peters | 26 September 2004, 21:51:25 UTC | 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 | Tim Peters | 26 September 2004, 21:05:03 UTC | Made most module references "clickable". | 26 September 2004, 21:05:03 UTC |
0041121 | Tim Peters | 26 September 2004, 20:45:04 UTC | Docs for run_docstring_examples(). | 26 September 2004, 20:45:04 UTC |
aa241e0 | Raymond Hettinger | 26 September 2004, 19:24:20 UTC | 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 | Raymond Hettinger | 26 September 2004, 18:56:44 UTC | 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 | Martin v. Löwis | 26 September 2004, 17:26:55 UTC | Replace -soname with -h for Solaris compatibility. Fixes #1034496. Backported to 2.3. | 26 September 2004, 17:26:55 UTC |
a80a2c8 | Tim Peters | 26 September 2004, 05:13:18 UTC | Updated doctest doc news. | 26 September 2004, 05:13:18 UTC |
05b05fe | Tim Peters | 26 September 2004, 05:09:59 UTC | Added a lot of new stuff to the debugging section. | 26 September 2004, 05:09:59 UTC |
3afaaf2 | Tim Peters | 26 September 2004, 03:50:06 UTC | 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 | Tim Peters | 26 September 2004, 02:38:41 UTC | 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 | Tim Peters | 26 September 2004, 02:12:40 UTC | Document set_unittest_reportflags(). | 26 September 2004, 02:12:40 UTC |
9d02a7c | Tim Peters | 26 September 2004, 01:50:24 UTC | 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 | Tim Peters | 26 September 2004, 01:24:23 UTC | 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 | Raymond Hettinger | 25 September 2004, 08:09:23 UTC | Fix double word error. | 25 September 2004, 08:09:23 UTC |
3f79125 | Tim Peters | 25 September 2004, 03:50:35 UTC | Assorted minor changes, plus a lot more soap. | 25 September 2004, 03:50:35 UTC |
8c0a2cf | Tim Peters | 25 September 2004, 03:02:23 UTC | 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 |