Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make trailing whitespace explicit (including when it is an all-whitespace | Brett Cannon | 2007-12-24 | 1 | -10/+3 | |
| | | | | line). | |||||
* | Fix the docstrings of time.localtime() and gmtime() for the tm_mday field. | Brett Cannon | 2007-12-24 | 1 | -2/+3 | |
| | | | | Will backport. | |||||
* | Add item | Andrew M. Kuchling | 2007-12-22 | 1 | -3/+25 | |
| | ||||||
* | Improve performance of built-in any()/all() by avoiding PyIter_Next() -- | Guido van Rossum | 2007-12-20 | 1 | -8/+28 | |
| | | | | | using a trick found in ifilter(). Feel free to backport to 2.5. | |||||
* | Fix refleak introduced in r59576. | Georg Brandl | 2007-12-20 | 1 | -0/+1 | |
| | ||||||
* | Patch #1672 by Joseph Armbruster. Use tempdir() to get a temporary directory. | Guido van Rossum | 2007-12-20 | 1 | -1/+1 | |
| | ||||||
* | Add tests for the warnings module; specifically formatwarning and showwarning. | Brett Cannon | 2007-12-20 | 1 | -1/+32 | |
| | | | | Still need tests for warn_explicit and simplefilter. | |||||
* | Add comments | Raymond Hettinger | 2007-12-20 | 1 | -3/+3 | |
| | ||||||
* | Patch #1549 by Thomas Herve. | Guido van Rossum | 2007-12-19 | 2 | -16/+79 | |
| | | | | | | This changes the rules for when __hash__ is inherited slightly, by allowing it to be inherited when one or more of __lt__, __le__, __gt__, __ge__ are overridden, as long as __eq__ and __ne__ aren't. | |||||
* | Bigger range for non-extended opargs. | Raymond Hettinger | 2007-12-19 | 1 | -1/+1 | |
| | ||||||
* | Patch #1583 by Adam Olsen. | Guido van Rossum | 2007-12-19 | 5 | -2/+127 | |
| | | | | | | | This adds signal.set_wakeup_fd(fd) which sets a file descriptor to which a zero byte will be written whenever a C exception handler runs. I added a simple C API as well, PySignal_SetWakeupFd(fd). | |||||
* | Fix issue 1661: Flags argument silently ignored in re functions with ↵ | Raymond Hettinger | 2007-12-19 | 2 | -0/+10 | |
| | | | | compiled regexes. | |||||
* | Some minor cleanups. Thanks Mark Dickinson. | Facundo Batista | 2007-12-19 | 1 | -34/+19 | |
| | ||||||
* | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵ | Christian Heimes | 2007-12-19 | 108 | -908/+916 | |
| | | | | Py_REFCNT. Macros for b/w compatibility are available. | |||||
* | Add a bunch of items | Andrew M. Kuchling | 2007-12-19 | 1 | -4/+157 | |
| | ||||||
* | Zap a duplicate line | Raymond Hettinger | 2007-12-19 | 1 | -1/+0 | |
| | ||||||
* | Beef-up tests for dict literals | Raymond Hettinger | 2007-12-19 | 1 | -1/+10 | |
| | ||||||
* | Users demand iterable input for named tuples. The author capitulates. | Raymond Hettinger | 2007-12-18 | 3 | -17/+27 | |
| | ||||||
* | Applied patch #1635: Float patch for inf and nan on Windows (and other ↵ | Christian Heimes | 2007-12-18 | 18 | -9/+394 | |
| | | | | | | platforms). The patch unifies float("inf") and repr(float("inf")) on all platforms. | |||||
* | Simplify and speedup _asdict() for named tuples. | Raymond Hettinger | 2007-12-18 | 2 | -7/+7 | |
| | ||||||
* | Fixed #1649: IDLE error: dictionary changed size during iteration | Christian Heimes | 2007-12-18 | 1 | -1/+1 | |
| | ||||||
* | Give meaning to the oparg for BUILD_MAP: estimated size of the dictionary. | Raymond Hettinger | 2007-12-18 | 6 | -6/+26 | |
| | | | | | | | | | | | Allows dictionaries to be pre-sized (upto 255 elements) saving time lost to re-sizes with their attendant mallocs and re-insertions. Has zero effect on small dictionaries (5 elements or fewer), a slight benefit for dicts upto 22 elements (because they had to resize once anyway), and more benefit for dicts upto 255 elements (saving multiple resizes during the build-up and reducing the number of collisions on the first insertions). Beyond 255 elements, there is no addional benefit. | |||||
* | Issue #1645 by Alberto Bertogli. Fix a comment. | Guido van Rossum | 2007-12-18 | 1 | -6/+6 | |
| | ||||||
* | Issue #1642: Fix segfault in ctypes when trying to delete attributes. | Thomas Heller | 2007-12-18 | 4 | -0/+44 | |
| | ||||||
* | Speed-up dictionary constructor by about 10%. | Raymond Hettinger | 2007-12-18 | 5 | -5/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | New opcode, STORE_MAP saves the compiler from awkward stack manipulations and specializes for dicts using PyDict_SetItem instead of PyObject_SetItem. Old disassembly: 0 BUILD_MAP 0 3 DUP_TOP 4 LOAD_CONST 1 (1) 7 ROT_TWO 8 LOAD_CONST 2 ('x') 11 STORE_SUBSCR 12 DUP_TOP 13 LOAD_CONST 3 (2) 16 ROT_TWO 17 LOAD_CONST 4 ('y') 20 STORE_SUBSCR New disassembly: 0 BUILD_MAP 0 3 LOAD_CONST 1 (1) 6 LOAD_CONST 2 ('x') 9 STORE_MAP 10 LOAD_CONST 3 (2) 13 LOAD_CONST 4 ('y') 16 STORE_MAP | |||||
* | Removed several unused files from the PCbuild9 directory. They are relics ↵ | Christian Heimes | 2007-12-18 | 5 | -4056/+0 | |
| | | | | from the past. | |||||
* | Make it a bit easier to test Tcl/Tk and idle from a build dir. | Christian Heimes | 2007-12-18 | 2 | -0/+19 | |
| | ||||||
* | Fixed for #1601: IDLE not working correctly on Windows (Py30a2/IDLE30a1) | Christian Heimes | 2007-12-18 | 3 | -29/+45 | |
| | | | | Amaury's ideas works great. Should we build the Python core with WINVER=0x0500 and _WIN32_WINNT=0x0500, too? | |||||
* | Add more namedtuple() test cases. Neaten the code and comments. | Raymond Hettinger | 2007-12-18 | 3 | -14/+44 | |
| | ||||||
* | Removed the private _rounding_decision: it was not needed, and the code | Facundo Batista | 2007-12-17 | 1 | -94/+38 | |
| | | | | is now simpler. Thanks Mark Dickinson. | |||||
* | Don't use quotes for non-string code. | Georg Brandl | 2007-12-16 | 1 | -1/+1 | |
| | ||||||
* | Use PEP 8. | Georg Brandl | 2007-12-16 | 1 | -6/+6 | |
| | ||||||
* | Simplify. | Georg Brandl | 2007-12-16 | 1 | -3/+1 | |
| | ||||||
* | Fixed #1638: %zd configure test fails on Linux | Christian Heimes | 2007-12-16 | 3 | -6/+16 | |
| | ||||||
* | Adapt conf.py to new option names. | Georg Brandl | 2007-12-16 | 2 | -14/+35 | |
| | ||||||
* | Remove curious space-like characters. | Georg Brandl | 2007-12-16 | 1 | -3/+3 | |
| | ||||||
* | Remove another unnecessary Unicode character. | Georg Brandl | 2007-12-16 | 1 | -1/+1 | |
| | ||||||
* | Remove gratuitous unicode character. | Georg Brandl | 2007-12-16 | 1 | -1/+1 | |
| | ||||||
* | Remove orphaned footnote reference. | Georg Brandl | 2007-12-16 | 1 | -1/+1 | |
| | ||||||
* | Revert dummy commit now that the build slave is building. | Georg Brandl | 2007-12-16 | 1 | -1/+0 | |
| | ||||||
* | Dummy commit to investigate #1617. | Georg Brandl | 2007-12-16 | 1 | -0/+1 | |
| | ||||||
* | Argh, wrong version. | Georg Brandl | 2007-12-15 | 1 | -4/+0 | |
| | ||||||
* | Add note about future import needed for with statement. | Georg Brandl | 2007-12-15 | 1 | -0/+4 | |
| | ||||||
* | Fixed #1624: Remove output comparison for test_pep277 | Christian Heimes | 2007-12-15 | 2 | -8/+4 | |
| | | | | I had to modify Brett's patch slightly. | |||||
* | Optimize PyList_AsTuple(). Improve cache performance by doing the | Raymond Hettinger | 2007-12-15 | 1 | -5/+5 | |
| | | | | | | pointer copy and object increment in one pass. For small lists, save the overhead of the call to memcpy() -- this comes up in calls like f(*listcomp). | |||||
* | Fixed bug #1628 | Christian Heimes | 2007-12-14 | 2 | -3/+5 | |
| | | | | The detection now works on Unix with Makefile, Makefile with VPATH and on Windows. | |||||
* | Bump the version number, and make a few small edits | Andrew M. Kuchling | 2007-12-14 | 1 | -13/+15 | |
| | ||||||
* | Remove warning about URL | Andrew M. Kuchling | 2007-12-14 | 1 | -3/+1 | |
| | ||||||
* | Add usage note | Raymond Hettinger | 2007-12-14 | 1 | -2/+10 | |
| | ||||||
* | Faster and simpler _replace() method | Raymond Hettinger | 2007-12-14 | 2 | -2/+2 | |
| |