Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #2194: fix some typos. | Georg Brandl | 2008-02-26 | 3 | -3/+3 |
| | |||||
* | Patch #1691070 from Roger Upole: Speed up PyArg_ParseTupleAndKeywords() and ↵ | Christian Heimes | 2008-02-26 | 3 | -155/+177 |
| | | | | | | improve error msg My tests don't show the promised speed up of 10%. The code is as fast as the old code for simple cases and slightly faster for complex cases with several of args and kwargs. But the patch simplifies the code, too. | ||||
* | Add a timing flag to Trace so you can see where slowness occurs | Neal Norwitz | 2008-02-26 | 3 | -6/+26 |
| | | | | like waiting for socket timeouts in test_smtplib :-). | ||||
* | The contains function raised a gcc warning. The new code is copied straight ↵ | Christian Heimes | 2008-02-26 | 1 | -5/+12 |
| | | | | from py3k. | ||||
* | Speed up this test by about 99%. Remove sleeps and replace with events. | Neal Norwitz | 2008-02-26 | 1 | -65/+42 |
| | | | | | | | | (This may fail on some slow platforms, but we can fix those cases which should be relatively isolated and easier to find now.) Move two test cases that didn't require a server to be started to a separate TestCase. These tests were taking 3 seconds which is what the timeout was set to. | ||||
* | Banish tab. | Georg Brandl | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization | Neal Norwitz | 2008-02-26 | 1 | -6/+6 |
| | |||||
* | Whitespace normalization | Neal Norwitz | 2008-02-26 | 1 | -9/+9 |
| | |||||
* | Don't use a hard coded port. This test could hang/fail if the port is in use. | Neal Norwitz | 2008-02-26 | 1 | -4/+25 |
| | | | | Speed this test up by avoiding a sleep and using the event. | ||||
* | Docs for itertools.combinations(). Implementation in forthcoming checkin. | Raymond Hettinger | 2008-02-26 | 1 | -2/+44 |
| | |||||
* | Coerced PyBool_Type to be able to compare it. | Facundo Batista | 2008-02-25 | 1 | -2/+2 |
| | |||||
* | Revert part of r60927 which made invalid assumptions about the API offered ↵ | Raymond Hettinger | 2008-02-25 | 1 | -3/+3 |
| | | | | by db modules. | ||||
* | Make sure the itertools filter functions give the same performance for ↵ | Raymond Hettinger | 2008-02-25 | 2 | -2/+4 |
| | | | | func=bool as func=None. | ||||
* | Issue 2168. gdbm and dbm needs to be iterable; this fixes a | Facundo Batista | 2008-02-25 | 2 | -3/+68 |
| | | | | failure in the shelve module. Thanks Thomas Herve. | ||||
* | Revert r61029. | Georg Brandl | 2008-02-25 | 2 | -12/+1 |
| | |||||
* | Rename sphinx.addons to sphinx.ext. | Georg Brandl | 2008-02-25 | 1 | -1/+1 |
| | |||||
* | Issue 2117. Update compiler module to handle class decorators. | Facundo Batista | 2008-02-25 | 4 | -4/+21 |
| | | | | Thanks Thomas Herve | ||||
* | Thomas Herve explained to me that PyCrypto depends on the constants. I'm ↵ | Christian Heimes | 2008-02-25 | 1 | -1/+6 |
| | | | | adding the aliases because C code for Python 2.x should compile under 2.6 as well. The aliases aren't available in Python 3.x though. | ||||
* | Use file descriptor for real stdout | Andrew M. Kuchling | 2008-02-25 | 1 | -1/+3 |
| | |||||
* | Move .setupterm() output so that we don't try to call endwin() if it fails | Andrew M. Kuchling | 2008-02-25 | 1 | -4/+3 |
| | |||||
* | Fix a minor typo in a docstring. | Brett Cannon | 2008-02-25 | 1 | -1/+1 |
| | |||||
* | Add minor markup for a string. | Brett Cannon | 2008-02-25 | 1 | -3/+3 |
| | |||||
* | Fix indentation | Neal Norwitz | 2008-02-25 | 2 | -2/+2 |
| | |||||
* | Added dependency rules for Objects/stringlib/*.h | Christian Heimes | 2008-02-24 | 1 | -14/+14 |
| | | | | stringobject, unicodeobject and the two formatters are rebuild whenever a header files changes | ||||
* | Corrected assert to check for correct type in py3k. | Eric Smith | 2008-02-24 | 1 | -1/+1 |
| | |||||
* | Create a db_home directory with a unique name so multiple users can | Neal Norwitz | 2008-02-24 | 17 | -78/+72 |
| | | | | | | | | | | | | run the test simultaneously. The simplest thing I found that worked on both Windows and Unix was to use the PID. It's unique so should be sufficient. This should prevent many of the spurious failures of the automated tests since they run as different users. Also cleanup the directory consistenly in the tearDown methods. It would be nice if someone ensured that the directories are always created with a consistent name. | ||||
* | Remove duplicate 'import re' in decimal.py | Mark Dickinson | 2008-02-24 | 1 | -2/+1 |
| | |||||
* | Use PY_FORMAT_SIZE_T instead of z for string formatting. Thanks Neal. | Christian Heimes | 2008-02-24 | 2 | -4/+8 |
| | |||||
* | Fix typo of hexidecimal | Neal Norwitz | 2008-02-24 | 2 | -3/+3 |
| | |||||
* | Get ctypes working on the Alpha (Tru64). The problem was that there | Neal Norwitz | 2008-02-24 | 1 | -1/+1 |
| | | | | | | were two module_methods and the one used depended on the order the modules were loaded. By making the test module_methods static, it is not exported and the correct version is picked up. | ||||
* | Issue 1742669. Now %d accepts very big float numbers. | Facundo Batista | 2008-02-24 | 4 | -32/+118 |
| | | | | Thanks Gabriel Genellina. | ||||
* | Add a little info to the 3k deprecation warnings about what to use instead. | Neal Norwitz | 2008-02-24 | 1 | -4/+4 |
| | | | | Suggested by Raymond Hettinger. | ||||
* | Remove stray word | Andrew M. Kuchling | 2008-02-24 | 1 | -1/+1 |
| | |||||
* | map(None, ...) is not supported in 3.0. | Neal Norwitz | 2008-02-24 | 1 | -3/+9 |
| | |||||
* | #1627: httplib now ignores negative Content-Length headers. | Georg Brandl | 2008-02-24 | 3 | -0/+12 |
| | |||||
* | #900744: If an invalid chunked-encoding header is sent by a server, | Georg Brandl | 2008-02-24 | 3 | -1/+40 |
| | | | | | httplib will now raise IncompleteRead and close the connection instead of raising ValueError. | ||||
* | MS Windows doesn't have mode_t but stat.st_mode is defined as unsigned short. | Christian Heimes | 2008-02-23 | 1 | -0/+5 |
| | |||||
* | Specify what kind of warning -3 emits. | Georg Brandl | 2008-02-23 | 1 | -0/+2 |
| | |||||
* | Document import ./. threading issues. #1720705. | Georg Brandl | 2008-02-23 | 2 | -1/+12 |
| | |||||
* | #1506171: added operator.methodcaller(). | Georg Brandl | 2008-02-23 | 4 | -0/+169 |
| | |||||
* | #1826: allow dotted attribute paths in operator.attrgetter. | Georg Brandl | 2008-02-23 | 4 | -5/+78 |
| | |||||
* | #1825: correctly document msilib.add_data. | Georg Brandl | 2008-02-23 | 1 | -5/+11 |
| | |||||
* | Added simple test case. Thanks Benjamin Peterson. | Facundo Batista | 2008-02-23 | 1 | -0/+33 |
| | |||||
* | In test_heapq and test_bisect, test both the Python and the C implementation. | Georg Brandl | 2008-02-23 | 2 | -159/+234 |
| | | | | Originally written for GHOP by Josip Dzolonga, heavily patched by me. | ||||
* | Use os.closerange(). | Georg Brandl | 2008-02-23 | 1 | -5/+1 |
| | |||||
* | Use os.closerange() in popen2. | Georg Brandl | 2008-02-23 | 1 | -5/+1 |
| | |||||
* | Add examples to modulefinder docs. Written for GHOP by Josip Dzolonga. | Georg Brandl | 2008-02-23 | 1 | -0/+62 |
| | |||||
* | #2101: fix removeAttribute docs. | Georg Brandl | 2008-02-23 | 1 | -2/+2 |
| | |||||
* | Followup to r61011: Also avoid the reference cycle when the Thread's target | Jeffrey Yasskin | 2008-02-23 | 2 | -8/+18 |
| | | | | raises an exception. | ||||
* | Prevent classes like: | Jeffrey Yasskin | 2008-02-23 | 2 | -0/+23 |
| | | | | | | | | | | | | | | class RunSelfFunction(object): def __init__(self): self.thread = threading.Thread(target=self._run) self.thread.start() def _run(self): pass from creating a permanent cycle between the object and the thread by having the Thread delete its references to the object when it completes. As an example of the effect of this bug, paramiko.Transport inherits from Thread to avoid it. |