summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Locale data that contains regex metacharacters are now properly escaped.Brett Cannon2004-10-063-2/+22
| | | | Closes bug #1039270.
* Add some itemsAndrew M. Kuchling2004-10-051-10/+22
|
* The docs claimed a test would pass that actually wouldn't pass. RepairedTim Peters2004-10-041-1/+2
| | | | the example so it does pass.
* Fix a small typo in the docstring for system_methodSignature .Brett Cannon2004-10-031-1/+1
| | | | Closes bug #1038935. Thanks Malte Helmert for spotting it.
* Changes made to maintain 1.5.2 compatibility.Vinay Sajip2004-10-031-6/+27
|
* Version number updated to 0.4.9.5Vinay Sajip2004-10-031-2/+2
|
* Clarified documentation about exc_info keyword parameterVinay Sajip2004-10-031-4/+8
|
* Read the text files to be compared in universal-newline mode.Tim Peters2004-10-033-4/+8
|
* Whitespace normalization.Tim Peters2004-10-031-1/+1
|
* added plistlib news itemJust van Rossum2004-10-031-1/+3
|
* SF bug #997050: Document, test, & check for non-string values in ↵David Goodger2004-10-034-21/+78
| | | | 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.
* SF bug #1017864: ConfigParser now correctly handles default keys, processing ↵David Goodger2004-10-033-7/+24
| | | | them with ``ConfigParser.optionxform`` when supplied, consistent with the handling of config file entries and runtime-set options.
* typoMichael W. Hudson2004-10-031-1/+1
|
* Print verbose messages to stderr. Fixes #1036752.Martin v. Löwis2004-10-031-1/+2
|
* 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
|