Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove rotor module | Andrew MacIntyre | 2004-10-03 | 1 | -2/+0 |
| | |||||
* | note module removals, update on BitTorrent issue | Andrew MacIntyre | 2004-10-03 | 1 | -9/+11 |
| | |||||
* | bring modules up to date, correct .DEF file version | Andrew MacIntyre | 2004-10-03 | 3 | -166/+178 |
| | |||||
* | Fix test for FeedParser results. | Barry Warsaw | 2004-10-03 | 1 | -2/+2 |
| | |||||
* | Blarg, fix the versions. | Barry Warsaw | 2004-10-03 | 1 | -2/+2 |
| | |||||
* | Updates for distutils package. | Barry Warsaw | 2004-10-03 | 1 | -36/+8 |
| | |||||
* | Add documentation about as_string() mangling From_ lines. | Barry Warsaw | 2004-10-03 | 1 | -3/+4 |
| | |||||
* | as_string(): Indicate that this mangles From_ lines. | Barry Warsaw | 2004-10-03 | 1 | -1/+2 |
| | |||||
* | Big email 3.0 API changes, with updated unit tests and documentation. | Barry Warsaw | 2004-10-03 | 32 | -452/+438 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | removed 2.2 support | Just van Rossum | 2004-10-02 | 1 | -74/+3 |
| | |||||
* | use new readPlist() and writePlist() functions | Just van Rossum | 2004-10-02 | 1 | -7/+7 |
| | |||||
* | Upon insertion, if memory runs out, the deque was left in a corrupted state. | Armin Rigo | 2004-10-02 | 2 | -34/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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()) | ||||
* | SF bug#1038917 fix typos (Contributed by George Yoshida.) | Raymond Hettinger | 2004-10-02 | 5 | -5/+5 |
| | |||||
* | Replace structure member before decreffing. | Raymond Hettinger | 2004-10-02 | 1 | -1/+3 |
| | |||||
* | Which reminds me, I've had a much improved plistlib.py lying around for | Just van Rossum | 2004-10-02 | 1 | -85/+113 |
| | | | | | | ages. The main improvements are: - a much more convenient API: readPlist() and writePlist() - support non-dict top-level objects | ||||
* | * Bulletproof the method for detecting mutations during iteration. | Raymond Hettinger | 2004-10-02 | 1 | -18/+32 |
| | | | | | | | | | 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. | ||||
* | Restore the block length and add a comment. | Raymond Hettinger | 2004-10-01 | 1 | -1/+7 |
| | |||||
* | Clarify the relationship between indices. | Raymond Hettinger | 2004-10-01 | 1 | -5/+7 |
| | |||||
* | * Elaborate on the invariant comments and make them more precise. | Raymond Hettinger | 2004-10-01 | 1 | -14/+28 |
| | | | | | | * 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. | ||||
* | Noted the fix to deque gc. | Tim Peters | 2004-10-01 | 1 | -1/+3 |
| | |||||
* | deque_traverse(): If the deque had one block, and its rightindex was | Tim Peters | 2004-10-01 | 2 | -10/+22 |
| | | | | | 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. | ||||
* | Typos in new comments. | Tim Peters | 2004-10-01 | 1 | -2/+2 |
| | |||||
* | Document some reverse-engineered invariants and pragmatic hints. | Tim Peters | 2004-10-01 | 1 | -2/+17 |
| | |||||
* | Get references working (except for references to "Extending optparse", | Greg Ward | 2004-10-01 | 1 | -30/+29 |
| | | | | which isn't being converted from reST yet). | ||||
* | Definition consistency. | Tim Peters | 2004-10-01 | 1 | -1/+2 |
| | |||||
* | Trimmed trailing whitespace. | Tim Peters | 2004-10-01 | 1 | -26/+26 |
| | |||||
* | Add tests for syntax errors. | Raymond Hettinger | 2004-09-30 | 1 | -0/+13 |
| | |||||
* | Added 2 notes about the complexities of testing SyntaxErrors. | Edward Loper | 2004-09-30 | 1 | -0/+31 |
| | |||||
* | Expand scope to include general mapping protocol tests. | Raymond Hettinger | 2004-09-30 | 1 | -0/+13 |
| | | | | | | 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. | ||||
* | Add missing test_dict.py from patch #736962. | Walter Dörwald | 2004-09-30 | 1 | -0/+404 |
| | |||||
* | Improve test coverage. | Raymond Hettinger | 2004-09-30 | 5 | -34/+49 |
| | |||||
* | SF bug #1035279: hex() and oct() documentation is incorrect | Raymond Hettinger | 2004-09-30 | 1 | -13/+5 |
| | | | | | * Updated docs to reflected signed return values. * Fixed a doubled word typo. | ||||
* | Improve error message for augmented assignments to genexps or listcomps. | Raymond Hettinger | 2004-09-29 | 1 | -2/+2 |
| | | | | | Rather than introduce new logic, took the approach of making the message itself more general. | ||||
* | Fix two erroneous error messages. | Raymond Hettinger | 2004-09-29 | 1 | -2/+2 |
| | |||||
* | Fix typo in PyDict_Items doc | Nicholas Bastin | 2004-09-29 | 1 | -1/+1 |
| | |||||
* | Improve test coverage. | Raymond Hettinger | 2004-09-29 | 2 | -0/+45 |
| | |||||
* | Improve test coverage. | Raymond Hettinger | 2004-09-29 | 2 | -5/+116 |
| | |||||
* | minor doc tweaks for writexml | Skip Montanaro | 2004-09-28 | 1 | -5/+9 |
| | |||||
* | typo | Skip Montanaro | 2004-09-28 | 1 | -1/+1 |
| | |||||
* | Replaced a test with an assertion. | Raymond Hettinger | 2004-09-28 | 1 | -3/+1 |
| | | | | (Suggested by Michael Hudson.) | ||||
* | A number of list examples used 66.6, but I doubt there's any box on which | Tim Peters | 2004-09-28 | 1 | -9/+9 |
| | | | | | | 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. | ||||
* | Reverted the addition of a NORMALIZE_NUMBERS option, per Tim Peter's | Edward Loper | 2004-09-28 | 3 | -199/+2 |
| | | | | | | | | 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.) | ||||
* | * Increase test coverage. | Raymond Hettinger | 2004-09-28 | 2 | -5/+38 |
| | | | | * Have groupby() be careful about decreffing structure members. | ||||
* | Added a new NORMALIZE_NUMBERS option, which causes number literals in | Edward Loper | 2004-09-28 | 3 | -2/+199 |
| | | | | | the expected output to match corresponding number literals in the actual output if their values are equal (to ten digits of precision). | ||||
* | Add note about inclusion of DarwinPorts directories in setup.py on darwin. | Brett Cannon | 2004-09-28 | 1 | -0/+4 |
| | |||||
* | Add the directories where DarwinPorts installs library and include files to | Brett Cannon | 2004-09-28 | 1 | -2/+5 |
| | | | | the proper path directories for compiling extension modules. | ||||
* | Fixed minor typo in interactive example (extra '.'s in '...' prompts) | Edward Loper | 2004-09-28 | 1 | -2/+2 |
| | |||||
* | Fixed minor typo in interactive example (extra blank line) | Edward Loper | 2004-09-28 | 1 | -1/+0 |
| | |||||
* | SF bug #1033038: Misleading error message in random.choice | Raymond Hettinger | 2004-09-28 | 1 | -0/+1 |
| | | | | Added a clarifying line to the docs. | ||||
* | Fixed minor typo in interactive example | Edward Loper | 2004-09-28 | 1 | -1/+1 |
| |