summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove rotor moduleAndrew MacIntyre2004-10-031-2/+0
|
* note module removals, update on BitTorrent issueAndrew MacIntyre2004-10-031-9/+11
|
* bring modules up to date, correct .DEF file versionAndrew MacIntyre2004-10-033-166/+178
|
* Fix test for FeedParser results.Barry Warsaw2004-10-031-2/+2
|
* Blarg, fix the versions.Barry Warsaw2004-10-031-2/+2
|
* Updates for distutils package.Barry Warsaw2004-10-031-36/+8
|
* Add documentation about as_string() mangling From_ lines.Barry Warsaw2004-10-031-3/+4
|
* as_string(): Indicate that this mangles From_ lines.Barry Warsaw2004-10-031-1/+2
|
* Big email 3.0 API changes, with updated unit tests and documentation.Barry Warsaw2004-10-0332-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 supportJust van Rossum2004-10-021-74/+3
|
* use new readPlist() and writePlist() functionsJust van Rossum2004-10-021-7/+7
|
* Upon insertion, if memory runs out, the deque was left in a corrupted state.Armin Rigo2004-10-022-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 Hettinger2004-10-025-5/+5
|
* Replace structure member before decreffing.Raymond Hettinger2004-10-021-1/+3
|
* Which reminds me, I've had a much improved plistlib.py lying around forJust van Rossum2004-10-021-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 Hettinger2004-10-021-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 Hettinger2004-10-011-1/+7
|
* Clarify the relationship between indices.Raymond Hettinger2004-10-011-5/+7
|
* * Elaborate on the invariant comments and make them more precise.Raymond Hettinger2004-10-011-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 Peters2004-10-011-1/+3
|
* deque_traverse(): If the deque had one block, and its rightindex wasTim Peters2004-10-012-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 Peters2004-10-011-2/+2
|
* Document some reverse-engineered invariants and pragmatic hints.Tim Peters2004-10-011-2/+17
|
* Get references working (except for references to "Extending optparse",Greg Ward2004-10-011-30/+29
| | | | which isn't being converted from reST yet).
* Definition consistency.Tim Peters2004-10-011-1/+2
|
* Trimmed trailing whitespace.Tim Peters2004-10-011-26/+26
|
* Add tests for syntax errors.Raymond Hettinger2004-09-301-0/+13
|
* Added 2 notes about the complexities of testing SyntaxErrors.Edward Loper2004-09-301-0/+31
|
* Expand scope to include general mapping protocol tests.Raymond Hettinger2004-09-301-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örwald2004-09-301-0/+404
|
* Improve test coverage.Raymond Hettinger2004-09-305-34/+49
|
* SF bug #1035279: hex() and oct() documentation is incorrectRaymond Hettinger2004-09-301-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 Hettinger2004-09-291-2/+2
| | | | | Rather than introduce new logic, took the approach of making the message itself more general.
* Fix two erroneous error messages.Raymond Hettinger2004-09-291-2/+2
|
* Fix typo in PyDict_Items docNicholas Bastin2004-09-291-1/+1
|
* Improve test coverage.Raymond Hettinger2004-09-292-0/+45
|
* Improve test coverage.Raymond Hettinger2004-09-292-5/+116
|
* minor doc tweaks for writexmlSkip Montanaro2004-09-281-5/+9
|
* typoSkip Montanaro2004-09-281-1/+1
|
* Replaced a test with an assertion.Raymond Hettinger2004-09-281-3/+1
| | | | (Suggested by Michael Hudson.)
* A number of list examples used 66.6, but I doubt there's any box on whichTim Peters2004-09-281-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'sEdward Loper2004-09-283-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 Hettinger2004-09-282-5/+38
| | | | * Have groupby() be careful about decreffing structure members.
* Added a new NORMALIZE_NUMBERS option, which causes number literals inEdward Loper2004-09-283-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 Cannon2004-09-281-0/+4
|
* Add the directories where DarwinPorts installs library and include files toBrett Cannon2004-09-281-2/+5
| | | | the proper path directories for compiling extension modules.
* Fixed minor typo in interactive example (extra '.'s in '...' prompts)Edward Loper2004-09-281-2/+2
|
* Fixed minor typo in interactive example (extra blank line)Edward Loper2004-09-281-1/+0
|
* SF bug #1033038: Misleading error message in random.choiceRaymond Hettinger2004-09-281-0/+1
| | | | Added a clarifying line to the docs.
* Fixed minor typo in interactive exampleEdward Loper2004-09-281-1/+1
|