summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Could not open files in .idlerc directory if latter was hidden on Windows.Kurt B. Kaiser2008-01-232-2/+10
| | | | Issue 1743, Issue 1862.
* Fix two crashers.Guido van Rossum2008-01-234-44/+11
|
* Applied #1069410Christian Heimes2008-01-232-0/+13
| | | | The "can't load dll" message box on Windows is suppressed while an extension is loaded by calling SetErrorMode in dynload_win.c. The error is still reported properly.
* Fixed bug #1915: Python compiles with --enable-unicode=no again. However ↵Christian Heimes2008-01-234-4/+12
| | | | several extension methods and modules do not work without unicode support.
* patch 1754489 by vlahan:Armin Rigo2008-01-231-2/+2
| | | | improve portability of address length calculation for AF_UNIX sockets
* Use Py_TYPE() instead of ->ob_typeChristian Heimes2008-01-231-1/+1
|
* I'm tired of these tests breaking at Google due to our large number ofGuido van Rossum2008-01-232-0/+6
| | | | | users and groups in LDAP/NIS. So I'm limiting the extra-heavy part of the tests to passwd/group files with at most 1000 entries.