summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #1557232: fix seg fault with def f((((x)))) and def f(((x),)).Neal Norwitz2006-09-223-2/+117
| | | | | | | These tests should be improved. Hopefully this fixes variations when flipping back and forth between fpdef and fplist. Backport candidate.
* Fix %zd string formatting on Mac OS X so it prints negative numbers.Neal Norwitz2006-09-224-9/+39
| | | | | | | | | | In addition to testing positive numbers, verify negative numbers work in configure. In order to avoid compiler warnings on OS X 10.4, also change the order of the check for the format character to use (PY_FORMAT_SIZE_T) in the sprintf format for Py_ssize_t. This patch changes PY_FORMAT_SIZE_T from "" to "l" if it wasn't defined at configure time. Need to verify the buildbot results. Backport candidate (if everyone thinks this patch can't be improved).
* added itertools.count(-n) fixJack Diederich2006-09-211-0/+2
|
* * regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_tJack Diederich2006-09-212-1/+5
| | | | | | which breaks negative counts * added test for negative numbers will backport to 2.5.1
* Fix typo.Walter Dörwald2006-09-211-1/+1
|
* Make python.vim output more deterministic.Brett Cannon2006-09-203-32/+36
|
* Allow exceptions to be directly sliced againBrett Cannon2006-09-202-1/+10
| | | | | | | (e.g., ``BaseException(1,2,3)[0:2]``). Discovered in Python 2.5.0 by Thomas Heller and reported to python-dev. This should be backported to 2.5 .
* Accidentally didn't commit Misc/NEWS entry on when __unicode__() was removedBrett Cannon2006-09-201-0/+3
| | | | from exceptions.
* Fixes a bug with bsddb.DB.stat where the flags and txn keywordGregory P. Smith2006-09-192-2/+4
| | | | | | arguments are transposed. (reported by Louis Zechtzer) ..already committed to release24-maint ..needs committing to release25-maint
* Make this thing executable.Guido van Rossum2006-09-181-0/+0
|
* Tweak Mac/Makefile in to ensure that pythonw gets rebuild when the major versionRonald Oussoren2006-09-171-1/+4
| | | | of python changes (2.5 -> 2.6). Bug #1552935.
* Port of revision 51902 in release25-maint to the trunkRonald Oussoren2006-09-172-1/+3
|
* Patch #1557515: Add RLIMIT_SBSIZE.Martin v. Löwis2006-09-162-0/+6
|
* revise explanation of returns_unicode to reflect bool valuesFred Drake2006-09-151-3/+4
| | | | | and to include the default value (merged from release25-maint revision 51890)
* - fix module name in links in formatted documentationFred Drake2006-09-151-25/+14
| | | | | - minor markup cleanup (forward-ported from release25-maint revision 51888)
* Correct elementtree module index entry.Georg Brandl2006-09-151-1/+1
|
* Fix grammar errors and improve clarity.Ka-Ping Yee2006-09-151-22/+21
|
* Rewrite help message to remove some of the parentheticals. (There were a ↵Andrew M. Kuchling2006-09-141-9/+9
| | | | lot of them.)
* Make --help mention that -v can be supplied multiple timesAndrew M. Kuchling2006-09-141-0/+1
|
* More wordsmithingAndrew M. Kuchling2006-09-121-26/+28
|
* Some editing, markup fixesAndrew M. Kuchling2006-09-121-23/+24
|
* Markup typo fixAndrew M. Kuchling2006-09-121-1/+1
|
* Forward-port 51862: Add sgml_input.html.Martin v. Löwis2006-09-121-0/+1
|
* Forward-port of rev. 51857:Georg Brandl2006-09-112-1/+9
| | | | | | | | | | | Building with HP's cc on HP-UX turned up a couple of problems. _PyGILState_NoteThreadState was declared as static inconsistently. Make it static as it's not necessary outside of this module. Some tests failed because errno was reset to 0. (I think the tests that failed were at least: test_fcntl and test_mailbox). Ensure that errno doesn't change after a call to Py_END_ALLOW_THREADS. This only affected debug builds.
* Add a "crasher" taken from the sgml bug report referenced in the commentNeal Norwitz2006-09-111-0/+16
|
* Properly handle a NULL returned from PyArena_New().Neal Norwitz2006-09-111-2/+4
| | | | | | (Also fix some whitespace) Klocwork #364.
* Forward port of 51850 from release25-maint branch.Neal Norwitz2006-09-114-25/+236
| | | | | | | As mentioned on python-dev, reverting patch #1504333 because it introduced an infinite loop in rev 47154. This patch also adds a test to prevent the regression.
* Remove the __unicode__ method from exceptions. Allows unicode() to be calledBrett Cannon2006-09-093-19/+10
| | | | | | | on exception classes. Would require introducing a tp_unicode slot to make it work otherwise. Fixes bug #1551432 and will be backported.
* Fix typo in exampleAndrew M. Kuchling2006-09-081-1/+1
|
* Use native SQLite typesAndrew M. Kuchling2006-09-081-2/+2
|
* Use native SQLite typesAndrew M. Kuchling2006-09-081-2/+2
|
* Explain SQLite a bit more clearlyAndrew M. Kuchling2006-09-081-6/+8
|
* Explain SQLite a bit more clearlyAndrew M. Kuchling2006-09-081-6/+8
|
* Add missing wordAndrew M. Kuchling2006-09-081-1/+1
|
* Add missing NEWS entry for rev 51803Nick Coghlan2006-09-081-0/+3
|
* The cast function did not accept c_char_p or c_wchar_p instancesThomas Heller2006-09-072-2/+18
| | | | | as first argument, and failed with a 'bad argument to internal function' error message.
* Anonymous structure fields that have a bit-width specified did not work,Thomas Heller2006-09-072-2/+11
| | | | | | | and they gave a strange error message from PyArg_ParseTuple: function takes exactly 2 arguments (3 given). With tests.
* Add a warning notice on top of the generated grammar.txt.Armin Rigo2006-09-071-0/+6
|
* [Bug #1552726] Avoid repeatedly polling in interactive mode -- only put a ↵Andrew M. Kuchling2006-09-071-1/+7
| | | | | | | | | | | timeout on the select() if an input hook has been defined. Patch by Richard Boulton. This select() code is only executed with readline 2.1, or if READLINE_CALLBACKS is defined. Backport candidate for 2.5, 2.4, probably earlier versions too.
* Typo fixAndrew M. Kuchling2006-09-071-1/+1
|
* Fix a glaring error and update some version numbers.Ronald Oussoren2006-09-071-12/+8
|
* Fix the speed regression in inspect.py by adding another cache to speed up ↵Nick Coghlan2006-09-072-2/+28
| | | | getmodule(). Patch #1553314
* Fix refcounts and add error checks.Raymond Hettinger2006-09-071-8/+35
|
* Fixed subprocess bug #1531862 again, after removing testsGustavo Niemeyer2006-09-073-8/+12
| | | | offending buildbot
* Add news item for bug fix of SF bug report #1546372.Marc-André Lemburg2006-09-061-0/+7
|
* Fix missing import of the types module in logging.config.Georg Brandl2006-09-062-1/+7
|
* Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.Georg Brandl2006-09-062-28/+21
| | | | | Also make sure that every exception class has __module__ set to 'exceptions'.
* with and as are now keywords. There are some generated files I can't recreate.Neal Norwitz2006-09-0611-35/+35
|
* Bug #1550983: emit better error messages for erroneous relativeGeorg Brandl2006-09-062-2/+6
| | | | imports (if not in package and if beyond toplevel package).
* Bug #1551427: fix a wrong NULL pointer check in the win32 versionGeorg Brandl2006-09-062-1/+4
| | | | of os.urandom().