summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure sets are printed in sorted orderRaymond Hettinger2004-05-221-0/+2
|
* Updated to reflect new types.Raymond Hettinger2004-05-221-2/+8
|
* * 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.
* Clarify when iter() is first called in generator expressions.Raymond Hettinger2004-05-201-3/+3
|
* Added description for authenticate and namespacePiers Lauder2004-05-201-4/+23
|
* 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
|
* Improved wording for generator expressions.Raymond Hettinger2004-05-191-22/+15
|
* SF bug #949329: sets.Set() --> set()Raymond Hettinger2004-05-191-0/+2
|
* Add more docs for generator expressions.Raymond Hettinger2004-05-192-9/+45
| | | | | * Put in a brief, example driven tutorial entry. * Use better examples in whatsnew24.tex.
* Applying SF patch #949329 on behalf of Raymond Hettinger.Armin Rigo2004-05-192-34/+34
|
* Set data pointer to NULL after an error; this keeps the mmap_dealloc() ↵Andrew M. Kuchling2004-05-191-0/+1
| | | | | | function from trying to do msync(-1);munmap(-1). 2.3 bugfix candidate, but this bug isn't critical enough that the fix has to go into 2.3.4
* SF patch #872326: Generator expression implementationRaymond Hettinger2004-05-1920-352/+1503
| | | | | | | | | | | | | | (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.
* Make type check work with subclassesRaymond Hettinger2004-05-181-1/+2
|
* add some notes about the changes to ConfigParserFred Drake2004-05-181-0/+6
|
* ConfigParser:Fred Drake2004-05-184-2/+32
| | | | | | - read() method returns a list of files parsed successfully - add tests, documentation (closes SF patch #677651)
* ConfigParser:Fred Drake2004-05-181-3/+2
| | | | | - DuplicateSectionError is only raised by add_section() (closes SF bug #830449)
* ConfigParser:Fred Drake2004-05-183-1/+36
| | | | | | | | - 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-183-5/+24
| | | | | | | | - 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)
* date typo in %changelogSkip Montanaro2004-05-171-1/+1
|
* 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
|
* Update the DLL example to work with Py2.4.Raymond Hettinger2004-05-151-2/+2
|
* 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.
* forward-port 1.17.12.1Anthony Baxter2004-05-131-1/+1
|
* 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.
* SF bug #952866: "can't multiply sequence *by* non-int"Raymond Hettinger2004-05-121-1/+1
| | | | Minor wording fix.
* Make sure "del d[n]" is properly supported. Was necessary because theRaymond Hettinger2004-05-123-14/+63
| | | | | | 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).
* Windows build number for 2.3.4c1 is 52.Thomas Heller2004-05-121-1/+3
|
* fix various descriptions of "ctime"Fred Drake2004-05-123-3/+7
| | | | (closes SF patch #870287)
* minor wording cleanupFred Drake2004-05-121-1/+1
|
* fix error message; closes SF patch #932796Fred Drake2004-05-121-1/+1
|
* fix various typos; thanks, George Yoshida!Fred Drake2004-05-126-6/+6
| | | | (closes SF patch #952047)
* add note about the __name__ read-only attributeFred Drake2004-05-121-1/+6
| | | | (closes SF bug #952212)
* 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
|