Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add comments to NamedTuple code. | Raymond Hettinger | 2007-10-08 | 3 | -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 Brandl | 2007-10-08 | 1 | -6/+6 | |
| | ||||||
* | #1123: fix the docs for the str.split(None, sep) case. | Georg Brandl | 2007-10-08 | 1 | -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 Norwitz | 2007-10-06 | 1 | -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 is | Gregory P. Smith | 2007-10-06 | 1 | -4/+1 | |
| | | | | reliable. gmail.org is someones personal domain. | |||||
* | Allows BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module. | Gregory P. Smith | 2007-10-06 | 1 | -4/+12 | |
| | ||||||
* | Stab in the dark attempt to fix the test_bsddb3 failure on sparc and S-390 | Gregory P. Smith | 2007-10-06 | 1 | -1/+7 | |
| | | | | ubuntu buildbots. | |||||
* | Restore BEGIN/END THREADS macros which were squashed in the previous checkin | Raymond Hettinger | 2007-10-05 | 1 | -5/+21 | |
| | ||||||
* | Add a note about fixing some more warnings found by Coverity. | Neal Norwitz | 2007-10-05 | 1 | -0/+2 | |
| | ||||||
* | Fix Coverity #159. | Neal Norwitz | 2007-10-05 | 1 | -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 Norwitz | 2007-10-05 | 1 | -1/+1 | |
| | ||||||
* | dict could be NULL, so we need to XDECREF. | Neal Norwitz | 2007-10-05 | 1 | -2/+2 | |
| | | | | Fix a compiler warning about passing a PyTypeObject* instead of PyObject*. | |||||
* | move descriptions of ac_(in|out)_buffer_size to the right place | Fred Drake | 2007-10-05 | 2 | -13/+13 | |
| | | | | http://bugs.python.org/issue1053 | |||||
* | Add __asdict__() to NamedTuple and refine the docs. | Raymond Hettinger | 2007-10-05 | 6 | -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 errors | Fred Drake | 2007-10-05 | 2 | -178/+190 | |
| | ||||||
* | Coverity #151: Remove deadcode. | Neal Norwitz | 2007-10-04 | 1 | -13/+0 | |
| | | | | All this code already exists above starting at line 653. | |||||
* | configDialog cleanup. Patch 1730217 Tal Einat. | Kurt B. Kaiser | 2007-10-04 | 2 | -40/+44 | |
| | ||||||
* | textView cleanup. Patch 1718043 Tal Einat. | Kurt B. Kaiser | 2007-10-04 | 4 | -50/+54 | |
| | | | | | | | M idlelib/EditorWindow.py M idlelib/aboutDialog.py M idlelib/textView.py M idlelib/NEWS.txt | |||||
* | Clean up EditorWindow close. | Kurt B. Kaiser | 2007-10-04 | 3 | -14/+19 | |
| | ||||||
* | Remove unused theme that was causing a fault in p3k. | Kurt B. Kaiser | 2007-10-04 | 1 | -1/+0 | |
| | ||||||
* | Assume that the user knows when he wants to end the line; don't insert | Kurt B. Kaiser | 2007-10-04 | 2 | -15/+4 | |
| | | | | something he didn't select or complete. | |||||
* | itertools.count() no longer limited to sys.maxint. | Raymond Hettinger | 2007-10-04 | 4 | -17/+82 | |
| | ||||||
* | enumerate() is no longer bounded to using sequences shorter than LONG_MAX. ↵ | Raymond Hettinger | 2007-10-03 | 2 | -6/+53 | |
| | | | | The possibility of overflow was sending some newsgroup posters into a tizzy. | |||||
* | Added note in footnote about string comparisons about | Mark Summerfield | 2007-10-03 | 1 | -2/+3 | |
| | | | | unicodedata.normalize(). | |||||
* | Added a class to store the digits of log(10), so that they can be made | Facundo Batista | 2007-10-02 | 1 | -16/+49 | |
| | | | | available when necessary without recomputing. Thanks Mark Dickinson | |||||
* | Made the various is_* operations return booleans. This was discussed | Facundo Batista | 2007-10-02 | 3 | -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 and | Brett Cannon | 2007-09-30 | 1 | -4/+4 | |
| | | | | don't worry about any self-referring tuples. | |||||
* | tuple.__repr__ did not consider a reference loop as it is not possible from | Brett Cannon | 2007-09-30 | 3 | -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 Sajip | 2007-09-27 | 1 | -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 Sajip | 2007-09-27 | 1 | -2/+2 | |
| | ||||||
* | #1208: document match object's boolean value. | Georg Brandl | 2007-09-27 | 1 | -17/+20 | |
| | ||||||
* | Change to basicConfig() to fix #1021. | Vinay Sajip | 2007-09-27 | 1 | -1/+1 | |
| | ||||||
* | Change to flush and close logic to fix #1760556. | Vinay Sajip | 2007-09-27 | 1 | -4/+7 | |
| | ||||||
* | Add various items | Andrew M. Kuchling | 2007-09-25 | 1 | -18/+105 | |
| | ||||||
* | Typo fix | Andrew M. Kuchling | 2007-09-24 | 1 | -1/+1 | |
| | ||||||
* | Remove stray odd character; grammar fix | Andrew M. Kuchling | 2007-09-24 | 1 | -2/+2 | |
| | ||||||
* | #1177: accept 2xx responses for https too, not only http. | Georg Brandl | 2007-09-24 | 1 | -1/+3 | |
| | ||||||
* | #1196: document default radix for int(). | Georg Brandl | 2007-09-24 | 1 | -11/+12 | |
| | ||||||
* | Fix typo and double word. | Georg Brandl | 2007-09-24 | 1 | -2/+2 | |
| | ||||||
* | Patch # 188 by Philip Jenvey. | Guido van Rossum | 2007-09-22 | 2 | -0/+8 | |
| | | | | | Make tell() mark CRLF as a newline. With unit test. | |||||
* | Issue1704287: "make install" fails unless you do "make" first. Make | Sean Reifscheider | 2007-09-21 | 1 | -3/+4 | |
| | | | | oldsharedmods and sharedmods in "libinstall". | |||||
* | Patch #1181: add os.environ.clear() method. | Georg Brandl | 2007-09-20 | 2 | -2/+14 | |
| | ||||||
* | Try harder to stay within the 79-column limit. There's still two places that ↵ | Thomas Wouters | 2007-09-20 | 1 | -44/+55 | |
| | | | | go (way) over, but those are harder to fix without suffering in readability. | |||||
* | #1176: document that string methods don't take keyword args. | Georg Brandl | 2007-09-20 | 1 | -1/+3 | |
| | ||||||
* | Patch #1541463: optimize performance of cgi.FieldStorage operations. | Georg Brandl | 2007-09-20 | 2 | -10/+8 | |
| | ||||||
* | alternate -> alternative. | Georg Brandl | 2007-09-20 | 2 | -2/+2 | |
| | ||||||
* | Fit nits | Raymond Hettinger | 2007-09-20 | 1 | -7/+11 | |
| | ||||||
* | Issue #1772851. Optimization of __hash__ to behave better for big big | Facundo Batista | 2007-09-19 | 2 | -4/+43 | |
| | | | | numbers. | |||||
* | Whitespace cleanup. | Thomas Wouters | 2007-09-19 | 1 | -27/+27 | |
| | ||||||
* | Fix obvious typo in threaded test. | Thomas Wouters | 2007-09-19 | 1 | -1/+1 | |
| |