Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added wininst-9.0.exe executable for VS 2008 | Christian Heimes | 2007-12-31 | 4 | -1/+1 |
| | | | | Integrated bdist_wininst into PCBuild9 directory | ||||
* | Configure Dialog: improved layout for keybinding. Patch 1457 Tal Einat. | Kurt B. Kaiser | 2007-12-28 | 2 | -20/+24 |
| | |||||
* | Remove a straggling debugging print line. | Brett Cannon | 2007-12-25 | 1 | -1/+0 |
| | |||||
* | Actually execute the tests for the getter/setter/deleter tests on properties. | Brett Cannon | 2007-12-25 | 1 | -7/+12 |
| | | | | | | | | Also fix the test by having the test classes inherit from object. Are the getter/setter/deleter attributes supposed to be able to chain? As of right now they can't as the property tries to call what the property returns, which is another property when they are chained. | ||||
* | 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. | ||||
* | Patch #1549 by Thomas Herve. | Guido van Rossum | 2007-12-19 | 1 | -1/+61 |
| | | | | | | 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. | ||||
* | Patch #1583 by Adam Olsen. | Guido van Rossum | 2007-12-19 | 1 | -1/+48 |
| | | | | | | | 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 |
| | |||||
* | 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 | 2 | -1/+6 |
| | |||||
* | Applied patch #1635: Float patch for inf and nan on Windows (and other ↵ | Christian Heimes | 2007-12-18 | 1 | -1/+72 |
| | | | | | | 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 | 1 | -5/+5 |
| | |||||
* | 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 | 1 | -1/+1 |
| | | | | | | | | | | | 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 #1642: Fix segfault in ctypes when trying to delete attributes. | Thomas Heller | 2007-12-18 | 1 | -0/+21 |
| | |||||
* | Speed-up dictionary constructor by about 10%. | Raymond Hettinger | 2007-12-18 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Make it a bit easier to test Tcl/Tk and idle from a build dir. | Christian Heimes | 2007-12-18 | 1 | -0/+4 |
| | |||||
* | Add more namedtuple() test cases. Neaten the code and comments. | Raymond Hettinger | 2007-12-18 | 2 | -11/+39 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | Fixed #1624: Remove output comparison for test_pep277 | Christian Heimes | 2007-12-15 | 2 | -8/+4 |
| | | | | I had to modify Brett's patch slightly. | ||||
* | 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. | ||||
* | Faster and simpler _replace() method | Raymond Hettinger | 2007-12-14 | 1 | -1/+1 |
| | |||||
* | Add line spacing for readability | Raymond Hettinger | 2007-12-14 | 1 | -8/+8 |
| | |||||
* | Cleaner method naming convention | Raymond Hettinger | 2007-12-14 | 2 | -15/+15 |
| | |||||
* | Fixed bug #1620: New @spam.getter property syntax modifies the property in ↵ | Christian Heimes | 2007-12-14 | 1 | -0/+98 |
| | | | | | | place. I added also the feature that a @prop.getter decorator does not overwrite the doc string of the property if it was given as an argument to property(). | ||||
* | Small speedup | Raymond Hettinger | 2007-12-13 | 1 | -1/+2 |
| | |||||
* | Simplify implementation of __replace__() | Raymond Hettinger | 2007-12-13 | 1 | -1/+1 |
| | |||||
* | Fixed bug #1613: Makefile's VPATH feature is broken | Christian Heimes | 2007-12-13 | 1 | -1/+1 |
| | |||||
* | Fix issue #1313119: urlparse "caches" parses regardless of encoding | Alexandre Vassalotti | 2007-12-13 | 2 | -1/+11 |
| | |||||
* | Fix bug 1604. deque.__init__() did not clear existing contents like ↵ | Raymond Hettinger | 2007-12-13 | 1 | -4/+4 |
| | | | | list.__init__. Not a backport candidate. | ||||
* | IDLE_tabbedpages.071101.patch Tal Einat | Kurt B. Kaiser | 2007-12-11 | 2 | -148/+47 |
| | | | | Cosmetic changes, one bug. Remove tabpage.py, replaced by tabbedpages.py | ||||
* | The new float repr causes too much trouble and pain. I'm disabling the ↵ | Christian Heimes | 2007-12-11 | 1 | -1/+2 |
| | | | | | | | feature until we have sorted out the issues on all machines. 64bit machines seem to have issues and Guido has reported even worse. Guido: It's pretty bad actually -- repr(1e5) comes out as '1.0'... Ditto for repr(1eN) for most N... Both in 2.6 and in 3.0... | ||||
* | format_paragraph_event wasn't returning 'break' | Kurt B. Kaiser | 2007-12-11 | 1 | -0/+1 |
| | |||||
* | Backport of r59456:59458 from py3k to trunk | Christian Heimes | 2007-12-10 | 2 | -1/+1037 |
| | | | | | | Issue #1580: New free format floating point representation based on "Floating-Point Printer Sample Code", by Robert G. Burger. For example repr(11./5) now returns '2.2' instead of '2.2000000000000002'. Thanks to noam for the patch! I had to modify doubledigits.c slightly to support X64 and IA64 machines on Windows. I also added the new file to the three project files. | ||||
* | Remove a 2.2-ism. | Guido van Rossum | 2007-12-10 | 1 | -2/+1 |
| | |||||
* | Add DocXMLRPCServer test from GHOP task #136, written by Jeff Wheeler. | Georg Brandl | 2007-12-09 | 1 | -0/+152 |
| | |||||
* | Two fixes in DocXMLRPCServer: | Georg Brandl | 2007-12-09 | 1 | -28/+4 |
| | | | | | | * remove parameter default that didn't make sense * properly escape values in output Thanks to Jeff Wheeler from GHOP! | ||||
* | correct email address | Skip Montanaro | 2007-12-08 | 1 | -10/+1 |
| | |||||
* | Fix tpyo. | Georg Brandl | 2007-12-08 | 1 | -1/+1 |
| | |||||
* | Fix issue #1530. | Alexandre Vassalotti | 2007-12-08 | 1 | -3/+6 |
| | | | | Return an error exit status if not all tests passes. | ||||
* | This is probably what was meant here. | Armin Rigo | 2007-12-07 | 1 | -1/+1 |
| | |||||
* | Increase unit test coverage of SimpleXMLRPCServer. | Georg Brandl | 2007-12-07 | 1 | -4/+132 |
| | | | | Written for GHOP by Turkay Eren. | ||||
* | Disabled one test that is failing on Unix | Christian Heimes | 2007-12-06 | 1 | -1/+2 |
| | |||||
* | Fixed get_config_h_filename for Windows. Without the patch it can't find the ↵ | Christian Heimes | 2007-12-06 | 2 | -8/+50 |
| | | | | | | pyconfig.h file inside a build tree. Added several small unit tests for sysconfig. | ||||
* | Fix Issue 1045. | Raymond Hettinger | 2007-12-06 | 1 | -2/+0 |
| | | | | | Factor-out common calling code by simplifying the length_hint API. Speed-up the function by caching the PyObject_String for the attribute lookup. | ||||
* | Fixed bug #1557 by using popen.communicate() before popen.wait() | Christian Heimes | 2007-12-05 | 1 | -2/+5 |
| |