summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Accept Jim Jewett's api suggestion to use None instead of -1 to indicate ↵Raymond Hettinger2007-10-103-12/+45
| | | | unbounded deques.
* Remove file-level typedefs that were inconsistently used throughout the file.Brett Cannon2007-10-101-105/+103
| | | | | | Just move over to the public API names. Closes issue1238.
* Allow interrupt only when executing user code in subprocessKurt B. Kaiser2007-10-092-3/+13
| | | | Patch 1225 Tal Einat modified from IDLE-Spoon.
* remove another sleepycat referenceGregory P. Smith2007-10-091-1/+1
|
* 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-092-1/+33
| | | | | | 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.
* Splits Modules/_bsddb.c up into bsddb.h and _bsddb.c and adds a C APIGregory P. Smith2007-10-093-188/+264
| | | | | | | | | | | object available as bsddb.db.api. This is based on the patch submitted by Duncan Grisby here: http://sourceforge.net/tracker/index.php?func=detail&aid=1551895&group_id=13900&atid=313900 See this thread for additional info: http://sourceforge.net/mailarchive/forum.php?thread_name=E1GAVDK-0002rk-Iw%40apasphere.com&forum_name=pybsddb-users It also cleans up the code a little by removing some ifdef/endifs for python prior to 2.1 and for unsupported Berkeley DB <= 3.2.
* Make the error messages more specificRaymond Hettinger2007-10-091-6/+9
|
* Eliminate camelcase function nameAndrew M. Kuchling2007-10-081-2/+2
|
* Eliminate camelcase function nameRaymond Hettinger2007-10-084-36/+50
|
* #1199: docs for tp_as_{number,sequence,mapping}, by Amaury Forgeot d'Arc.Georg Brandl2007-10-082-15/+194
| | | | No need to merge this to py3k!
* Better variable namesRaymond Hettinger2007-10-081-4/+4
|
* Missed a line in the docsRaymond Hettinger2007-10-081-1/+1
|
* Add comments to NamedTuple code.Raymond Hettinger2007-10-083-6/+28
| | | | | 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
|
* #1123: fix the docs for the str.split(None, sep) case.Georg Brandl2007-10-081-23/+32
| | | | Also expand a few other methods' docs, which had more info in the deprecated string module docs.
* 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.
* Allows BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module.Gregory P. Smith2007-10-061-4/+12
|
* Stab in the dark attempt to fix the test_bsddb3 failure on sparc and S-390Gregory P. Smith2007-10-061-1/+7
| | | | ubuntu buildbots.
* Restore BEGIN/END THREADS macros which were squashed in the previous checkinRaymond Hettinger2007-10-051-5/+21
|
* Add a note about fixing some more warnings found by Coverity.Neal Norwitz2007-10-051-0/+2
|
* Fix Coverity #159.Neal Norwitz2007-10-051-1/+1
| | | | | | | This code was broken if save() returned a negative number since i contained a boolean value and then we compared i < 0 which should never be true. Will backport (assuming it's necessary)
* Fix Coverity #158: Check the correct variable.Neal Norwitz2007-10-051-1/+1
|
* dict could be NULL, so we need to XDECREF.Neal Norwitz2007-10-051-2/+2
| | | | Fix a compiler warning about passing a PyTypeObject* instead of PyObject*.
* move descriptions of ac_(in|out)_buffer_size to the right placeFred Drake2007-10-052-13/+13
| | | | http://bugs.python.org/issue1053
* Add __asdict__() to NamedTuple and refine the docs.Raymond Hettinger2007-10-056-161/+227
| | | | | | 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.
* wrap lines to <80 characters before fixing errorsFred Drake2007-10-052-178/+190
|
* Coverity #151: Remove deadcode.Neal Norwitz2007-10-041-13/+0
| | | | All this code already exists above starting at line 653.
* 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-044-17/+82
|
* enumerate() is no longer bounded to using sequences shorter than LONG_MAX. ↵Raymond Hettinger2007-10-032-6/+53
| | | | The possibility of overflow was sending some newsgroup posters into a tizzy.
* Added note in footnote about string comparisons aboutMark Summerfield2007-10-031-2/+3
| | | | unicodedata.normalize().
* 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
* Made the various is_* operations return booleans. This was discussedFacundo Batista2007-10-023-125/+2240
| | | | | | | | | | | with Cawlishaw by mail, and he basically confirmed that to these is_* operations, there's no need to return Decimal(0) and Decimal(1) if the language supports the False and True booleans. Also added a few tests for the these functions in extra.decTest, since they are mostly untested (apart from the doctests). Thanks Mark Dickinson
* Fix error introduced by r58288; if a tuple is length 0 return its repr andBrett Cannon2007-09-301-4/+4
| | | | don't worry about any self-referring tuples.
* tuple.__repr__ did not consider a reference loop as it is not possible fromBrett Cannon2007-09-303-0/+24
| | | | | | | | | | Python code; but it is possible from C. object.__str__ had the issue of not expecting a type to doing something within it's tp_str implementation that could trigger an infinite recursion, but it could in C code.. Both found thanks to BaseException and how it handles its repr. Closes issue #1686386. Thanks to Thomas Herve for taking an initial stab at coming up with a solution.
* Change to LogRecord.__init__() to fix #1206. Note that archaic use of ↵Vinay Sajip2007-09-271-1/+3
| | | | type(x) == types.DictType is because of keeping 1.5.2 compatibility. While this is much less relevant these days, there probably needs to be a separate commit for removing all archaic constructs at the same time.
* Minor date change.Vinay Sajip2007-09-271-2/+2
|
* #1208: document match object's boolean value.Georg Brandl2007-09-271-17/+20
|
* Change to basicConfig() to fix #1021.Vinay Sajip2007-09-271-1/+1
|
* Change to flush and close logic to fix #1760556.Vinay Sajip2007-09-271-4/+7
|
* Add various itemsAndrew M. Kuchling2007-09-251-18/+105
|
* Typo fixAndrew M. Kuchling2007-09-241-1/+1
|
* Remove stray odd character; grammar fixAndrew M. Kuchling2007-09-241-2/+2
|
* #1177: accept 2xx responses for https too, not only http.Georg Brandl2007-09-241-1/+3
|