Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed bug #1983: Return from fork() is pid_t, not int | Christian Heimes | 2008-01-31 | 6 | -9/+429 |
| | |||||
* | Issue #1678380. Fix a bug that identifies 0j and -0j when they appear | Mark Dickinson | 2008-01-31 | 3 | -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 docstring | Raymond Hettinger | 2008-01-31 | 1 | -8/+7 |
| | |||||
* | Remove unused to-be-magic methods from Rational per issue 1968. Do not port | Jeffrey Yasskin | 2008-01-31 | 2 | -49/+0 |
| | | | | this patch to py3k. | ||||
* | Added more documentation on how mixed-mode arithmetic should be implemented. I | Jeffrey Yasskin | 2008-01-31 | 3 | -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 return | Raymond Hettinger | 2008-01-31 | 1 | -0/+1 |
| | |||||
* | Fix defect in __ixor__ which would get the wrong | Raymond Hettinger | 2008-01-31 | 1 | -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.2 | Christian Heimes | 2008-01-30 | 3 | -1/+12 |
| | |||||
* | Update itertool recipes | Raymond Hettinger | 2008-01-30 | 1 | -12/+12 |
| | |||||
* | The previous change was causing a segfault after multiple calls to ↵ | Christian Heimes | 2008-01-30 | 2 | -12/+8 |
| | | | | Py_Initialize() and Py_Finalize(). | ||||
* | Fixed some references leaks in sys. | Christian Heimes | 2008-01-30 | 3 | -22/+19 |
| | |||||
* | Removed unused var | Christian Heimes | 2008-01-30 | 1 | -1/+1 |
| | |||||
* | Patch #1970 by Antoine Pitrou: Speedup unicode whitespace and linebreak ↵ | Christian Heimes | 2008-01-30 | 3 | -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 Hettinger | 2008-01-30 | 1 | -4/+4 |
| | |||||
* | MutableSets support a remove() method. | Raymond Hettinger | 2008-01-30 | 1 | -0/+6 |
| | |||||
* | Add isdisjoint() to the Set/MutableSet ABCs. | Raymond Hettinger | 2008-01-30 | 1 | -0/+6 |
| | |||||
* | CallMethod is faster with a NULL third-argument than with an empty format ↵ | Raymond Hettinger | 2008-01-29 | 1 | -1/+1 |
| | | | | string. | ||||
* | Ignore .pyc and .pyo files. | Brett Cannon | 2008-01-29 | 0 | -0/+0 |
| | |||||
* | Update Vim syntax highlighting to specify what revision was used to generate | Brett Cannon | 2008-01-29 | 3 | -8/+9 |
| | | | | the file. | ||||
* | Fix the reindent rule to use $(BUILDPYTHON). | Brett Cannon | 2008-01-29 | 1 | -1/+1 |
| | |||||
* | Disable use of BerkeleyDB 4.6.x to see what the odd platform buildbots | Gregory P. Smith | 2008-01-28 | 1 | -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 Hettinger | 2008-01-28 | 1 | -1/+1 |
| | |||||
* | Factor-out common code with a new macro | Raymond Hettinger | 2008-01-28 | 1 | -0/+6 |
| | |||||
* | Factor-out common code with a new macro | Raymond Hettinger | 2008-01-28 | 2 | -4/+6 |
| | |||||
* | Let marshal built-up sets and frozensets one element at a time (without ↵ | Raymond Hettinger | 2008-01-28 | 1 | -12/+8 |
| | | | | creating an intermediate tuple). | ||||
* | Make PySet_Add() work with frozensets. | Raymond Hettinger | 2008-01-28 | 2 | -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 Heller | 2008-01-28 | 2 | -11/+0 |
| | |||||
* | static PyObject* variables should use PyString_InternFromString() instead of ↵ | Christian Heimes | 2008-01-28 | 6 | -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 Heimes | 2008-01-27 | 8 | -0/+55 |
| | | | | leak test runs. | ||||
* | Moved Rational._binary_float_to_ratio() to float.as_integer_ratio() because | Jeffrey Yasskin | 2008-01-27 | 3 | -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 Brandl | 2008-01-27 | 1 | -0/+2 |
| | |||||
* | socket.error doesn't have a headers attribute like ProtocolError. | Neal Norwitz | 2008-01-27 | 1 | -10/+10 |
| | | | | Handle that situation where we catch socket.errors. | ||||
* | Change isbasestring function as discussed on the cvs list a while ago | Christian Heimes | 2008-01-27 | 1 | -5/+7 |
| | |||||
* | Try to handle socket.errors properly in is_unavailable | Neal Norwitz | 2008-01-27 | 1 | -3/+7 |
| | |||||
* | Remove effectless expression statement. | Georg Brandl | 2008-01-27 | 1 | -1/+0 |
| | |||||
* | Update the comment and remove the close. If we close we can't flush anymore. | Neal Norwitz | 2008-01-27 | 1 | -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 Norwitz | 2008-01-27 | 1 | -0/+26 |
| | |||||
* | Reduce buffer size since we do not need 1k | Neal Norwitz | 2008-01-27 | 1 | -1/+1 |
| | |||||
* | Catch socket errors that are often the cause of transient failures. | Neal Norwitz | 2008-01-27 | 1 | -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 flakiness | Neal Norwitz | 2008-01-27 | 1 | -3/+30 |
| | |||||
* | Add a tiny sleep and additional flush to force the file to really be synced. | Neal Norwitz | 2008-01-27 | 1 | -2/+5 |
| | |||||
* | Update to newer version of ffi. Fixes crashes and test failures of longdouble | Neal Norwitz | 2008-01-27 | 2 | -16/+48 |
| | |||||
* | Initialize variable to prevent warning on some platform/config. | Neal Norwitz | 2008-01-27 | 1 | -2/+2 |
| | |||||
* | Add assertion that we do not blow out newl | Neal Norwitz | 2008-01-27 | 1 | -0/+1 |
| | |||||
* | Whitespace cleanup | Neal Norwitz | 2008-01-27 | 1 | -5/+5 |
| | |||||
* | Removed an unnecessary and confusing paragraph from the namedtuple docs. | Raymond Hettinger | 2008-01-27 | 1 | -10/+1 |
| | |||||
* | Docstring nit | Raymond Hettinger | 2008-01-27 | 1 | -1/+1 |
| | |||||
* | Add stdarg include for va_list to get this to compile on cygwin | Neal Norwitz | 2008-01-27 | 1 | -0/+2 |
| | |||||
* | Use int for the sign rather than a char. char can be signed or unsigned. | Neal Norwitz | 2008-01-27 | 1 | -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_WINDOWS | Neal Norwitz | 2008-01-27 | 1 | -15/+13 |
| | | | | nor UNIX is defined. This may have caused problems on cygwin. |