Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #1675471: convert test_pty to unittest. | Georg Brandl | 2007-03-07 | 2 | -116/+123 |
| | |||||
* | Bug #1115886: os.path.splitext('.cshrc') gives now ('.cshrc', ''). | Martin v. Löwis | 2007-03-07 | 7 | -39/+61 |
| | |||||
* | Patch #787789: allow to pass custom TestRunner instances to unittest's | Georg Brandl | 2007-03-07 | 1 | -4/+12 |
| | | | | main() function. | ||||
* | Patches #1550273, #1550272: fix a few bugs in unittest and add a | Georg Brandl | 2007-03-07 | 2 | -36/+2329 |
| | | | | comprehensive test suite for the module. | ||||
* | Patch #1001604: glob.glob() now returns unicode filenames if it was | Georg Brandl | 2007-03-07 | 2 | -4/+17 |
| | | | | given a unicode argument and os.listdir() returns unicode filenames. | ||||
* | Patch #812285: allow multiple auth schemes in AbstractBasicAuthHandler. | Georg Brandl | 2007-03-07 | 1 | -4/+3 |
| | |||||
* | Patch for bug #1633621: if curses.resizeterm() or | Walter Dörwald | 2007-03-06 | 1 | -0/+9 |
| | | | | | curses.resize_term() is called, update _curses.LINES, _curses.COLS, curses.LINES and curses.COLS. | ||||
* | Patch #1654417: make operator.{get,set,del}slice use the full range | Georg Brandl | 2007-03-06 | 1 | -0/+6 |
| | | | | of Py_ssize_t. | ||||
* | Patch #1638879: don't accept strings with embedded NUL bytes in long(). | Georg Brandl | 2007-03-06 | 1 | -0/+5 |
| | |||||
* | Small nit, found by Neal. | Georg Brandl | 2007-03-06 | 1 | -2/+2 |
| | |||||
* | Patch #1646728: datetime.fromtimestamp fails with negative | Guido van Rossum | 2007-03-06 | 1 | -0/+9 |
| | | | | | | fractional times. With unittest. Somebody please backport to 2.5. | ||||
* | Patch #912410: Replace HTML entity references for attribute values | Martin v. Löwis | 2007-03-06 | 2 | -6/+29 |
| | | | | in HTMLParser. | ||||
* | Patch #1663234: you can now run doctest on test files and modules | Georg Brandl | 2007-03-06 | 1 | -2/+17 |
| | | | | using "python -m doctest [-v] filename ...". | ||||
* | A test case for the defaultdict KeyError bug. | Georg Brandl | 2007-03-06 | 1 | -0/+9 |
| | |||||
* | Patch #1672481: fix bug in idlelib.MultiCall. | Georg Brandl | 2007-03-06 | 1 | -0/+2 |
| | |||||
* | A test case for the fix in #1674228. | Georg Brandl | 2007-03-06 | 1 | -0/+11 |
| | |||||
* | Patch #1121142: Implement ZipFile.open. | Martin v. Löwis | 2007-03-06 | 2 | -49/+637 |
| | |||||
* | Patch #1674228: when assigning a slice (old-style), check for the | Georg Brandl | 2007-03-05 | 1 | -0/+14 |
| | | | | sq_ass_slice instead of the sq_slice slot. | ||||
* | Minor corrections to docs, and an explanation comentary | Facundo Batista | 2007-03-05 | 1 | -13/+14 |
| | |||||
* | Fix a bug in test_dict and test_userdict, found at the PyPy sprint. | Georg Brandl | 2007-03-04 | 2 | -6/+6 |
| | |||||
* | Fix embarrassing typo and fix constantification of None | Raymond Hettinger | 2007-03-02 | 1 | -0/+5 |
| | |||||
* | Bug #1628895: some better tries to find HTML documentation in pydoc. | Georg Brandl | 2007-03-02 | 1 | -7/+12 |
| | |||||
* | Add collections.NamedTuple | Raymond Hettinger | 2007-03-01 | 2 | -1/+117 |
| | |||||
* | Prepare collections module for pure python code entries. | Raymond Hettinger | 2007-02-28 | 1 | -0/+3 |
| | |||||
* | Docstring nit. | Raymond Hettinger | 2007-02-28 | 1 | -1/+1 |
| | |||||
* | Add a test for instantiating SyntaxError with no arguments. | Brett Cannon | 2007-02-28 | 1 | -0/+3 |
| | |||||
* | Modify the segfaulting example to show why r53997 is not a solution to | Armin Rigo | 2007-02-28 | 1 | -0/+20 |
| | | | | it. | ||||
* | Add checking for a number of metaclass error conditions. | Jeremy Hylton | 2007-02-27 | 2 | -64/+103 |
| | | | | | | | | | | | | | | | | | | | | | | | We add some new rules that are required for preserving internal invariants of types. 1. If type (or a subclass of type) appears in bases, it must appear before any non-type bases. If a non-type base (like a regular new-style class) occurred first, it could trick type into allocating the new class an __dict__ which must be impossible. 2. There are several checks that are made of bases when creating a type. Those checks are now repeated when assigning to __bases__. We also add the restriction that assignment to __bases__ may not change the metaclass of the type. Add new tests for these cases and for a few other oddball errors that were no previously tested. Remove a crasher test that was fixed. Also some internal refactoring: Extract the code to find the most derived metaclass of a type and its bases. It is now needed in two places. Rewrite the TypeError checks in test_descr to use doctest. The tests now clearly show what exception they expect to see. | ||||
* | Fix long-standing bug in name mangling for package imports | Jeremy Hylton | 2007-02-27 | 1 | -0/+13 |
| | | | | Reported by Mike Verdone. | ||||
* | When printing an unraisable error, don't print exceptions. before the name. | Neal Norwitz | 2007-02-26 | 1 | -2/+2 |
| | | | | This duplicates the behavior whening normally printing exceptions. | ||||
* | Do not copy free variables to locals in class namespaces. | Jeremy Hylton | 2007-02-26 | 1 | -0/+33 |
| | | | | | | | | | Fixes bug 1569356, but at the cost of a minor incompatibility in locals(). Add test that verifies that the class namespace is not polluted. Also clarify the behavior in the library docs. Along the way, cleaned up the dict_to_map and map_to_dict implementations and added some comments that explain what they do. | ||||
* | Backported r51621 from p3yk: | Thomas Wouters | 2007-02-25 | 2 | -4/+4 |
| | | | | | | Don't use a fixed temporary name (gdbm). Don't use our own temp name creation (dbm). Should be backported to 2.5. | ||||
* | Refactor PEP 352 tests to make it easier in the future to make sure certain | Brett Cannon | 2007-02-23 | 1 | -18/+34 |
| | | | | things cannot be raised or caught. | ||||
* | Fix typo in comment | Neal Norwitz | 2007-02-23 | 1 | -1/+1 |
| | |||||
* | Add itertools.izip_longest(). | Raymond Hettinger | 2007-02-21 | 1 | -0/+54 |
| | |||||
* | Fixup docstrings for merge(). | Raymond Hettinger | 2007-02-19 | 1 | -2/+2 |
| | |||||
* | Patch #1490190: posixmodule now includes os.chflags() and os.lchflags() | Martin v. Löwis | 2007-02-19 | 3 | -1/+28 |
| | | | | functions on platforms where the underlying system calls are available. | ||||
* | Add test for merge stability | Raymond Hettinger | 2007-02-19 | 1 | -0/+15 |
| | |||||
* | Use C heapreplace() instead of slower _siftup() in pure python. | Raymond Hettinger | 2007-02-19 | 1 | -2/+2 |
| | |||||
* | Add tie-breaker count to preserve sort stability. | Raymond Hettinger | 2007-02-19 | 1 | -6/+6 |
| | |||||
* | Add merge() function to heapq. | Raymond Hettinger | 2007-02-19 | 2 | -3/+49 |
| | |||||
* | Extend work on revision 52962: Eliminate redundant calls to PyObject_Hash(). | Raymond Hettinger | 2007-02-19 | 1 | -0/+20 |
| | |||||
* | Minor fix for currentframe (SF #1652788). | Vinay Sajip | 2007-02-16 | 1 | -5/+5 |
| | |||||
* | Make the __import__ call in encodings.__init__ absolute with a level 0 call. | Brett Cannon | 2007-02-16 | 1 | -4/+4 |
| | |||||
* | Update the encoding package's search function to use absolute imports when | Brett Cannon | 2007-02-15 | 1 | -2/+4 |
| | | | | | | | | | | | | calling __import__. This helps make the expected search locations for encoding modules be more explicit. One could use an explicit value for __path__ when making the call to __import__ to force the exact location searched for encodings. This would give the most strict search path possible if one is worried about malicious code being imported. The unfortunate side-effect of that is that if __path__ was modified on 'encodings' on purpose in a safe way it would not be picked up in future __import__ calls. | ||||
* | A missing binary mode in AppendTest caused failures in Windows | Lars Gustäbel | 2007-02-14 | 1 | -2/+2 |
| | | | | Buildbot. | ||||
* | Strip the '.gz' extension from the filename that is written to the | Lars Gustäbel | 2007-02-13 | 1 | -3/+6 |
| | | | | gzip header. | ||||
* | Patch #1647484: Renamed GzipFile's filename attribute to name. The | Lars Gustäbel | 2007-02-13 | 2 | -8/+20 |
| | | | | | filename attribute is still accessible as a property that emits a DeprecationWarning. | ||||
* | Patch #1517891: Make 'a' create the file if it doesn't exist. | Martin v. Löwis | 2007-02-13 | 2 | -1/+30 |
| | | | | Fixes #1514451. | ||||
* | Patch #698833: Support file decryption in zipfile. | Martin v. Löwis | 2007-02-13 | 2 | -2/+126 |
| |