Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | changed count to return 0 for slices outside the source string | Fredrik Lundh | 2006-05-30 | 1 | -1/+2 |
| | |||||
* | Change wrapping terminology to overflow masking | Bob Ippolito | 2006-05-30 | 1 | -3/+3 |
| | |||||
* | changed find/rfind to return -1 for matches outside the source string | Fredrik Lundh | 2006-05-30 | 1 | -0/+8 |
| | |||||
* | Convert test_exceptions to unittest. | Georg Brandl | 2006-05-30 | 2 | -349/+287 |
| | |||||
* | Do the check for no keyword arguments in __init__ so that | Georg Brandl | 2006-05-30 | 1 | -1/+1 |
| | | | | subclasses of Exception can be supplied keyword args | ||||
* | Disallow keyword args for exceptions. | Georg Brandl | 2006-05-30 | 1 | -0/+7 |
| | |||||
* | Don't fail if the (sub)pkgname already exist. | Neal Norwitz | 2006-05-30 | 1 | -0/+3 |
| | |||||
* | Add a test case for exception pickling. args is never NULL. | Georg Brandl | 2006-05-30 | 1 | -0/+13 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-05-30 | 2 | -4/+4 |
| | |||||
* | deprecated_err(): Stop bizarre warning messages when the tests | Tim Peters | 2006-05-30 | 1 | -2/+6 |
| | | | | | | | | | | | are run in the order: test_genexps (or any other doctest-based test) test_struct test_doctest The `warnings` module needs an advertised way to save/restore its internal filter list. | ||||
* | Add a length check to aifc to ensure it doesn't write a bogus file | Bob Ippolito | 2006-05-30 | 1 | -0/+2 |
| | |||||
* | struct: modulo math plus warning on all endian-explicit formats for ↵ | Bob Ippolito | 2006-05-29 | 1 | -11/+36 |
| | | | | compatibility with older struct usage (ugly) | ||||
* | fixed "abc".count("", 100) == -96 error (hopefully, nobody's relying on | Fredrik Lundh | 2006-05-29 | 1 | -0/+8 |
| | | | | the current behaviour ;-) | ||||
* | Patches #1497027 and #972322: try HTTP digest auth first, | Georg Brandl | 2006-05-29 | 2 | -6/+65 |
| | | | | and watch out for handler name collisions. | ||||
* | When adding a module like functools, it helps to let SVN know about the file. | Nick Coghlan | 2006-05-29 | 1 | -0/+26 |
| | |||||
* | Fix #1494787 (pyclbr counts whitespace as superclass name) | Georg Brandl | 2006-05-29 | 1 | -2/+4 |
| | |||||
* | Apply modified version of Collin Winter's patch #1478788 | Nick Coghlan | 2006-05-29 | 1 | -3/+3 |
| | | | | | | Renames functional extension module to _functools and adds a Python functools module so that utility functions like update_wrapper can be added easily. | ||||
* | A clearer error message when passing -R to regrtest.py with | Armin Rigo | 2006-05-28 | 1 | -0/+3 |
| | | | | release builds of Python. | ||||
* | Patch #1496206: urllib2 PasswordMgr ./. default ports | Georg Brandl | 2006-05-28 | 2 | -18/+79 |
| | |||||
* | ("Forward-port" of r46506) | Armin Rigo | 2006-05-28 | 8 | -16/+24 |
| | | | | | | | | | | | | | | Remove various dependencies on dictionary order in the standard library tests, and one (clearly an oversight, potentially critical) in the standard library itself - base64.py. Remaining open issues: * test_extcall is an output test, messy to make robust * tarfile.py has a potential bug here, but I'm not familiar enough with this code. Filed in as SF bug #1496501. * urllib2.HTTPPasswordMgr() returns a random result if there is more than one matching root path. I'm asking python-dev for clarification... | ||||
* | Patch #1080727: add "encoding" parameter to doctest.DocFileSuite | George Yoshida | 2006-05-28 | 3 | -8/+82 |
| | | | | Contributed by Bjorn Tillenius. | ||||
* | The cheery optimism of old age. | Tim Peters | 2006-05-27 | 1 | -13/+1 |
| | |||||
* | Always close BZ2Proxy object. Remove unnecessary struct usage. | Georg Brandl | 2006-05-27 | 1 | -13/+10 |
| | |||||
* | More random thrashing trying to understand spurious | Tim Peters | 2006-05-27 | 1 | -1/+13 |
| | | | | Windows failures. Who's keeping a bz2 file open? | ||||
* | Conversion of exceptions over from faked-up classes to new-style C types. | Richard Jones | 2006-05-27 | 7 | -100/+94 |
| | |||||
* | Fix up struct docstrings, add struct.pack_to function for symmetry | Bob Ippolito | 2006-05-27 | 2 | -0/+34 |
| | |||||
* | Patch 1494554: Update numeric properties to Unicode 4.1. | Martin v. Löwis | 2006-05-27 | 1 | -2/+2 |
| | |||||
* | enable all of the struct tests, use ssize_t, fix some whitespace | Bob Ippolito | 2006-05-26 | 1 | -1/+1 |
| | |||||
* | added rpartition method to UserString class | Fredrik Lundh | 2006-05-26 | 1 | -1/+4 |
| | |||||
* | needspeed: rpartition documentation, tests, and a bug fixes. | Fredrik Lundh | 2006-05-26 | 1 | -2/+17 |
| | | | | feel free to add more tests and improve the documentation. | ||||
* | Need for speed: Patch #921466 : sys.path_importer_cache is now used to cache ↵ | Georg Brandl | 2006-05-26 | 1 | -2/+4 |
| | | | | | | | | | | valid and invalid file paths for the built-in import machinery which leads to fewer open calls on startup. Also fix issue with PEP 302 style import hooks which lead to more open() calls than necessary. | ||||
* | Test for more edge strip cases; leading and trailing separator gets removed | Andrew Dalke | 2006-05-26 | 1 | -0/+2 |
| | | | | even with strip(..., 0) | ||||
* | Fix distutils so that libffi will cross-compile between darwin/x86 and ↵ | Bob Ippolito | 2006-05-26 | 1 | -4/+2 |
| | | | | darwin/ppc | ||||
* | Explicitly close files. I'm trying to stop the frequent spurious test_tarfile | Tim Peters | 2006-05-26 | 1 | -9/+32 |
| | | | | | | failures on Windows buildbots, but it's hard to know how since the regrtest failure output is useless here, and it never fails when a buildbot slave runs test_tarfile the second time in verbose mode. | ||||
* | Use open() to open files (was using file()). | Tim Peters | 2006-05-26 | 1 | -10/+10 |
| | |||||
* | fix #1229380 No struct.pack exception for some out of range integers | Bob Ippolito | 2006-05-26 | 1 | -3/+5 |
| | |||||
* | Added more rstrip tests, including for prealloc'ed arrays | Andrew Dalke | 2006-05-26 | 1 | -1/+54 |
| | |||||
* | quick hack to fix busted binhex test | Bob Ippolito | 2006-05-26 | 1 | -1/+5 |
| | |||||
* | Test cases for off-by-one errors in string split with multicharacter pattern. | Andrew Dalke | 2006-05-26 | 1 | -0/+2 |
| | |||||
* | I like tests. | Andrew Dalke | 2006-05-26 | 1 | -0/+32 |
| | | | | | | | The new split functions use a preallocated list. Added tests which exceed the preallocation size, to exercise list appends/resizes. Also added more edge case tests. | ||||
* | Whitespace normalization. | Tim Peters | 2006-05-26 | 1 | -2/+1 |
| | |||||
* | Support for buffer protocol for socket and struct. | Martin Blais | 2006-05-26 | 3 | -27/+97 |
| | | | | | | | | | | * Added socket.recv_buf() and socket.recvfrom_buf() methods, that use the buffer protocol (send and sendto already did). * Added struct.pack_to(), that is the corresponding buffer compatible method to unpack_from(). * Fixed minor typos in arraymodule. | ||||
* | Add "partition" to UserString. | Georg Brandl | 2006-05-26 | 1 | -0/+1 |
| | |||||
* | Added split whitespace checks for characters other than space. | Andrew Dalke | 2006-05-26 | 1 | -0/+1 |
| | |||||
* | Added a few more test cases for whitespace split. These strings have ↵ | Andrew Dalke | 2006-05-26 | 1 | -0/+7 |
| | | | | leading whitespace. | ||||
* | needforspeed: partition implementation, part two. | Fredrik Lundh | 2006-05-26 | 1 | -0/+15 |
| | | | | feel free to improve the documentation and the docstrings. | ||||
* | Without this patch OSX users couldn't add new help sources because the code | Ronald Oussoren | 2006-05-26 | 1 | -0/+1 |
| | | | | tried to update one item in a tuple. | ||||
* | Whitespace normalization. | Tim Peters | 2006-05-25 | 1 | -2/+2 |
| | |||||
* | Change test_values so that it compares the lowercasing of group names since ↵ | Brett Cannon | 2006-05-25 | 1 | -1/+4 |
| | | | | | | getgrall() can return all lowercase names while getgrgid() returns proper casing. Discovered on Ubuntu 5.04 (custom). | ||||
* | Guard the _active.remove() call to avoid errors when there is no _active list. | Georg Brandl | 2006-05-25 | 1 | -2/+3 |
| |