summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #1546052: clarify that PyString_FromString(AndSize) copies theGeorg Brandl2006-09-302-5/+8
| | | | | string pointed to by its parameter. (backport from rev. 52078)
* Bug #1446043: correctly raise a LookupError if an encoding name givenGeorg Brandl2006-09-302-1/+4
| | | | | to encodings.search_function() contains a dot. (backport from rev. 52075)
* Bug #1556784: allow format strings longer than 127 characters inGeorg Brandl2006-09-303-2/+6
| | | | | datetime's strftime function. (backport from rev. 52072)
* Bug #1560617: in pyclbr, return full module name not only for classes,Georg Brandl2006-09-303-1/+7
| | | | | but also for functions. (backport from rev. 52069)
* Bug #1566602: correct failure of posixpath unittest when $HOME endsGeorg Brandl2006-09-302-2/+4
| | | | | with a slash. (backport from rev. 52065)
* Bug #1566663: remove obsolete example from datetime docs.Georg Brandl2006-09-302-16/+20
| | | | (backport from rev. 52063)
* Bug #1566800: make sure that EnvironmentError can be called with anyGeorg Brandl2006-09-303-4/+12
| | | | | number of arguments, as was the case in Python 2.4. (backport from rev. 52061)
* Patch #1567691: super() and new.instancemethod() now don't acceptGeorg Brandl2006-09-305-0/+23
| | | | | | keyword arguments any more (previously they accepted them, but didn't use them). (backport from rev. 52058)
* Bug #1565661: in webbrowser, split() the command for the defaultGeorg Brandl2006-09-302-1/+4
| | | | | GNOME browser in case it is a command with args. (backport from rev. 52056)
* Bug #1567375: a minor logical glitch in example description.Georg Brandl2006-09-301-2/+4
| | | | (backport from rev. 52053)
* fix: DB.stat flags and txn keyword arguments were backwards.Gregory P. Smith2006-09-302-2/+4
|
* SF bug #1567976 : fix typo(backport from r52048)George Yoshida2006-09-301-1/+1
| | | | | Since this paragraph is about exception's message attribute(2.5 feature), I will not backport to 2.4 branch.
* Make examples do error checking on Py_InitModuleAndrew M. Kuchling2006-09-271-4/+10
|
* Backport rev. 51972:Georg Brandl2006-09-253-2/+117
| | | | | | | Bug #1557232: fix seg fault with def f((((x)))) and def f(((x),)). These tests should be improved. Hopefully this fixes variations when flipping back and forth between fpdef and fplist.
* Backport rev. 51971:Georg Brandl2006-09-254-7/+37
| | | | | | | | | | Fix %zd string formatting on Mac OS X so it prints negative numbers. 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 rev. 51987: superfluous semicola.Georg Brandl2006-09-253-4/+4
|
* Fix a bug in traceback.format_exception_only() that led to an errorGeorg Brandl2006-09-243-1/+9
| | | | | | being raised when print_exc() was called without an exception set. In version 2.4, this printed "None", restored that behavior. (backport from rev. 51995)
* Fix a bug in the parser's future statement handling that led to "with"Georg Brandl2006-09-243-10/+33
| | | | | | not being recognized as a keyword after, e.g., this statement: from __future__ import division, with_statement (backport from rev. 51993)
* Fix webbrowser.BackgroundBrowser on Windows.Georg Brandl2006-09-242-5/+21
| | | | (backport from rev. 51991)
* SF Bug #1563963, add missing word and cleanup first sentanceNeal Norwitz2006-09-231-2/+2
|
* added itertools.count(-n) fixJack Diederich2006-09-211-0/+5
|
* backport of r51950Jack Diederich2006-09-212-1/+5
| | | | | | * regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_t which breaks negative counts * added test for negative numbers
* Backport of fix to allow exception instances to be sliced once again.Brett Cannon2006-09-213-1/+26
|
* Tagging for release of Python 2.5Anthony Baxter2006-09-191-0/+1
|
* Preparing for 2.5 final.v2.5Anthony Baxter2006-09-187-8/+20
| | | | | | (damn, it's nice to see the line #define PY_VERSION "2.5" in patchlevel.h)
* better wordingAnthony Baxter2006-09-181-6/+8
|
* Mention that GCC 4.1 is also affected, and thatMartin v. Löwis2006-09-181-3/+6
| | | | adding -fwrapv helps.
* Discourage using GCC 4.2 for Python.Martin v. Löwis2006-09-181-0/+8
|
* Workaround for bug #1558983Ronald Oussoren2006-09-172-1/+6
| | | | | | | | There is an issue with custom icons on directories in the 2.5c2 installer, don't set a custom icon on "/Applications/MacPython 2.5" for now. Also make sure that the installer doesn't crap out when the Makefile in the system's python installation has other customizations than we expect.
* revise explanation of returns_unicode to reflect bool valuesFred Drake2006-09-151-3/+4
| | | | and to include the default value
* - fix module name in links in formatted documentationFred Drake2006-09-151-25/+14
| | | | - minor markup cleanup
* Backport uuid doc cleanup from rev. 51883.Georg Brandl2006-09-151-22/+21
|
* Correct elementtree module index entry.Georg Brandl2006-09-151-1/+1
| | | | (backport)
* Backport rev 51866-51868 from trunk (sqlite3 documentation fixes).Georg Brandl2006-09-141-48/+51
|
* Add sgml_input.html.Martin v. Löwis2006-09-121-0/+1
|
* Tagging for release of Python 2.5c2Anthony Baxter2006-09-121-0/+1
|
* remove 2.5 final section from NEWS.txt until after rc2 (reduced confusion)v2.5c2Anthony Baxter2006-09-111-7/+0
|
* preparing for 2.5c2Anthony Baxter2006-09-116-6/+11
|
* Building with HP's cc on HP-UX turned up a couple of problems.Neal Norwitz2006-09-112-1/+9
| | | | | | | | | | | | | _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. This needs to be ported to HEAD. I'll try to remember to do that tomorrow. (Anyone, feel free to port it.)
* Properly handle a NULL returned from PyArena_New().Neal Norwitz2006-09-111-2/+4
| | | | Klocwork #364. Will port to head.
* As mentioned on python-dev, reverting patch #1504333 because it introducedNeal Norwitz2006-09-114-25/+236
| | | | | | | | an infinite loop in rev 47154. This patch also adds a test to prevent the regression. Will backport to 2.4 and head later.
* Add NEWS entries for ctypes backports.Neal Norwitz2006-09-111-1/+5
|
* Backport rev 51820 from Thomas HellerNeal Norwitz2006-09-112-2/+18
| | | | | | The cast function did not accept c_char_p or c_wchar_p instances as first argument, and failed with a 'bad argument to internal function' error message.
* Backport rev 51819 from Thomas HellerNeal Norwitz2006-09-112-2/+11
| | | | | | Anonymous structure fields that have a bit-width specified did not work, and they gave a strange error message from PyArg_ParseTuple: function takes exactly 2 arguments (3 given).
* Remove __unicode__ method so that ``unicode(BaseException)`` succeeds.Brett Cannon2006-09-094-19/+13
| | | | Fixes bug #1551432.
* Fix typo in exampleAndrew M. Kuchling2006-09-081-1/+1
|
* Use native SQLite typesAndrew M. Kuchling2006-09-081-2/+2
|
* Explain SQLite a bit more clearlyAndrew M. Kuchling2006-09-081-6/+8
|
* Backport inspect.py fix from rev 51803Nick Coghlan2006-09-083-2/+31
|
* Backport rev. 51798 from trunk:Georg Brandl2006-09-081-8/+35
| | | | fix setobject.c refcounts and error checks.