Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert PySet_Add() changes. | Raymond Hettinger | 2008-01-26 | 3 | -16/+20 |
| | |||||
* | Update test code for change to PySet_Add(). | Raymond Hettinger | 2008-01-26 | 1 | -1/+0 |
| | |||||
* | Let marshal build-up sets and frozensets one element at a time. | Raymond Hettinger | 2008-01-26 | 1 | -12/+8 |
| | | | | Saves the unnecessary creation of a tuple as intermediate container. | ||||
* | The OS X buildbot had errors with the unavailable exceptions disabled. ↵ | Neal Norwitz | 2008-01-26 | 1 | -8/+2 |
| | | | | Restore it. | ||||
* | Make PySet_Add() work with frozensets. Works like PyTuple_SetItem() to ↵ | Raymond Hettinger | 2008-01-26 | 2 | -7/+8 |
| | | | | build-up values in a brand new frozenset. | ||||
* | Fix exception in tearDown on ppc buildbot. If there's no directory, | Neal Norwitz | 2008-01-26 | 1 | -2/+5 |
| | | | | that shouldn't cause the test to fail. Just like it setUp. | ||||
* | Use a condition variable (threading.Event) rather than sleeps and checking a | Neal Norwitz | 2008-01-26 | 1 | -14/+19 |
| | | | | | | | | | | | | | global to determine when the server is ready to be used. This slows the test down, but should make it correct. There was a race condition before where the server could have assigned a port, yet it wasn't ready to serve requests. If the client sent a request before the server was completely ready, it would get an exception. There was machinery to try to handle this condition. All of that should be unnecessary and removed if this change works. A NOTE was added as a comment about what needs to be fixed. The buildbots will tell us if there are more errors or if this test is now stable. | ||||
* | Prevent this test from failing if there are transient network problems | Neal Norwitz | 2008-01-26 | 1 | -10/+30 |
| | | | | by retrying the host for up to 3 times. | ||||
* | Make 'testall' work again when building in a separate directory. | Thomas Wouters | 2008-01-26 | 1 | -1/+1 |
| | | | | test_distutils still fails when doing that. | ||||
* | Use the right (portable) definition of the max of a Py_ssize_t. | Thomas Wouters | 2008-01-25 | 1 | -1/+1 |
| | |||||
* | Rewrite the list_inline_repeat overflow check slightly differently. | Guido van Rossum | 2008-01-25 | 1 | -6/+7 |
| | |||||
* | Changes 54857 and 54840 broke code and were reverted in Py2.5 just before | Raymond Hettinger | 2008-01-25 | 3 | -16/+8 |
| | | | | it was released, but that reversion never made it to the Py2.6 head. | ||||
* | Added the Python core headers Include/*.h and pyconfig.h as dependencies for ↵ | Christian Heimes | 2008-01-25 | 1 | -0/+9 |
| | | | | | | the extensions in Modules/ It forces a rebuild of all extensions when a header files has been modified | ||||
* | setup.py doesn't pick up changes to a header file | Christian Heimes | 2008-01-25 | 1 | -4/+4 |
| | |||||
* | Backport of several functions from Python 3.0 to 2.6 including ↵ | Christian Heimes | 2008-01-25 | 8 | -173/+1599 |
| | | | | | | | PyUnicode_FromString, PyUnicode_Format and PyLong_From/AsSsize_t. The functions are partly required for the backport of the bytearray type and _fileio module. They should also make it easier to port C to 3.0. First chapter of the Python 3.0 io framework back port: _fileio The next step depends on a working bytearray type which itself depends on a backport of the nwe buffer API. | ||||
* | Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64) | Neal Norwitz | 2008-01-25 | 2 | -0/+10 |
| | | | | | and eliminate a compiler warning in floatobject.c. There might be a better way to go about this, but it should be good enough for now. | ||||
* | Make the test more robust by trying to reconnect up to 3 times | Neal Norwitz | 2008-01-25 | 1 | -19/+35 |
| | | | | | | | in case there were transient failures. This will hopefully silence the buildbots for this test. As we find other tests that have a problem, we can fix with a similar strategy assuming it is successful. It worked on my box in a loop for 10+ runs where it would have an exception otherwise. | ||||
* | More design notes | Raymond Hettinger | 2008-01-25 | 1 | -0/+4 |
| | |||||
* | Fix-up signature for approximation. | Raymond Hettinger | 2008-01-25 | 2 | -9/+10 |
| | |||||
* | Add one other review comment. | Raymond Hettinger | 2008-01-25 | 1 | -1/+1 |
| | |||||
* | Mark todos and review comments. | Raymond Hettinger | 2008-01-25 | 1 | -0/+13 |
| | |||||
* | Add support for copy, deepcopy, and pickle. | Raymond Hettinger | 2008-01-25 | 2 | -0/+23 |
| | |||||
* | More code cleanup. Remove unnecessary indirection to useless class methods. | Raymond Hettinger | 2008-01-24 | 1 | -15/+15 |
| | |||||
* | News entry for r60265 (Issue 1920). | Amaury Forgeot d'Arc | 2008-01-24 | 1 | -1/+6 |
| | |||||
* | #1920: when considering a block starting by "while 0", the compiler ↵ | Amaury Forgeot d'Arc | 2008-01-24 | 2 | -1/+13 |
| | | | | | | | | | | | | | | | | | optimized the whole construct away, even when an 'else' clause is present:: while 0: print("no") else: print("yes") did not generate any code at all. Now the compiler emits the 'else' block, like it already does for 'if' statements. Will backport. | ||||
* | Shorter pprint's for empty sets and frozensets. Fix indentation of ↵ | Raymond Hettinger | 2008-01-24 | 2 | -2/+200 |
| | | | | frozensets. Add tests including two complex data structures. | ||||
* | Expand tests to include nested graph structures. | Raymond Hettinger | 2008-01-24 | 1 | -0/+106 |
| | |||||
* | Add support for int(r) just like the other numeric classes. | Raymond Hettinger | 2008-01-24 | 2 | -0/+3 |
| | |||||
* | Invert the checks in get_[u]long and get_[u]longlong. The intent was | Thomas Heller | 2008-01-24 | 2 | -20/+32 |
| | | | | | | | to not accept float types; the result was that integer-like objects were not accepted. Ported from release25-maint. | ||||
* | Add support for trunc(). | Raymond Hettinger | 2008-01-24 | 2 | -0/+13 |
| | |||||
* | Replace Py_BuildValue with PyTuple_Pack because it is faster. | Thomas Heller | 2008-01-24 | 1 | -7/+10 |
| | | | | Also add a missing DECREF. | ||||
* | Use a PyDictObject again for the array type cache; retrieving items | Thomas Heller | 2008-01-24 | 1 | -16/+137 |
| | | | | | | | | from the WeakValueDictionary was slower by nearly a factor of 3. To avoid leaks, weakref proxies for the array types are put into the cache dict, with weakref callbacks that removes the entries when the type goes away. | ||||
* | News about recently fixed crashers: | Guido van Rossum | 2008-01-24 | 1 | -0/+4 |
| | | | | | | - A few crashers fixed: weakref_in_del.py (issue #1377858); loosing_dict_ref.py (issue #1303614, test67.py); borrowed_ref_[34].py (not in tracker). | ||||
* | Revert 60189 and restore performance. | Raymond Hettinger | 2008-01-24 | 1 | -8/+24 |
| | |||||
* | Clean-up and speed-up code by accessing numerator/denominator directly. ↵ | Raymond Hettinger | 2008-01-24 | 1 | -11/+3 |
| | | | | There's no reason to enforce readonliness | ||||
* | Fix test67.py from issue #1303614. | Guido van Rossum | 2008-01-24 | 3 | -21/+29 |
| | |||||
* | Fi debug turd -- a call accidentally left out. | Guido van Rossum | 2008-01-24 | 1 | -1/+1 |
| | |||||
* | Updated for optional delay argument to FileHandler and subclasses. | Vinay Sajip | 2008-01-24 | 1 | -1/+8 |
| | |||||
* | Added documentation for optional delay argument to FileHandler and subclasses. | Vinay Sajip | 2008-01-24 | 1 | -8/+18 |
| | |||||
* | Added optional delay argument to FileHandler and subclasses. | Vinay Sajip | 2008-01-24 | 1 | -11/+14 |
| | |||||
* | Added optional delay argument to FileHandler and subclasses. | Vinay Sajip | 2008-01-24 | 1 | -5/+20 |
| | |||||
* | Fix issue1789: The tutorial contained a misuse of the struct module. | Gregory P. Smith | 2008-01-24 | 3 | -6/+8 |
| | | | | (also remove an unneeded import struct from test_largefile) | ||||
* | Fix the test_urllib2net failures that were caused by r58067. | Neal Norwitz | 2008-01-24 | 1 | -2/+2 |
| | | | | | I'm not sure this is the correct fix, but at least the test passes now and should be closer to correct. | ||||
* | Fix the tests by restoring __import__. I think the test is still valid. | Neal Norwitz | 2008-01-24 | 1 | -4/+6 |
| | |||||
* | Cleanup | Raymond Hettinger | 2008-01-24 | 1 | -3/+1 |
| | |||||
* | Minor clean-up and more tests. | Raymond Hettinger | 2008-01-24 | 2 | -2/+15 |
| | |||||
* | Add first-cut at an approximation function (still needs rounding tweaks). ↵ | Raymond Hettinger | 2008-01-24 | 2 | -0/+48 |
| | | | | Add continued fraction conversions. | ||||
* | Turn three recently fixed crashers into regular tests. | Guido van Rossum | 2008-01-23 | 1 | -1/+70 |
| | |||||
* | There was an error on exit if no sys.exitfunc was defined. Issue 1647. | Kurt B. Kaiser | 2008-01-23 | 2 | -1/+6 |
| | |||||
* | Fix misleading comment reported in issue #1917. | Guido van Rossum | 2008-01-23 | 1 | -1/+1 |
| |