| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add tests for tuple, list and UserList that initialize the object from | Walter Dörwald | 2005-03-22 | 2 | -83/+97 |
| | | | | | | | various iterables. (Copied from test_deque.py as suggested by Jim Jewett in SF bug #1166274) | ||||
| * | Fix typo. | Walter Dörwald | 2005-03-22 | 1 | -1/+1 |
| | | |||||
| * | Add list tests that ensure that remove() removes the first occurrence. | Walter Dörwald | 2005-03-21 | 1 | -0/+20 |
| | | | | | (Copied from test_deque.py as suggested by Jim Jewett in SF bug #1166274) | ||||
| * | Apply remove's mutation test after every equality test. | Raymond Hettinger | 2005-03-19 | 1 | -7/+8 |
| | | |||||
| * | Add a remove() method to collections.deque objects. | Raymond Hettinger | 2005-03-18 | 1 | -0/+35 |
| | | |||||
| * | Bug #1163325: "special" decimals aren't hashable | Raymond Hettinger | 2005-03-15 | 1 | -0/+3 |
| | | |||||
| * | Reset internal buffers when seek() is called. This fixes SF bug #1156259. | Walter Dörwald | 2005-03-14 | 1 | -0/+15 |
| | | |||||
| * | Patch #1159931/bug #1143895: inspect.getsource failed when functions, | Johannes Gijsbers | 2005-03-12 | 2 | -0/+21 |
| | | | | | | | etc., had comments after the colon, and some other cases. This patch take a simpler approach that doesn't rely on looking for a ':'. Thanks Simon Percivall! | ||||
| * | Revised the itertools quantifier recipes to match the performance of the | Raymond Hettinger | 2005-03-11 | 1 | -8/+8 |
| | | | | | new builtins. | ||||
| * | Add two new functions, any() and all(). | Raymond Hettinger | 2005-03-11 | 1 | -0/+36 |
| | | |||||
| * | Test partial() with bound/unbound methods. | Raymond Hettinger | 2005-03-11 | 1 | -1/+7 |
| | | |||||
| * | Fix test for socket.getfqdn() to also include the name returned by | Brett Cannon | 2005-03-11 | 1 | -1/+1 |
| | | | | | | | | socket.gethostname() in the check for a valid return. Also clarified docs (official and docstring) that the value from gethostname() is returned if gethostbyaddr() doesn't do the job. | ||||
| * | operator.itemgetter() and operator.attrgetter() now support extraction | Raymond Hettinger | 2005-03-09 | 1 | -5/+31 |
| | | | | | | of multiple fields. This provides direct support for sorting by multiple keys. | ||||
| * | Build with --disable-unicode again. Fixes #1158607. | Martin v. Löwis | 2005-03-08 | 1 | -1/+1 |
| | | | | | Will backport to 2.4. | ||||
| * | Convert file names of posix.access according to the file system encoding. | Martin v. Löwis | 2005-03-08 | 1 | -0/+2 |
| | | |||||
| * | Make functional.partial() more closely match the spec by emulating | Raymond Hettinger | 2005-03-08 | 1 | -0/+17 |
| | | | | | | | | some useful features of regular functions: * Made weak referencable. * Allow attribute access so a user can set __name__, __doc__, etc. | ||||
| * | SF #818006: merge from release24-maint branch: add useful read-only | Greg Ward | 2005-03-07 | 2 | -8/+31 |
| | | | | | attributes to oss_audio_device object: 'closed', 'name', and 'mode'. | ||||
| * | Patch #918101: Add tarfile open mode r|* for auto-detection of the | Martin v. Löwis | 2005-03-05 | 1 | -2/+27 |
| | | | | | stream compression; add, for symmetry reasons, r:* as a synonym of r. | ||||
| * | Tweak test_communicate_stderr so that it works when run under a pydebug build. | Brett Cannon | 2005-03-05 | 1 | -1/+3 |
| | | |||||
| * | SF #1149508: ensure textwrap handles hyphenated numbers correctly, | Greg Ward | 2005-03-05 | 1 | -0/+18 |
| | | | | | eg. "2004-03-04" is not broken across lines. (Merged from 2.4 branch.) | ||||
| * | Only run extensive subprocess tests if -usubprocess to regrtest is ↵ | Peter Astrand | 2005-03-03 | 2 | -4/+7 |
| | | | | | specified. Fixes #1124637 | ||||
| * | Added three more testcases: Using communicate with only one of | Peter Astrand | 2005-03-03 | 1 | -0/+23 |
| | | | | | stdin/stdout/stderr redirected. | ||||
| * | SF bug #1155938: Missing None check for __init__(). | Raymond Hettinger | 2005-03-03 | 1 | -0/+13 |
| | | |||||
| * | Revert previous checkin on getargs 'L' code. Try to convert all | Martin v. Löwis | 2005-03-03 | 2 | -23/+5 |
| | | | | | | numbers in PyLong_AsLongLong, and update test suite accordingly. Backported to 2.4. | ||||
| * | Patches #749830, #1144555: allow UNIX mmap size to default to current | Martin v. Löwis | 2005-03-03 | 2 | -0/+38 |
| | | | | | file size. | ||||
| * | Patch #1117454: Remove code to special-case cookies without values | Martin v. Löwis | 2005-03-03 | 1 | -0/+19 |
| | | | | | in LWPCookieJar. Backported to 2.4. | ||||
| * | Patch #1117339: Add cookielib special name tests. | Martin v. Löwis | 2005-03-03 | 1 | -3/+26 |
| | | | | | Backported to 2.4. | ||||
| * | Clear internal call error in 'L' format. Fixes #723201. | Martin v. Löwis | 2005-03-03 | 1 | -1/+13 |
| | | | | | Backported to 2.4. | ||||
| * | Patch #1107973: tarfile.ExFileObject iterators. | Martin v. Löwis | 2005-03-03 | 1 | -0/+10 |
| | | |||||
| * | Make test__locale more fine-grained. Now test localeconv and nl_langinfo | Brett Cannon | 2005-03-01 | 1 | -9/+56 |
| | | | | | | | individually as tests. Also improved output when the test fails. | ||||
| * | SF patch #941881: PEP 309 Implementation (Partial Function Application). | Raymond Hettinger | 2005-02-28 | 1 | -0/+154 |
| | | | | | | Combined efforts of many including Peter Harris, Hye-Shik Chang, Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger. | ||||
| * | Patch #1049151: adding bool support to xdrlib.py. | Martin v. Löwis | 2005-02-24 | 3 | -1/+23 |
| | | | | | Also add xdrlib._test into the test suite. | ||||
| * | Teach the peepholer to fold unary operations on constants. | Raymond Hettinger | 2005-02-20 | 1 | -0/+19 |
| | | | | | | Afterwards, -0.5 loads in a single step and no longer requires a runtime UNARY_NEGATIVE operation. | ||||
| * | * Beef-up tests for str.count(). | Raymond Hettinger | 2005-02-20 | 1 | -0/+28 |
| | | | | | * Speed-up str.count() by using memchr() to fly between first char matches. | ||||
| * | * Beef-up testing of str.__contains__() and str.find(). | Raymond Hettinger | 2005-02-20 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | * Speed-up "x in y" where x has more than one character. The existing code made excessive calls to the expensive memcmp() function. The new code uses memchr() to rapidly find a start point for memcmp(). In addition to knowing that the first character is a match, the new code also checks that the last character is a match. This significantly reduces the incidence of false starts (saving memcmp() calls and making quadratic behavior less likely). Improves the timings on: python -m timeit -r7 -s"x='a'*1000" "'ab' in x" python -m timeit -r7 -s"x='a'*1000" "'bc' in x" Once this code has proven itself, then string_find_internal() should refer to it rather than running its own version. Also, something similar may apply to unicode objects. | ||||
| * | Add support for negative indices in UserString.MutableString.__setitem__ | Walter Dörwald | 2005-02-18 | 1 | -7/+7 |
| | | | | | and UserString.MutableString.__delitem__. | ||||
| * | Fix copy & paste error. | Walter Dörwald | 2005-02-17 | 1 | -2/+2 |
| | | |||||
| * | Add tests for the methods added by UserString.MutableString. | Walter Dörwald | 2005-02-17 | 1 | -0/+62 |
| | | |||||
| * | Avoid using items() in environ.update(). Fixes #1124513. | Martin v. Löwis | 2005-02-17 | 1 | -1/+1 |
| | | | | | Will backport to 2.4. | ||||
| * | Add a basic test for UserString.MutableString. | Walter Dörwald | 2005-02-17 | 1 | -2/+9 |
| | | |||||
| * | Fix | Michael W. Hudson | 2005-02-17 | 1 | -0/+3 |
| | | | | | | | | | [ 1124295 ] Function's __name__ no longer accessible in restricted mode which I introduced with a bit of mindless copy-paste when making __name__ writable. You can't assign to __name__ in restricted mode, which I'm going to pretend was intentional :) | ||||
| * | Whitespace normalization. | Tim Peters | 2005-02-15 | 1 | -2/+2 |
| | | |||||
| * | Test that SystemExits are handled properly by the exit machinery. I | Michael W. Hudson | 2005-02-15 | 1 | -0/+12 |
| | | | | | | broke the "raise SystemExit(46)" case when doing new-style exceptions, but I'd much rather have found out here than in test_tempfile (growl). | ||||
| * | Exceedingly minor tweak. | Michael W. Hudson | 2005-02-15 | 1 | -1/+1 |
| | | |||||
| * | fix decoding in _stringify to not depend on the default encoding | Fred Drake | 2005-02-11 | 1 | -0/+42 |
| | | | | | (closes SF bug #1115989) | ||||
| * | Remove set conversion optimization test (backed out of Python/compile.c in rev. | Brett Cannon | 2005-02-10 | 1 | -11/+0 |
| | | | | | 2.344). | ||||
| * | accept datetime.datetime instances when marshalling; | Fred Drake | 2005-02-10 | 1 | -0/+17 |
| | | | | | dateTime.iso8601 elements still unmarshal into xmlrpclib.DateTime objects | ||||
| * | Fix typo | Andrew M. Kuchling | 2005-02-10 | 1 | -1/+1 |
| | | |||||
| * | Fix stupid typo: Don't read from a writer. | Walter Dörwald | 2005-02-08 | 1 | -2/+2 |
| | | |||||
| * | Adopt Skip's idea to optimize lists of constants in the context | Raymond Hettinger | 2005-02-07 | 1 | -1/+2 |
| | | | | | of a "in" or "not in" test. | ||||
