| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove doctest.testmod's deprecated (in 2.4) `isprivate` | Tim Peters | 2006-06-05 | 1 | -48/+9 |
| | | | | | argument. A lot of hair went into supporting that! | ||||
| * | "Flat is better than nested." | Tim Peters | 2006-06-05 | 1 | -59/+73 |
| | | | | | | | | | | Move the long-winded, multiply-nested -R support out of runtest() and into some module-level helper functions. This makes runtest() and the -R code easier to follow. That in turn allowed seeing some opportunities for code simplification, and made it obvious that reglog.txt never got closed. | ||||
| * | Revert revisions: | Tim Peters | 2006-06-04 | 3 | -59/+0 |
| | | | | | | | | | | | | | | | | | 46640 Patch #1454481: Make thread stack size runtime tunable. 46647 Markup fix The first is causing many buildbots to fail test runs, and there are multiple causes with seemingly no immediate prospects for repairing them. See python-dev discussion. Note that a branch can (and should) be created for resolving these problems, like svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH followed by merging rev 46647 to the new branch. | ||||
| * | Patch #1346214: correctly optimize away "if 0"-style stmts | Georg Brandl | 2006-06-04 | 1 | -3/+3 |
| | | | | | (thanks to Neal for review) | ||||
| * | Fixes in struct and socket from merge reviews. | Martin Blais | 2006-06-04 | 2 | -19/+19 |
| | | | | | | | | | | | | | | - Following Guido's comments, renamed * pack_to -> pack_into * recv_buf -> recv_into * recvfrom_buf -> recvfrom_into - Made fixes to _struct.c according to Neal Norwitz comments on the checkins list. - Converted some ints into the appropriate -- I hope -- ssize_t and size_t. | ||||
| * | Patch #1454481: Make thread stack size runtime tunable. | Andrew MacIntyre | 2006-06-04 | 3 | -0/+59 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2006-06-04 | 1 | -2/+1 |
| | | |||||
| * | pprint functions used to sort a dict (by key) if and only if | Tim Peters | 2006-06-02 | 1 | -4/+31 |
| | | | | | | | | | | | | the output required more than one line. "Small" dicts got displayed in seemingly random order (the hash-induced order produced by dict.__repr__). None of this was documented. Now pprint functions always sort dicts by key, and the docs promise it. This was proposed and agreed to during the PyCon 2006 core sprint -- I just didn't have time for it before now. | ||||
| * | Fixed struct test to not use unittest. | Martin Blais | 2006-06-02 | 1 | -78/+84 |
| | | |||||
| * | Fix memory leak found by valgrind. | Neal Norwitz | 2006-06-02 | 1 | -2/+4 |
| | | |||||
| * | Convert docstrings to comments so regrtest -v prints method names | Neal Norwitz | 2006-06-02 | 1 | -7/+7 |
| | | |||||
| * | Re-enable a new empty-string test added during the NFS sprint, | Tim Peters | 2006-06-01 | 1 | -6/+1 |
| | | | | | | | but disabled then because str and unicode strings gave different results. The implementations were repaired later during the sprint, but the new test remained disabled. | ||||
| * | [ 1497053 ] Let dicts propagate the exceptions in user __eq__(). | Armin Rigo | 2006-06-01 | 3 | -49/+58 |
| | | | | | [ 1456209 ] dictresize() vulnerability ( <- backport candidate ). | ||||
| * | Some code style tweaks, and remove apply. | Georg Brandl | 2006-06-01 | 1 | -63/+67 |
| | | |||||
| * | On 64-bit platforms running test_struct after test_tarfile would fail | Neal Norwitz | 2006-05-31 | 1 | -0/+6 |
| | | | | | since the deprecation warning wouldn't be raised. | ||||
| * | Whitespace normalization. | Tim Peters | 2006-05-30 | 1 | -4/+4 |
| | | |||||
| * | 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 |
| | | |||||
| * | 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. | ||||
| * | 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 | 1 | -6/+55 |
| | | | | | and watch out for handler name collisions. | ||||
| * | 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 | 1 | -3/+51 |
| | | |||||
| * | ("Forward-port" of r46506) | Armin Rigo | 2006-05-28 | 5 | -9/+11 |
| | | | | | | | | | | | | | | | 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 | 2 | -6/+65 |
| | | | | | Contributed by Bjorn Tillenius. | ||||
| * | The cheery optimism of old age. | Tim Peters | 2006-05-27 | 1 | -13/+1 |
| | | |||||
| * | 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 | 4 | -85/+89 |
| | | |||||
| * | Fix up struct docstrings, add struct.pack_to function for symmetry | Bob Ippolito | 2006-05-27 | 1 | -0/+22 |
| | | |||||
| * | 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 |
| | | |||||
| * | 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. | ||||
| * | Test for more edge strip cases; leading and trailing separator gets removed | Andrew Dalke | 2006-05-26 | 1 | -0/+2 |
| | | | | | even with strip(..., 0) | ||||
| * | 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 |
| | | |||||
| * | 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 | 2 | -26/+92 |
| | | | | | | | | | | | * 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. | ||||
| * | Added split whitespace checks for characters other than space. | Andrew Dalke | 2006-05-26 | 1 | -0/+1 |
| | | |||||
