summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #1983: Return from fork() is pid_t, not intChristian Heimes2008-01-316-9/+429
|
* Issue #1678380. Fix a bug that identifies 0j and -0j when they appearMark Dickinson2008-01-313-12/+57
| | | | | in the same code unit. The fix is essentially the same as the fix for a previous bug identifying 0. and -0.
* Minor wordsmithing on docstringRaymond Hettinger2008-01-311-8/+7
|
* Remove unused to-be-magic methods from Rational per issue 1968. Do not portJeffrey Yasskin2008-01-312-49/+0
| | | | this patch to py3k.
* Added more documentation on how mixed-mode arithmetic should be implemented. IJeffrey Yasskin2008-01-313-13/+222
| | | | | also noticed and fixed a bug in Rational's forward operators (they were claiming all instances of numbers.Rational instead of just the concrete types).
* Missing returnRaymond Hettinger2008-01-311-0/+1
|
* Fix defect in __ixor__ which would get the wrongRaymond Hettinger2008-01-311-13/+6
| | | | | | answer if the input iterable had a duplicate element (two calls to toggle() reverse each other). Borrow the correct code from sets.py.
* Bug #1234: Fixed semaphore errors on AIX 5.2Christian Heimes2008-01-303-1/+12
|
* Update itertool recipesRaymond Hettinger2008-01-301-12/+12
|
* The previous change was causing a segfault after multiple calls to ↵Christian Heimes2008-01-302-12/+8
| | | | Py_Initialize() and Py_Finalize().
* Fixed some references leaks in sys.Christian Heimes2008-01-303-22/+19
|
* Removed unused varChristian Heimes2008-01-301-1/+1
|
* Patch #1970 by Antoine Pitrou: Speedup unicode whitespace and linebreak ↵Christian Heimes2008-01-303-19/+92
| | | | detection. The speedup is about 25% for split() (571 / 457 usec) and 35% (175 / 127 usec )for splitlines()
* Demonstrate new except/as syntax.Raymond Hettinger2008-01-301-4/+4
|
* MutableSets support a remove() method.Raymond Hettinger2008-01-301-0/+6
|
* Add isdisjoint() to the Set/MutableSet ABCs.Raymond Hettinger2008-01-301-0/+6
|
* CallMethod is faster with a NULL third-argument than with an empty format ↵Raymond Hettinger2008-01-291-1/+1
| | | | string.
* Ignore .pyc and .pyo files.Brett Cannon2008-01-290-0/+0
|
* Update Vim syntax highlighting to specify what revision was used to generateBrett Cannon2008-01-293-8/+9
| | | | the file.
* Fix the reindent rule to use $(BUILDPYTHON).Brett Cannon2008-01-291-1/+1
|
* Disable use of BerkeleyDB 4.6.x to see what the odd platform buildbotsGregory P. Smith2008-01-281-1/+4
| | | | | think. In particular, neal norwitz has traced an Ubuntu sparc64 crash to the Lib/test/bsddb/test_basics.py test when opening a db with DB_THREAD.
* Removed unnecessary conditional (spotted by Neal Norwitz).Raymond Hettinger2008-01-281-1/+1
|
* 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.