Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If a classic class defined a __coerce__() method that just returned its two | Brett Cannon | 2006-06-13 | 1 | -9/+0 |
| | | | | | | | | arguments in reverse, the interpreter would infinitely recourse trying to get a coercion that worked. So put in a recursion check after a coercion is made and the next call to attempt to use the coerced values. Fixes bug #992017 and closes crashers/coerce.py . | ||||
* | Increase the small thread stack size to get the test | Andrew MacIntyre | 2006-06-13 | 3 | -7/+7 |
| | | | | | to pass reliably on the one buildbot that insists on more than 32kB of thread stack. | ||||
* | Whitespace normalization. | Tim Peters | 2006-06-13 | 1 | -1/+1 |
| | |||||
* | fix exception usage | Andrew MacIntyre | 2006-06-13 | 2 | -3/+2 |
| | |||||
* | Patch #1454481: Make thread stack size runtime tunable. | Andrew MacIntyre | 2006-06-13 | 5 | -1/+82 |
| | | | | | | | | | | Heavily revised, comprising revisions: 46640 - original trunk revision (backed out in r46655) 46647 - markup fix (backed out in r46655) 46692:46918 merged from branch aimacintyre-sf1454481 branch tested on buildbots (Windows buildbots had problems not related to these changes). | ||||
* | errors is an attribute in the incremental decoder | Walter Dörwald | 2006-06-13 | 1 | -3/+3 |
| | | | | not an argument. | ||||
* | Fix passing errors to the encoder and decoder functions. | Walter Dörwald | 2006-06-13 | 2 | -4/+4 |
| | |||||
* | Linecache contains support for PEP302 loaders, but fails to deal with loaders | Ronald Oussoren | 2006-06-13 | 1 | -0/+4 |
| | | | | | that return None to indicate that the module is valid but no source is available. This patch fixes that. | ||||
* | Add back WCHAR, UINT, DOUBLE, _LARGE_INTEGER, _ULARGE_INTEGER. | Thomas Heller | 2006-06-13 | 1 | -3/+13 |
| | | | | VARIANT_BOOL is a special _ctypes data type, not c_short. | ||||
* | Add some windows datatypes that were missing from this file, and add | Thomas Heller | 2006-06-13 | 1 | -24/+70 |
| | | | | the aliases defined in windows header files for the structures. | ||||
* | Verify the crash due to EncodingMap not initialized does not return | Neal Norwitz | 2006-06-13 | 1 | -0/+6 |
| | |||||
* | Don't fail if another process is listening on our port. | Neal Norwitz | 2006-06-13 | 1 | -1/+2 |
| | |||||
* | get_matching_blocks(): rewrote code & comments so they match; added | Tim Peters | 2006-06-13 | 1 | -14/+14 |
| | | | | | | more comments about why it's this way at all; and removed what looked like needless expense (sorting (i, j, k) triples directly should give exactly the same order as sorting (i, (i, j, k)) pairs). | ||||
* | Added missing svn:eol-style property to text files. | Tim Peters | 2006-06-13 | 2 | -873/+873 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-06-13 | 2 | -873/+873 |
| | |||||
* | Add the uuid module. | Ka-Ping Yee | 2006-06-12 | 2 | -0/+873 |
| | | | | | This module has been tested so far on Windows XP (Python 2.4 and 2.5a2), Mac OS X (Python 2.3, 2.4, and 2.5a2), and Linux (Python 2.4 and 2.5a2). | ||||
* | Add pep-291 compatibility markers. | Thomas Heller | 2006-06-12 | 8 | -0/+24 |
| | |||||
* | Fix site module docstring to match the code for Mac OSX, too | Nick Coghlan | 2006-06-12 | 1 | -3/+4 |
| | |||||
* | Fix site module docstring to match the code | Nick Coghlan | 2006-06-12 | 1 | -2/+2 |
| | |||||
* | Sync w/external release 0.1.2. Please see PEP 360 before making changes to ↵ | Phillip J. Eby | 2006-06-12 | 7 | -59/+146 |
| | | | | external packages. | ||||
* | Patch #1503046, Conditional compilation of zlib.(de)compressobj.copy | Neal Norwitz | 2006-06-12 | 1 | -57/+59 |
| | | | | | copy is only in newer versions of zlib. This should allow zlibmodule to work with older versions like the Tru64 buildbot. | ||||
* | Remove unused import | Neal Norwitz | 2006-06-12 | 1 | -1/+1 |
| | |||||
* | Fix the socket tests so they can be run concurrently. Backport candidate | Neal Norwitz | 2006-06-12 | 4 | -6/+50 |
| | |||||
* | Cleanup: Remove import of types to get StringTypes, we can just use basestring. | Neal Norwitz | 2006-06-12 | 1 | -6/+5 |
| | |||||
* | Get test to pass on S/390. Shout if you think this change is incorrect. | Neal Norwitz | 2006-06-11 | 1 | -1/+6 |
| | |||||
* | compare_generic_iter(): Fixed the failure of test_wsgiref's testFileWrapper | Tim Peters | 2006-06-11 | 1 | -12/+7 |
| | | | | | | | | | | | when running with -O. test_simple_validation_error still fails under -O. That appears to be because wsgiref's validate.py uses `assert` statements all over the place to check arguments for sanity. That should all be changed (it's not a logical error in the software if a user passes bogus arguments, so this isn't a reasonable use for `assert` -- checking external preconditions should generally raise ValueError or TypeError instead, as appropriate). | ||||
* | Fix test on PPC64 buildbot. It raised an IOError (really an URLError which | Neal Norwitz | 2006-06-11 | 1 | -1/+1 |
| | | | | | derives from an IOError). That seems valid. Env Error includes both OSError and IOError, so this seems like a reasonable fix. | ||||
* | Try to fix another networking test. The problem is that if hosts have | Neal Norwitz | 2006-06-11 | 1 | -4/+5 |
| | | | | | | | | a search path setup, some of these hosts resolve to the wrong address. By appending a period to the hostname, the hostname should only resolve to what we want it to resolve to. Hopefully this doesn't break different bots. Also add more info to failure message to aid debugging test failure. | ||||
* | Try to fix several networking tests. The problem is that if hosts have | Neal Norwitz | 2006-06-11 | 3 | -3/+3 |
| | | | | | | a search path setup, some of these hosts resolve to the wrong address. By appending a period to the hostname, the hostname should only resolve to what we want it to resolve to. Hopefully this doesn't break different bots. | ||||
* | Add missing svn:eol-style property to text files. | Tim Peters | 2006-06-11 | 1 | -36/+36 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-06-11 | 9 | -49/+49 |
| | |||||
* | Bug #1498146: fix optparse to handle Unicode strings in option help, | Greg Ward | 2006-06-11 | 2 | -7/+45 |
| | | | | description, and epilog. | ||||
* | This patch improves the L&F of IDLE on OSX. The changes are conditionalized on | Ronald Oussoren | 2006-06-11 | 8 | -20/+130 |
| | | | | | being in an IDLE.app bundle on darwin. This does a slight reorganisation of the menus and adds support for file-open events. | ||||
* | Fix errors found by pychecker | Neal Norwitz | 2006-06-11 | 5 | -8/+11 |
| | |||||
* | Fix errors found by pychecker. | Neal Norwitz | 2006-06-11 | 1 | -3/+6 |
| | | | | | | I think these changes are correct, but I'm not sure. Could someone who knows how this module works test it? It can at least start on the cmd line. | ||||
* | warnings was imported at module scope, no need to import again | Neal Norwitz | 2006-06-11 | 1 | -1/+1 |
| | |||||
* | Fix errors found by pychecker | Neal Norwitz | 2006-06-11 | 2 | -2/+3 |
| | |||||
* | Bug #1361643: fix textwrap.dedent() so it handles tabs appropriately, | Greg Ward | 2006-06-11 | 2 | -40/+96 |
| | | | | | i.e. do *not* expand tabs, but treat them as whitespace that is not equivalent to spaces. Add a couple of test cases. Clarify docs. | ||||
* | shuffle() doscstring: Removed warning about sequence length | Tim Peters | 2006-06-10 | 1 | -12/+6 |
| | | | | | | | | | versus generator period. While this was a real weakness of the older WH generator for lists with just a few dozen elements, and so could potentially bite the naive ;-), the Twister should show excellent behavior up to at least 600 elements. Module docstring: reflowed some jarringly short lines. | ||||
* | Upgrade to ctypes version 0.9.9.7. | Thomas Heller | 2006-06-10 | 8 | -30/+308 |
| | | | | | | | | Summary of changes: - support for 'variable sized' data - support for anonymous structure/union fields - fix severe bug with certain arrays or structures containing more than 256 fields | ||||
* | document the class, not its initializer | Skip Montanaro | 2006-06-10 | 1 | -4/+4 |
| | |||||
* | Apply perky's fix for #1503157: "/".join([u"", u""]) raising OverflowError. | Georg Brandl | 2006-06-10 | 1 | -0/+2 |
| | | | | Also improve error message on overflow. | ||||
* | An object with __call__ as an attribute, when called, will have that ↵ | Brett Cannon | 2006-06-09 | 2 | -9/+16 |
| | | | | | | attribute checked for __call__ itself, and will continue to look until it finds an object without the attribute. This can lead to an infinite recursion. Closes bug #532646, again. Will be backported. | ||||
* | Make use of new str.startswith/endswith semantics. | Georg Brandl | 2006-06-09 | 11 | -20/+14 |
| | | | | Occurences in email and compiler were ignored due to backwards compat requirements. | ||||
* | Remove unused variable | Andrew M. Kuchling | 2006-06-09 | 1 | -1/+0 |
| | |||||
* | Implementing a happy idea from Georg Brandl: make runtest() try to | Tim Peters | 2006-06-09 | 1 | -1/+48 |
| | | | | | | | | | | | | clean up files and directories the tests often leave behind by mistake. This is the first time in history I don't have a bogus "db_home" directory after running the tests ;-) Also worked on runtest's docstring, to say something about all the arguments, and to document the non-obvious return values. New functions runtest_inner() and cleanup_test_droppings() in support of the above. | ||||
* | RFE #1491485: str/unicode.endswith()/startswith() now accept a tuple as ↵ | Georg Brandl | 2006-06-09 | 1 | -1/+31 |
| | | | | first argument. | ||||
* | Test file.__exit__. | Georg Brandl | 2006-06-09 | 1 | -1/+11 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-06-09 | 5 | -81/+3 |
| | |||||
* | Import wsgiref into the stdlib, as of the external version 0.1-r2181. | Phillip J. Eby | 2006-06-09 | 8 | -0/+2182 |
| |