summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 1. Add comments to provide top-level documentation.Kurt B. Kaiser2007-10-261-30/+68
| | | | | 2. Refactor to use more descriptive names. 3. Enhance tests in main().
* Correct an ancient bug in an unused path by removing that path: register() isKurt B. Kaiser2007-10-251-5/+1
| | | | now idempotent.
* Bug #1287: make os.environ.pop() work as expected.Georg Brandl2007-10-241-0/+6
|
* Added unittest for calling a function with paramflags (backport from py3k ↵Thomas Heller2007-10-241-0/+18
| | | | branch).
* Issue 1290. CharacterData.__repr__ was constructing a stringFacundo Batista2007-10-241-1/+1
| | | | in response that keeped having a non-ascii character.
* Bug #1321: Fixed logic error in TimedRotatingFileHandler.__init__()Vinay Sajip2007-10-241-5/+5
|
* Shorter name for namedtuple()Raymond Hettinger2007-10-232-22/+22
|
* Issue 1307 by Derek Shockey, fox the same bug for RCPT.Guido van Rossum2007-10-231-1/+1
| | | | Neal: please backport!
* Add phuang patch from Issue 708374 which adds offset parameter to mmap module.Travis E. Oliphant2007-10-231-0/+44
|
* Issue #1307, patch by Derek Shockey.Guido van Rossum2007-10-221-1/+1
| | | | | When "MAIL" is received without args, an exception happens instead of sending a 501 syntax error response.
* Remove duplicate crasher.Georg Brandl2007-10-211-8/+0
|
* Add a crasher for the long-standing issue with closing a fileArmin Rigo2007-10-211-0/+14
| | | | while another thread uses it.
* The constructor from tuple was way too permissive: it allowed badFacundo Batista2007-10-192-10/+63
| | | | | | | | coefficient numbers, floats in the sign, and other details that generated directly the wrong number in the best case, or triggered misfunctionality in the alorithms. Test cases added for these issues. Thanks Mark Dickinson.
* squelch the warning that this test is supposed to trigger.Gregory P. Smith2007-10-191-2/+7
|
* A cleaner fix than the one committed last night. Generate random rowids thatGregory P. Smith2007-10-181-5/+6
| | | | do not contain null bytes.
* Fix a weird bug in dbtables: if it chose a random rowid string that containedGregory P. Smith2007-10-181-4/+4
| | | | | NULL bytes it would cause the database all sorts of problems in the future leading to very strange random failures and corrupt dbtables.bsdTableDb dbs.
* cleanup test_dbtables to use mkdtemp. cleanup dbtables to pass txn as aGregory P. Smith2007-10-182-19/+18
| | | | | keyword argument whenever possible to avoid bugs and confusion. (dbtables.py line 447 self.db.get using txn as a non-keyword was an actual bug due to this)
* Issue #1580738. When HTTPConnection reads the whole stream with read(),Facundo Batista2007-10-182-3/+15
| | | | | | | it closes itself. When the stream is read in several calls to read(n), it should behave in the same way if HTTPConnection knows where the end of the stream is (through self.length). Added a test case for this behaviour.
* Fix the overflow checking of list_repeat.Armin Rigo2007-10-171-0/+9
| | | | | | Introduce overflow checking into list_inplace_repeat. Backport candidate, possibly.
* More docs, error messages, and testsRaymond Hettinger2007-10-162-6/+14
|
* Improve error messagesRaymond Hettinger2007-10-161-6/+7
|
* test_bigbits was not testing what it seemed to.Armin Rigo2007-10-151-4/+8
|
* Use unittest for assertionsNeal Norwitz2007-10-141-33/+34
|
* Don't raise a string exception, they don't work anymore.Neal Norwitz2007-10-141-1/+1
|
* Let the O/S supply a port if none of the default ports can be used.Neal Norwitz2007-10-141-4/+12
| | | | | | | | | This should make the tests more robust at the expense of allowing tests to be sloppier by not requiring them to cleanup after themselves. (It will legitamitely help when running two test suites simultaneously or if another process is already using one of the predefined ports.) Also simplifies (slightLy) the exception handling elsewhere.
* Fix an uncollectable reference leak in bsddb.db.DBShelf.appendGregory P. Smith2007-10-131-2/+19
|
* Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.appendGregory P. Smith2007-10-122-23/+78
| | | | | was useless due to inverted logic. Also adds a test case for RECNO dbs to test_dbshelve.
* Fix test of count.__repr__() to ignore the 'L' if the count is a longRaymond Hettinger2007-10-121-1/+4
|
* On OS X, use os.uname() instead of gestalt.sysv(...) to get theThomas Heller2007-10-111-10/+3
| | | | | operating system version. This allows to use ctypes when Python was configured with --disable-toolbox-glue.
* show paste if > 80 columns. Patch 1659326 Tal Einat.Kurt B. Kaiser2007-10-102-0/+3
|
* Allow cursor color change w/o restart. Patch 1725576 Tal Einat.Kurt B. Kaiser2007-10-102-0/+5
|
* Accept Jim Jewett's api suggestion to use None instead of -1 to indicate ↵Raymond Hettinger2007-10-101-1/+18
| | | | unbounded deques.
* Allow interrupt only when executing user code in subprocessKurt B. Kaiser2007-10-092-3/+13
| | | | Patch 1225 Tal Einat modified from IDLE-Spoon.
* Use the highest cPickle protocol in bsddb.dbshelve. This comes fromGregory P. Smith2007-10-091-14/+28
| | | | sourceforge pybsddb patch 1551443 by w_barnes.
* Fix a double free when positioning a database cursor to a non-existantGregory P. Smith2007-10-091-0/+20
| | | | | | string key (and probably a few other situations with string keys). This was reported with a patch as pybsddb sourceforge bug 1708868 by jjjhhhlll at gmail.
* Make the error messages more specificRaymond Hettinger2007-10-091-6/+9
|
* Eliminate camelcase function nameRaymond Hettinger2007-10-082-17/+23
|
* Better variable namesRaymond Hettinger2007-10-081-4/+4
|
* Add comments to NamedTuple code.Raymond Hettinger2007-10-082-3/+23
| | | | | Let the field spec be either a string or a non-string sequence (suggested by Martin Blais with use cases). Improve the error message in the case of a SyntaxError (caused by a duplicate field name).
* Update docstring of sched, also remove an unused assignment.Georg Brandl2007-10-081-6/+6
|
* Ensure that this test will pass even if another test left an unwritable TESTFN.Neal Norwitz2007-10-061-5/+4
| | | | Also use the safe unlink in test_support instead of rolling our own here.
* Use the host the author likely meant in the first place. pop.gmail.com isGregory P. Smith2007-10-061-4/+1
| | | | reliable. gmail.org is someones personal domain.
* Add __asdict__() to NamedTuple and refine the docs.Raymond Hettinger2007-10-053-31/+76
| | | | | | Add maxlen support to deque() and fixup docs. Partially fix __reduce__(). The None as a third arg was no longer supported. Still needs work on __reduce__() to handle recursive inputs.
* configDialog cleanup. Patch 1730217 Tal Einat.Kurt B. Kaiser2007-10-042-40/+44
|
* textView cleanup. Patch 1718043 Tal Einat.Kurt B. Kaiser2007-10-044-50/+54
| | | | | | | M idlelib/EditorWindow.py M idlelib/aboutDialog.py M idlelib/textView.py M idlelib/NEWS.txt
* Clean up EditorWindow close.Kurt B. Kaiser2007-10-043-14/+19
|
* Remove unused theme that was causing a fault in p3k.Kurt B. Kaiser2007-10-041-1/+0
|
* Assume that the user knows when he wants to end the line; don't insertKurt B. Kaiser2007-10-042-15/+4
| | | | something he didn't select or complete.
* itertools.count() no longer limited to sys.maxint.Raymond Hettinger2007-10-041-1/+6
|
* Added a class to store the digits of log(10), so that they can be madeFacundo Batista2007-10-021-16/+49
| | | | available when necessary without recomputing. Thanks Mark Dickinson