summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Factor-out common code with a new macroRaymond Hettinger2008-01-281-0/+6
|
* Factor-out common code with a new macroRaymond Hettinger2008-01-282-4/+6
|
* Let marshal built-up sets and frozensets one element at a time (without ↵Raymond Hettinger2008-01-281-12/+8
| | | | creating an intermediate tuple).
* Make PySet_Add() work with frozensets.Raymond Hettinger2008-01-282-18/+17
| | | | | Works like PyTuple_SetItem() to build-up values in a brand new frozenset. Also, PyFrozenSet_New() is now guaranteed to produce a distinct new frozenset.
* Revert rev. 59925, it breaks comtypes (I need to further examine this).Thomas Heller2008-01-282-11/+0
|
* static PyObject* variables should use PyString_InternFromString() instead of ↵Christian Heimes2008-01-286-16/+17
| | | | PyObject_FromString() to store a python string in a function level static var.
* Added clear cache methods to clear the internal type lookup cache for ref ↵Christian Heimes2008-01-278-0/+55
| | | | leak test runs.
* Moved Rational._binary_float_to_ratio() to float.as_integer_ratio() becauseJeffrey Yasskin2008-01-273-56/+180
| | | | | | | it's useful outside of rational numbers. This is my first C code that had to do anything significant. Please be more careful when looking over it.
* Add refcounting extension to build config.Georg Brandl2008-01-271-0/+2
|
* socket.error doesn't have a headers attribute like ProtocolError.Neal Norwitz2008-01-271-10/+10
| | | | Handle that situation where we catch socket.errors.
* Change isbasestring function as discussed on the cvs list a while agoChristian Heimes2008-01-271-5/+7
|
* Try to handle socket.errors properly in is_unavailableNeal Norwitz2008-01-271-3/+7
|
* Remove effectless expression statement.Georg Brandl2008-01-271-1/+0
|
* Update the comment and remove the close. If we close we can't flush anymore.Neal Norwitz2008-01-271-2/+1
| | | | | We might still need to close after the for loop if flushing 6! times still doesn't cause the signal/exception.
* Print periodic "still working" messages since this suite is slow.Neal Norwitz2008-01-271-0/+26
|
* Reduce buffer size since we do not need 1kNeal Norwitz2008-01-271-1/+1
|
* Catch socket errors that are often the cause of transient failures.Neal Norwitz2008-01-271-10/+10
| | | | | Many of these exceptions are due to resource unavailable, so the existing code should be able to handle many more spurious errors.
* Retry connection in case it fails to reduce flakinessNeal Norwitz2008-01-271-3/+30
|
* Add a tiny sleep and additional flush to force the file to really be synced.Neal Norwitz2008-01-271-2/+5
|
* Update to newer version of ffi. Fixes crashes and test failures of longdoubleNeal Norwitz2008-01-272-16/+48
|
* Initialize variable to prevent warning on some platform/config.Neal Norwitz2008-01-271-2/+2
|
* Add assertion that we do not blow out newlNeal Norwitz2008-01-271-0/+1
|
* Whitespace cleanupNeal Norwitz2008-01-271-5/+5
|
* Removed an unnecessary and confusing paragraph from the namedtuple docs.Raymond Hettinger2008-01-271-10/+1
|
* Docstring nitRaymond Hettinger2008-01-271-1/+1
|
* Add stdarg include for va_list to get this to compile on cygwinNeal Norwitz2008-01-271-0/+2
|
* Use int for the sign rather than a char. char can be signed or unsigned.Neal Norwitz2008-01-271-1/+1
| | | | It's system dependent. This might fix the problem with test_rfind failing.
* Mostly reformat. Also set an error and return NULL if neither MS_WINDOWSNeal Norwitz2008-01-271-15/+13
| | | | nor UNIX is defined. This may have caused problems on cygwin.
* Make rational.gcd() public and allow Rational to take decimal strings, perJeffrey Yasskin2008-01-272-21/+62
| | | | Raymond's advice.
* Try to prevent this test from being flaky. We might need a sleep in hereNeal Norwitz2008-01-271-2/+6
| | | | | | | which isn't as bad as it sounds. The close() *should* raise an exception, so if it didn't we should give more time to sync and really raise it. Will backport.
* Eliminate the sleeps that assume the server will start in .5 seconds.Neal Norwitz2008-01-271-20/+26
| | | | | This should make the test less flaky. It also speeds up the test by about 75% on my box (20+ seconds -> ~4 seconds).
* Consistently use tempfile.tempdir for the db_home directory.Neal Norwitz2008-01-265-5/+8
|
* On some systems (e.g., Ubuntu on hppa) the flush()Neal Norwitz2008-01-261-0/+3
| | | | | | doesn't cause the exception, but the close() does. Will backport.
* Reduce the race condition by signalling when the server is readyNeal Norwitz2008-01-261-0/+3
| | | | and not trying to connect before.
* Always try to remove the test file even if close raises an exceptionNeal Norwitz2008-01-261-2/+1
|
* Cleanup the code a bit. test_rfind is failing on PPC and PPC64 buildbots,Neal Norwitz2008-01-261-7/+7
| | | | this might fix the problem.
* Update docs for new callpack params added in r60188Gregory P. Smith2008-01-261-8/+18
|
* Unit test fix from Giampaolo Rodola, #1938Christian Heimes2008-01-261-0/+1
|
* Move C API entries to the corresponding section.Georg Brandl2008-01-261-38/+41
|
* #1473257: add generator.gi_code attribute that refers toGeorg Brandl2008-01-264-2/+32
| | | | the original code object backing the generator. Patch by Collin Winter.
* #1940: make it possible to use curses.filter() before curses.initscr()Georg Brandl2008-01-262-1/+14
| | | | as the documentation says.
* Clarify "b" mode under Unix.Georg Brandl2008-01-261-1/+2
|
* Add some itemsAndrew M. Kuchling2008-01-261-1/+63
|
* Fix markup again.Georg Brandl2008-01-261-4/+4
|
* Slashes allowed on Windows.Georg Brandl2008-01-261-1/+1
|
* Add missing things in re docstring.Georg Brandl2008-01-261-1/+6
|
* #1934: fix os.path.isabs docs.Georg Brandl2008-01-261-1/+3
|
* 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.