Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF Bug #215126: Over restricted type checking on eval() function | Raymond Hettinger | 2004-07-02 | 2 | -11/+55 |
| | | | | | | The builtin eval() function now accepts any mapping for the locals argument. Time sensitive steps guarded by PyDict_CheckExact() to keep from slowing down the normal case. My timings so no measurable impact. | ||||
* | Committing Tim's patch for SF bug #983585: | Fred Drake | 2004-07-01 | 1 | -2/+1 |
| | | | | test_repr() fails with id() values that appear negative | ||||
* | Fix | Michael W. Hudson | 2004-07-01 | 1 | -39/+44 |
| | | | | | | | | [ 924301 ] A leak case with cmd.py & readline & exception by ensuring that the readline completion function is always reset even in the case of an exception being raised. As a bonus, this makes the documentation for pre & postloop accurate again. | ||||
* | fix small consistency nit | Fred Drake | 2004-07-01 | 1 | -1/+1 |
| | |||||
* | Move Decimal from the sandbox into production. | Raymond Hettinger | 2004-07-01 | 1 | -0/+1 |
| | |||||
* | Move Decimal from the sandbox into production. | Raymond Hettinger | 2004-07-01 | 33 | -1/+27038 |
| | |||||
* | Check in the updated version of patch #957240, which doesn't rely | Michael W. Hudson | 2004-06-30 | 1 | -3/+10 |
| | | | | on the marshalling characteristics of infinities. | ||||
* | [Bug #912845] urllib2 only checks for a 200 return code, but 206 is also ↵ | Andrew M. Kuchling | 2004-06-29 | 1 | -2/+2 |
| | | | | | | legal if a Range: header was supplied. (Actually, should the first 'if' statement be modified to allow any 2xx status code?) | ||||
* | Remove unused import. (If it's there for some deep, dark reason, it should ↵ | Andrew M. Kuchling | 2004-06-29 | 1 | -1/+0 |
| | | | | have been commented.) | ||||
* | Add test case for bug #912845: requesting an HTTP byte range doesn't work | Andrew M. Kuchling | 2004-06-29 | 1 | -6/+16 |
| | |||||
* | Docstring grammar fix | Andrew M. Kuchling | 2004-06-29 | 1 | -1/+1 |
| | |||||
* | rsync is now a recognized protocol that uses "netloc" (i.e. specifies a network | Brett Cannon | 2004-06-29 | 1 | -1/+1 |
| | | | | | | location) in its addressing. Closes bug #981299. | ||||
* | Patch from Mark Hammond to fix a test error. | Raymond Hettinger | 2004-06-28 | 1 | -9/+12 |
| | | | | Now runs without exception on WinME/98. | ||||
* | Adds support for DB.pget and DBCursor.pget methods. | Gregory P. Smith | 2004-06-28 | 2 | -0/+27 |
| | | | | | Based on a patch supplied by Ian Ward <ian@arevco.ca> on the pybsddb mailing list 2004-03-26. | ||||
* | Added socket.getservbyport(), and make its second argument and that of | Barry Warsaw | 2004-06-28 | 1 | -10/+22 |
| | | | | getservbyname() optional. Update the tests and the docs. | ||||
* | SF patch / bug #967763 | Gregory P. Smith | 2004-06-27 | 1 | -0/+9 |
| | | | | | | | | | | | | Fix memory leaks revealed by valgrind and ensuing code inspection. In the existing test suite valgrind revealed two memory leaks (DB_get and DBC_set_range). Code inspection revealed that there were many other potential similar leaks (many on odd code error paths such as passing something other than a DBTxn object for a txn= parameter or in the face of an out of memory error). The most common case that would cause a leak was when using recno or queue format databases with integer keys, sometimes only with an exception exit. | ||||
* | Fix SF bug # 897820 - we can no longer use the DB_TRUNCATE flag when | Gregory P. Smith | 2004-06-27 | 1 | -6/+11 |
| | | | | | | opening the DB to implement legacy interface flag='n' support as BerkeleyDB 4.2.52 no longer allows it in transaction protected environments. Do the os.unlink ourselves. | ||||
* | * Silence a test failure that resulted when test_site was run by | Raymond Hettinger | 2004-06-27 | 1 | -7/+10 |
| | | | | | | | | | | regrtest.py after it ran test_frozen. This test was really only designed to be run immediately after startup. Afterwards, other modules could be loaded when had not been fixed-up by site.py Took the chicken way out and only tested those modules known to be imported by site.py. * Normalized whitespace. | ||||
* | remove debugging print | Skip Montanaro | 2004-06-26 | 1 | -1/+0 |
| | |||||
* | Allow classes from other modules to be specified at startup. For example, | Skip Montanaro | 2004-06-26 | 1 | -2/+9 |
| | | | | | | using the postfixproxy module from Spambayes you might start smtpd up like smtpd.py -c spambayes.postfixproxy.SpambayesProxy :8025 :8026 | ||||
* | Massive performance improvement for C extension and builtin tracing code | Nicholas Bastin | 2004-06-25 | 1 | -3/+3 |
| | |||||
* | Make distutils "install --home" support all platforms. | Fred Drake | 2004-06-25 | 2 | -17/+72 |
| | |||||
* | add boilerplate so the test modules can be run as scripts | Fred Drake | 2004-06-25 | 3 | -1/+9 |
| | |||||
* | Install two code generation optimizations that depend on NOP. | Raymond Hettinger | 2004-06-21 | 1 | -0/+1 |
| | | | | Reduces the cost of "not" to almost zero. | ||||
* | add a couple of tests for the build_scripts command | Fred Drake | 2004-06-21 | 1 | -0/+74 |
| | |||||
* | Patch #975885: print file name in err msg in quiet mode | Martin v. Löwis | 2004-06-20 | 1 | -0/+2 |
| | |||||
* | Improve the documented advice on how to best use heapq.heapreplace(). | Raymond Hettinger | 2004-06-20 | 1 | -1/+3 |
| | |||||
* | Bug 975996: Add _PyTime_DoubleToTimet to C API | Tim Peters | 2004-06-20 | 2 | -0/+35 |
| | | | | | | | | | | | New include file timefuncs.h exports private API function _PyTime_DoubleToTimet() from timemodule.c. timemodule should export some other functions too (look for painful bits in datetimemodule.c). Added insane-argument checking to datetime's assorted fromtimestamp() and utcfromtimestamp() methods. Added insane-argument tests of these to test_datetime, and insane-argument tests for ctime(), localtime() and gmtime() to test_time. | ||||
* | shutil.move() will raise an exception when trying to move a directory into | Brett Cannon | 2004-06-19 | 2 | -2/+20 |
| | | | | | | itself. Closes bug #919012 . Thanks Johannes Gijsbers. | ||||
* | Added normalization for Windows system name. Closes SF #945665. | Marc-André Lemburg | 2004-06-19 | 1 | -1/+6 |
| | |||||
* | Change pydoc.stripid() be able to match against 64-bit addresses by having | Brett Cannon | 2004-06-19 | 1 | -1/+1 |
| | | | | regex match from 6 to 16 characters. | ||||
* | pydoc.stripid() is now case-insensitive for its regex to support platforms that | Brett Cannon | 2004-06-19 | 1 | -6/+6 |
| | | | | | | have pointer addresses in uppercase. Closes bug #934282. Thanks Robin Becker. | ||||
* | fix typo | Fred Drake | 2004-06-18 | 1 | -1/+1 |
| | |||||
* | If self.packages is None (this can happen, I saw it), return | Sjoerd Mullender | 2004-06-18 | 1 | -0/+2 |
| | | | | immediately (since None is not a sequence you can iterate over). | ||||
* | Rebuild the wininst.exe files. | Thomas Heller | 2004-06-18 | 2 | -0/+0 |
| | |||||
* | fix bug: list of data files was initialized too soon in build_py | Fred Drake | 2004-06-17 | 2 | -1/+51 |
| | |||||
* | move support code to a helper module to ease re-use | Fred Drake | 2004-06-17 | 2 | -34/+48 |
| | |||||
* | Reverse argument order for nsmallest() and nlargest(). | Raymond Hettinger | 2004-06-15 | 2 | -5/+5 |
| | | | | Reads better when the iterable is a generator expression. | ||||
* | add a test that actually installs some scripts | Fred Drake | 2004-06-15 | 1 | -0/+56 |
| | |||||
* | One unit test for distutils is not much, but is more than we had yesterday. | Fred Drake | 2004-06-15 | 3 | -0/+98 |
| | | | | We need to write more; hopefully the barrier is a little lower now. | ||||
* | SF bug #973092: inspect.getframeinfo bug if 'context' is to big | Raymond Hettinger | 2004-06-15 | 1 | -1/+1 |
| | | | | Make sure the start argument is not negative. | ||||
* | Patch #826074: cmath.log optional base argument, fixes #823209 | Raymond Hettinger | 2004-06-14 | 1 | -2/+19 |
| | | | | (Contributed by Andrew Gaul.) | ||||
* | Back out #957240. | Martin v. Löwis | 2004-06-14 | 1 | -3/+2 |
| | |||||
* | Apply heapq.nlargest() to find best matches. | Raymond Hettinger | 2004-06-13 | 1 | -2/+4 |
| | |||||
* | Add heapq to list of __all__ checks. | Raymond Hettinger | 2004-06-13 | 1 | -0/+1 |
| | |||||
* | Install C version of heapq.nsmallest(). | Raymond Hettinger | 2004-06-13 | 2 | -7/+20 |
| | |||||
* | note a really bad test (no time to fix now) | Michael W. Hudson | 2004-06-12 | 1 | -0/+1 |
| | |||||
* | Improve the memory performance and speed of heapq.nsmallest() by using | Raymond Hettinger | 2004-06-12 | 2 | -0/+24 |
| | | | | | an alternate algorithm when the number of selected items is small relative to the full iterable. | ||||
* | Add support for package data. | Fred Drake | 2004-06-11 | 2 | -0/+52 |
| | | | | | | | This is basically the support for package data from Phillip Eby's setuptools package. I've changed it only to fit it into the core implementation rather than to live in subclasses, and added documentation. | ||||
* | lightly modified version of my patch | Michael W. Hudson | 2004-06-11 | 1 | -24/+31 |
| | | | | | | [ 971323 ] make test_signal less annoying after some comments on IRC from a highly opinionated australian who wishes to remain anonymous. |