Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Bug #962631] Fix typo reported by Bryan Blackburn | Andrew M. Kuchling | 2004-06-01 | 1 | -1/+1 |
| | |||||
* | SF bug #942952: Weakness in tuple hash | Raymond Hettinger | 2004-06-01 | 1 | -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öwis | 2004-06-01 | 1 | -1/+0 |
| | |||||
* | SF patch 959726: sdist versus SVN | Tim Peters | 2004-05-31 | 1 | -2/+2 |
| | | | | The disutils sdist command now ignores .svn directories. | ||||
* | Patch #932930: suggest the use of rawstrings for backslashes. | Martin v. Löwis | 2004-05-31 | 1 | -12/+21 |
| | |||||
* | Patch #963318: Add support for client-side cookie management. | Martin v. Löwis | 2004-05-31 | 6 | -39/+3827 |
| | |||||
* | Port the dictionary tests from test_types.py to unittest. Collect as much | Walter Dörwald | 2004-05-31 | 7 | -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örwald | 2004-05-31 | 1 | -1/+1 |
| | |||||
* | Add weakref support to sockets and re pattern objects. | Raymond Hettinger | 2004-05-31 | 3 | -1/+24 |
| | |||||
* | Add weakref support to array.array and file objects. | Raymond Hettinger | 2004-05-31 | 2 | -0/+25 |
| | |||||
* | Make sets and deques weak referencable. | Raymond Hettinger | 2004-05-30 | 2 | -0/+15 |
| | |||||
* | The default argument in dict.setdefault() defaults to None. | Walter Dörwald | 2004-05-27 | 1 | -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örwald | 2004-05-27 | 1 | -1/+1 |
| | | | | Add this default to UserDict.DictMixin.setdefault() too. | ||||
* | Make sure sets are printed in sorted order | Raymond Hettinger | 2004-05-22 | 1 | -0/+2 |
| | |||||
* | * teach repr.repr() about collections.deque() | Raymond Hettinger | 2004-05-21 | 2 | -2/+10 |
| | | | | * rename a variable for clarity | ||||
* | * Updated repr.py to handle set() and frozenset(). | Raymond Hettinger | 2004-05-21 | 2 | -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 for | Raymond Hettinger | 2004-05-20 | 1 | -0/+9 |
| | | | | expression. | ||||
* | Fixed IMAP4_SSL read bug introduced by patch 956394 | Piers Lauder | 2004-05-20 | 1 | -1/+1 |
| | |||||
* | Fixed IMAP4_SSL read and readlines code per patch 956394 | Piers Lauder | 2004-05-20 | 1 | -7/+10 |
| | |||||
* | Applying SF patch #949329 on behalf of Raymond Hettinger. | Armin Rigo | 2004-05-19 | 1 | -7/+8 |
| | |||||
* | SF patch #872326: Generator expression implementation | Raymond Hettinger | 2004-05-19 | 9 | -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 Drake | 2004-05-18 | 3 | -1/+29 |
| | | | | | | - read() method returns a list of files parsed successfully - add tests, documentation (closes SF patch #677651) | ||||
* | ConfigParser: | Fred Drake | 2004-05-18 | 2 | -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 Drake | 2004-05-18 | 2 | -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, by | Tim Peters | 2004-05-16 | 1 | -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 Warsaw | 2004-05-15 | 1 | -0/+3 |
| | |||||
* | typo - fixes 954030. | Skip Montanaro | 2004-05-14 | 1 | -2/+2 |
| | |||||
* | forward porting from release23-maint | Barry Warsaw | 2004-05-13 | 1 | -0/+10 |
| | |||||
* | test_boundary_in_non_multipart(): Added a test for SF bug # 846938. | Barry Warsaw | 2004-05-13 | 1 | -0/+15 |
| | |||||
* | encode_7or8bit(): Clearing out some old patches; iso-2202 is non-ASCII but | Barry Warsaw | 2004-05-13 | 1 | -5/+10 |
| | | | | still 7-bit. | ||||
* | readline(): RFC 2046, section 5.1.2 (and partially 5.1) both state that the | Barry Warsaw | 2004-05-13 | 1 | -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 Warsaw | 2004-05-13 | 1 | -0/+36 |
| | | | | Two evil samples from Anthony's MIME torture tests. | ||||
* | _structure(): Make sure all output goes the to fp object. | Barry Warsaw | 2004-05-13 | 1 | -2/+2 |
| | |||||
* | Another evil test from Anthony's suite. This one has an inner part with the | Barry Warsaw | 2004-05-13 | 1 | -0/+83 |
| | | | | same boundary as the outer part. | ||||
* | A boiled down example from Anthony's MIME torture tests. This one has a | Barry Warsaw | 2004-05-13 | 1 | -0/+101 |
| | | | | separating boundary for an outer part inside an inner part. | ||||
* | SF #847346: merge from release23-maint branch: remove misguided | Greg Ward | 2004-05-13 | 2 | -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 the | Raymond Hettinger | 2004-05-12 | 1 | -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 Drake | 2004-05-12 | 1 | -1/+1 |
| | | | | (closes SF patch #870287) | ||||
* | Tests for message/external-body and for duplicate boundary lines. | Barry Warsaw | 2004-05-11 | 1 | -3/+12 |
| | |||||
* | More boiled down tests from Anthony's big torture suite. | Barry Warsaw | 2004-05-11 | 1 | -2/+26 |
| | |||||
* | A boiled down message/external-body example from Anthony's torture test. | Barry Warsaw | 2004-05-11 | 1 | -0/+40 |
| | |||||
* | An example with multiple boundary lines. | Barry Warsaw | 2004-05-11 | 1 | -0/+22 |
| | |||||
* | _parsegen(): Move the message/rfc822 clause to after the | Barry Warsaw | 2004-05-11 | 1 | -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 Peters | 2004-05-11 | 1 | -4/+3 |
| | |||||
* | Added 2.3.3 and 2.3.4 to the release table. Added 2004 to the list of | Tim Peters | 2004-05-11 | 1 | -3/+4 |
| | | | | copyright years. | ||||
* | _parsegen(): Watch out for empty epilogues. | Barry Warsaw | 2004-05-11 | 1 | -4/+5 |
| | |||||
* | Fix SF item #876278: Unbounded recursion in modulefinder. | Thomas Heller | 2004-05-11 | 1 | -0/+4 |
| | | | | Already backported to release23-maint. | ||||
* | _parse_headers(): Strip a trailing newline from the envelope header. Closes | Barry Warsaw | 2004-05-10 | 1 | -0/+4 |
| | | | | SF #951088. | ||||
* | _split_ascii(): Small optimization by RH. | Barry Warsaw | 2004-05-10 | 1 | -1/+1 |
| | |||||
* | Temporarily disable doctest until genexps are in CVS | Raymond Hettinger | 2004-05-10 | 1 | -1/+1 |
| |