summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert PySet_Add() changes.Raymond Hettinger2008-01-263-16/+20
|
* Update test code for change to PySet_Add().Raymond Hettinger2008-01-261-1/+0
|
* Let marshal build-up sets and frozensets one element at a time.Raymond Hettinger2008-01-261-12/+8
| | | | Saves the unnecessary creation of a tuple as intermediate container.
* The OS X buildbot had errors with the unavailable exceptions disabled. ↵Neal Norwitz2008-01-261-8/+2
| | | | Restore it.
* Make PySet_Add() work with frozensets. Works like PyTuple_SetItem() to ↵Raymond Hettinger2008-01-262-7/+8
| | | | build-up values in a brand new frozenset.
* Fix exception in tearDown on ppc buildbot. If there's no directory,Neal Norwitz2008-01-261-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 aNeal Norwitz2008-01-261-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 problemsNeal Norwitz2008-01-261-10/+30
| | | | by retrying the host for up to 3 times.
* Make 'testall' work again when building in a separate directory.Thomas Wouters2008-01-261-1/+1
| | | | test_distutils still fails when doing that.
* Use the right (portable) definition of the max of a Py_ssize_t.Thomas Wouters2008-01-251-1/+1
|
* Rewrite the list_inline_repeat overflow check slightly differently.Guido van Rossum2008-01-251-6/+7
|
* Changes 54857 and 54840 broke code and were reverted in Py2.5 just beforeRaymond Hettinger2008-01-253-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 Heimes2008-01-251-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 fileChristian Heimes2008-01-251-4/+4
|
* Backport of several functions from Python 3.0 to 2.6 including ↵Christian Heimes2008-01-258-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 Norwitz2008-01-252-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 timesNeal Norwitz2008-01-251-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 notesRaymond Hettinger2008-01-251-0/+4
|
* Fix-up signature for approximation.Raymond Hettinger2008-01-252-9/+10
|
* Add one other review comment.Raymond Hettinger2008-01-251-1/+1
|
* Mark todos and review comments.Raymond Hettinger2008-01-251-0/+13
|
* Add support for copy, deepcopy, and pickle.Raymond Hettinger2008-01-252-0/+23
|
* More code cleanup. Remove unnecessary indirection to useless class methods.Raymond Hettinger2008-01-241-15/+15
|
* News entry for r60265 (Issue 1920).Amaury Forgeot d'Arc2008-01-241-1/+6
|
* #1920: when considering a block starting by "while 0", the compiler ↵Amaury Forgeot d'Arc2008-01-242-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 Hettinger2008-01-242-2/+200
| | | | frozensets. Add tests including two complex data structures.
* Expand tests to include nested graph structures.Raymond Hettinger2008-01-241-0/+106
|
* Add support for int(r) just like the other numeric classes.Raymond Hettinger2008-01-242-0/+3
|
* Invert the checks in get_[u]long and get_[u]longlong. The intent wasThomas Heller2008-01-242-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 Hettinger2008-01-242-0/+13
|
* Replace Py_BuildValue with PyTuple_Pack because it is faster.Thomas Heller2008-01-241-7/+10
| | | | Also add a missing DECREF.
* Use a PyDictObject again for the array type cache; retrieving itemsThomas Heller2008-01-241-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 Rossum2008-01-241-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 Hettinger2008-01-241-8/+24
|
* Clean-up and speed-up code by accessing numerator/denominator directly. ↵Raymond Hettinger2008-01-241-11/+3
| | | | There's no reason to enforce readonliness
* Fix test67.py from issue #1303614.Guido van Rossum2008-01-243-21/+29
|
* Fi debug turd -- a call accidentally left out.Guido van Rossum2008-01-241-1/+1
|
* Updated for optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-1/+8
|
* Added documentation for optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-8/+18
|
* Added optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-11/+14
|
* Added optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-5/+20
|
* Fix issue1789: The tutorial contained a misuse of the struct module.Gregory P. Smith2008-01-243-6/+8
| | | | (also remove an unneeded import struct from test_largefile)
* Fix the test_urllib2net failures that were caused by r58067.Neal Norwitz2008-01-241-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 Norwitz2008-01-241-4/+6
|
* CleanupRaymond Hettinger2008-01-241-3/+1
|
* Minor clean-up and more tests.Raymond Hettinger2008-01-242-2/+15
|
* Add first-cut at an approximation function (still needs rounding tweaks). ↵Raymond Hettinger2008-01-242-0/+48
| | | | Add continued fraction conversions.
* Turn three recently fixed crashers into regular tests.Guido van Rossum2008-01-231-1/+70
|
* There was an error on exit if no sys.exitfunc was defined. Issue 1647.Kurt B. Kaiser2008-01-232-1/+6
|
* Fix misleading comment reported in issue #1917.Guido van Rossum2008-01-231-1/+1
|