summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove reference to pcre moduleAndrew M. Kuchling2004-06-021-1/+1
|
* Remove pre moduleAndrew M. Kuchling2004-06-022-665/+0
|
* - SF #962502: Add two more methods for unicode type; width() andHye-Shik Chang2004-06-021-0/+20
| | | | | | | iswide() for east asian width manipulation. (Inspired by David Goodger, Reviewed by Martin v. Loewis) - Move _PyUnicode_TypeRecord.flags to the end of the struct so that no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis)
* Copyright year changedVinay Sajip2004-06-021-1/+1
|
* Added IMAP4_stream to __all__Piers Lauder2004-06-021-1/+1
|
* test_hash(): The test here is different enough from the one in the bugTim Peters2004-06-011-3/+7
| | | | | report that the stats for expected # of collisions are a little higher. Updated comments accordingly.
* [Bug #962631] Fix typo reported by Bryan BlackburnAndrew M. Kuchling2004-06-011-1/+1
|
* SF bug #942952: Weakness in tuple hashRaymond Hettinger2004-06-011-0/+19
| | | | | | | (Basic approach and test concept by Tim Peters.) * Improved the hash to reduce collisions. * Added the torture test to the test suite.
* Silence noise in regrtest.Martin v. Löwis2004-06-011-1/+0
|
* SF patch 959726: sdist versus SVNTim Peters2004-05-311-2/+2
| | | | The disutils sdist command now ignores .svn directories.
* Patch #932930: suggest the use of rawstrings for backslashes.Martin v. Löwis2004-05-311-12/+21
|
* Patch #963318: Add support for client-side cookie management.Martin v. Löwis2004-05-316-39/+3827
|
* Port the dictionary tests from test_types.py to unittest. Collect as muchWalter Dörwald2004-05-317-361/+705
| | | | | | mapping tests as possible in mapping_test.py and reuse the tests in test_dict.py, test_userdict.py, test_weakref.py, test_os.py and test_shelve.py. From SF patch #736962.
* Fix typo (from SF bug #962602)Walter Dörwald2004-05-311-1/+1
|
* Add weakref support to sockets and re pattern objects.Raymond Hettinger2004-05-313-1/+24
|
* Add weakref support to array.array and file objects.Raymond Hettinger2004-05-312-0/+25
|
* Make sets and deques weak referencable.Raymond Hettinger2004-05-302-0/+15
|
* The default argument in dict.setdefault() defaults to None.Walter Dörwald2004-05-271-2/+2
| | | | | Add this default to weakref.WeakValueDictionary.setdefault() and weakref.WeakKeyDictionary.setdefault() too.
* The default argument in dict.setdefault() defaults to None.Walter Dörwald2004-05-271-1/+1
| | | | Add this default to UserDict.DictMixin.setdefault() too.
* Make sure sets are printed in sorted orderRaymond Hettinger2004-05-221-0/+2
|
* * teach repr.repr() about collections.deque()Raymond Hettinger2004-05-212-2/+10
| | | | * rename a variable for clarity
* * Updated repr.py to handle set() and frozenset().Raymond Hettinger2004-05-212-42/+58
| | | | | | | * Factored out common code to a single private function. * Use str.join() instead of + concatenation * Loop over elements directly instead of using indexing * Use % operator for formatting
* Add a test to verify an early call to iter() on the outermost forRaymond Hettinger2004-05-201-0/+9
| | | | expression.
* Fixed IMAP4_SSL read bug introduced by patch 956394Piers Lauder2004-05-201-1/+1
|
* Fixed IMAP4_SSL read and readlines code per patch 956394Piers Lauder2004-05-201-7/+10
|
* Applying SF patch #949329 on behalf of Raymond Hettinger.Armin Rigo2004-05-191-7/+8
|
* SF patch #872326: Generator expression implementationRaymond Hettinger2004-05-199-18/+584
| | | | | | | | | | | | | | (Code contributed by Jiwon Seo.) The documentation portion of the patch is being re-worked and will be checked-in soon. Likewise, PEP 289 will be updated to reflect Guido's rationale for the design decisions on binding behavior (as described in in his patch comments and in discussions on python-dev). The test file, test_genexps.py, is written in doctest format and is meant to exercise all aspects of the the patch. Further additions are welcome from everyone. Please stress test this new feature as much as possible before the alpha release.
* ConfigParser:Fred Drake2004-05-183-1/+29
| | | | | | - read() method returns a list of files parsed successfully - add tests, documentation (closes SF patch #677651)
* ConfigParser:Fred Drake2004-05-182-0/+33
| | | | | | | | - don't allow setting options to non-string values; raise TypeError when the value is set, instead of raising an arbitrary exception later (such as when string interpolation is performed) - add tests, documentation (closes SF bug #810843)
* ConfigParser:Fred Drake2004-05-182-5/+15
| | | | | | | | - ensure that option names in interpolations are handled by self.optionxform in the same way that other references to option names - add tests, documentation (closes SF bug #857881, patch #865455)
* test_alias_nofallback(): Someone broke this test, after 2.3, byTim Peters2004-05-161-2/+18
| | | | | converting it into assertRaises() form. Restored the 2.3 code, and explained why assertRaises() cannot be used instead.
* _parsegen(): Add a missing check for NeedMoreData.Barry Warsaw2004-05-151-0/+3
|
* typo - fixes 954030.Skip Montanaro2004-05-141-2/+2
|
* forward porting from release23-maintBarry Warsaw2004-05-131-0/+10
|
* test_boundary_in_non_multipart(): Added a test for SF bug # 846938.Barry Warsaw2004-05-131-0/+15
|
* encode_7or8bit(): Clearing out some old patches; iso-2202 is non-ASCII butBarry Warsaw2004-05-131-5/+10
| | | | still 7-bit.
* readline(): RFC 2046, section 5.1.2 (and partially 5.1) both state that theBarry Warsaw2004-05-131-3/+5
| | | | | | | | | | parser must recognize outer boundaries in inner parts. So cruise through the EOF stack backwards testing each predicate against the current line. There's still some discussion about whether this is (always) the best thing to do. Anthony would rather parse these messages as if the outer boundaries were ignored. I think that's counter to the RFC, but might be practically more useful. Can you say behavior flag? (ug).
* test_nested_inner_contains_outer_boundary(), test_nested_with_same_boundary():Barry Warsaw2004-05-131-0/+36
| | | | Two evil samples from Anthony's MIME torture tests.
* _structure(): Make sure all output goes the to fp object.Barry Warsaw2004-05-131-2/+2
|
* Another evil test from Anthony's suite. This one has an inner part with theBarry Warsaw2004-05-131-0/+83
| | | | same boundary as the outer part.
* A boiled down example from Anthony's MIME torture tests. This one has aBarry Warsaw2004-05-131-0/+101
| | | | separating boundary for an outer part inside an inner part.
* SF #847346: merge from release23-maint branch: remove misguidedGreg Ward2004-05-132-14/+50
| | | | | optimization for short input; beef up tests for fix_sentence_endings feature.
* Make sure "del d[n]" is properly supported. Was necessary because theRaymond Hettinger2004-05-121-3/+14
| | | | | | same method that implements __setitem__ also implements __delitem__. Also, there were several good use cases (removing items from a queue and implementing Forth style stack ops).
* fix various descriptions of "ctime"Fred Drake2004-05-121-1/+1
| | | | (closes SF patch #870287)
* Tests for message/external-body and for duplicate boundary lines.Barry Warsaw2004-05-111-3/+12
|
* More boiled down tests from Anthony's big torture suite.Barry Warsaw2004-05-111-2/+26
|
* A boiled down message/external-body example from Anthony's torture test.Barry Warsaw2004-05-111-0/+40
|
* An example with multiple boundary lines.Barry Warsaw2004-05-111-0/+22
|
* _parsegen(): Move the message/rfc822 clause to after theBarry Warsaw2004-05-111-12/+13
| | | | | | message/delivery-status clause, and genericize it to handle all (other) message/* content types. This lets us correctly parse 2 more of Anthony's MIME torture tests (specifically, the message/external-body examples).
* Reverting local change checked in by mistake.Tim Peters2004-05-111-4/+3
|