summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-311-0/+4
|
* Add weakref support to sockets and re pattern objects.Raymond Hettinger2004-05-317-5/+69
|
* Add weakref support to array.array and file objects.Raymond Hettinger2004-05-315-4/+38
|
* Make sets and deques weak referencable.Raymond Hettinger2004-05-305-6/+32
|
* Update docstring for dict.update() to match the new realities.Walter Dörwald2004-05-281-1/+2
|
* starting to add comments to explain what's hereFred Drake2004-05-281-0/+11
|
* 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.
* Remove float_compare as perMichael W. Hudson2004-05-261-9/+1
| | | | | | [ 899109 ] 1==float('nan') which can now finally be closed, I think.
* Band-aid type fix forMichael W. Hudson2004-05-261-0/+19
| | | | | | | [ 728330 ] Don't define _SGAPI on IRIX The Right Thing would be nice, for now this'll do. At least it isn't going to break anything *other* than IRIX...
* Fill-in the introductory paragraph for the library tour.Raymond Hettinger2004-05-261-0/+3
|
* Add a further tour of the standard library.Raymond Hettinger2004-05-261-0/+290
|
* Follow official recommendation for domain names in examples.Raymond Hettinger2004-05-251-3/+3
|
* stupid, stupid, stupid... raw_input() already supports readline() if theSkip Montanaro2004-05-243-39/+1
| | | | readline module is loaded.
* Add example that uses readline.readline().Skip Montanaro2004-05-231-0/+33
|
* Exposed readline() function from the readline module.Skip Montanaro2004-05-233-0/+33
|
* 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
|