summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* #2194: fix some typos.Georg Brandl2008-02-263-3/+3
|
* Patch #1691070 from Roger Upole: Speed up PyArg_ParseTupleAndKeywords() and ↵Christian Heimes2008-02-263-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 occursNeal Norwitz2008-02-263-6/+26
| | | | like waiting for socket timeouts in test_smtplib :-).
* The contains function raised a gcc warning. The new code is copied straight ↵Christian Heimes2008-02-261-5/+12
| | | | from py3k.
* Speed up this test by about 99%. Remove sleeps and replace with events.Neal Norwitz2008-02-261-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 Brandl2008-02-261-1/+1
|
* Whitespace normalizationNeal Norwitz2008-02-261-6/+6
|
* Whitespace normalizationNeal Norwitz2008-02-261-9/+9
|
* Don't use a hard coded port. This test could hang/fail if the port is in use.Neal Norwitz2008-02-261-4/+25
| | | | Speed this test up by avoiding a sleep and using the event.
* Docs for itertools.combinations(). Implementation in forthcoming checkin.Raymond Hettinger2008-02-261-2/+44
|
* Coerced PyBool_Type to be able to compare it.Facundo Batista2008-02-251-2/+2
|
* Revert part of r60927 which made invalid assumptions about the API offered ↵Raymond Hettinger2008-02-251-3/+3
| | | | by db modules.
* Make sure the itertools filter functions give the same performance for ↵Raymond Hettinger2008-02-252-2/+4
| | | | func=bool as func=None.
* Issue 2168. gdbm and dbm needs to be iterable; this fixes aFacundo Batista2008-02-252-3/+68
| | | | failure in the shelve module. Thanks Thomas Herve.
* Revert r61029.Georg Brandl2008-02-252-12/+1
|
* Rename sphinx.addons to sphinx.ext.Georg Brandl2008-02-251-1/+1
|
* Issue 2117. Update compiler module to handle class decorators.Facundo Batista2008-02-254-4/+21
| | | | Thanks Thomas Herve
* Thomas Herve explained to me that PyCrypto depends on the constants. I'm ↵Christian Heimes2008-02-251-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 stdoutAndrew M. Kuchling2008-02-251-1/+3
|
* Move .setupterm() output so that we don't try to call endwin() if it failsAndrew M. Kuchling2008-02-251-4/+3
|
* Fix a minor typo in a docstring.Brett Cannon2008-02-251-1/+1
|
* Add minor markup for a string.Brett Cannon2008-02-251-3/+3
|
* Fix indentationNeal Norwitz2008-02-252-2/+2
|
* Added dependency rules for Objects/stringlib/*.hChristian Heimes2008-02-241-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 Smith2008-02-241-1/+1
|
* Create a db_home directory with a unique name so multiple users canNeal Norwitz2008-02-2417-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.pyMark Dickinson2008-02-241-2/+1
|
* Use PY_FORMAT_SIZE_T instead of z for string formatting. Thanks Neal.Christian Heimes2008-02-242-4/+8
|
* Fix typo of hexidecimalNeal Norwitz2008-02-242-3/+3
|
* Get ctypes working on the Alpha (Tru64). The problem was that thereNeal Norwitz2008-02-241-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 Batista2008-02-244-32/+118
| | | | Thanks Gabriel Genellina.
* Add a little info to the 3k deprecation warnings about what to use instead.Neal Norwitz2008-02-241-4/+4
| | | | Suggested by Raymond Hettinger.
* Remove stray wordAndrew M. Kuchling2008-02-241-1/+1
|
* map(None, ...) is not supported in 3.0.Neal Norwitz2008-02-241-3/+9
|
* #1627: httplib now ignores negative Content-Length headers.Georg Brandl2008-02-243-0/+12
|
* #900744: If an invalid chunked-encoding header is sent by a server,Georg Brandl2008-02-243-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 Heimes2008-02-231-0/+5
|
* Specify what kind of warning -3 emits.Georg Brandl2008-02-231-0/+2
|
* Document import ./. threading issues. #1720705.Georg Brandl2008-02-232-1/+12
|
* #1506171: added operator.methodcaller().Georg Brandl2008-02-234-0/+169
|
* #1826: allow dotted attribute paths in operator.attrgetter.Georg Brandl2008-02-234-5/+78
|
* #1825: correctly document msilib.add_data.Georg Brandl2008-02-231-5/+11
|
* Added simple test case. Thanks Benjamin Peterson.Facundo Batista2008-02-231-0/+33
|
* In test_heapq and test_bisect, test both the Python and the C implementation.Georg Brandl2008-02-232-159/+234
| | | | Originally written for GHOP by Josip Dzolonga, heavily patched by me.
* Use os.closerange().Georg Brandl2008-02-231-5/+1
|
* Use os.closerange() in popen2.Georg Brandl2008-02-231-5/+1
|
* Add examples to modulefinder docs. Written for GHOP by Josip Dzolonga.Georg Brandl2008-02-231-0/+62
|
* #2101: fix removeAttribute docs.Georg Brandl2008-02-231-2/+2
|
* Followup to r61011: Also avoid the reference cycle when the Thread's targetJeffrey Yasskin2008-02-232-8/+18
| | | | raises an exception.
* Prevent classes like:Jeffrey Yasskin2008-02-232-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.