summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix for SF bug 1569998: break permitted inside try.Jeremy Hylton2006-10-042-1/+27
| | | | | | | | The compiler was checking that there was something on the fblock stack, but not that there was a loop on the stack. Fixed that and added a test for the specific syntax error. Bug fix candidate.
* decode_rfc2231(): As Christian Robottom Reis points out, it makes no sense toBarry Warsaw2006-10-041-4/+0
| | | | test for parts > 3 when we use .split(..., 2).
* Convert test_imp over to unittest.Brett Cannon2006-10-032-29/+35
|
* Fix minor typo in a comment.Brett Cannon2006-10-031-1/+1
|
* Modified LogRecord.__init__ to make the func parameter optional. (See SF ↵Vinay Sajip2006-10-031-1/+1
| | | | #1569622).
* Documentation clarified to mention optional parameters.Vinay Sajip2006-10-031-4/+4
|
* Documentation omitted the additional parameter to LogRecord.__init__ which ↵Vinay Sajip2006-10-031-2/+4
| | | | was added in 2.5. (See SF #1569622).
* Guard uintptr_t test with HAVE_STDINT_H, test forMartin v. Löwis2006-10-023-7/+16
| | | | stdint.h. Will backport.
* Fix test for uintptr_t. Fixes #1568842.Martin v. Löwis2006-10-024-28/+32
| | | | Will backport.
* Add comment explaining that error msgs may be due to user code whenKurt B. Kaiser2006-10-011-0/+2
| | | | running w/o subprocess.
* Some syntax errors were being caught by tokenize during the tabnannyKurt B. Kaiser2006-10-012-6/+8
| | | | | check, resulting in obscure error messages. Do the syntax check first. Bug 1562716, 1562719
* Convert test_import to unittest.Georg Brandl2006-09-301-200/+197
|
* Bug #1546052: clarify that PyString_FromString(AndSize) copies theGeorg Brandl2006-09-302-5/+8
| | | | string pointed to by its parameter.
* Bug #1446043: correctly raise a LookupError if an encoding name givenGeorg Brandl2006-09-302-1/+4
| | | | to encodings.search_function() contains a dot.
* Bug #1556784: allow format strings longer than 127 characters inGeorg Brandl2006-09-303-2/+6
| | | | datetime's strftime function.
* Bug #1560617: in pyclbr, return full module name not only for classes,Georg Brandl2006-09-303-1/+7
| | | | but also for functions.
* Bug #1457823: cgi.(Sv)FormContentDict's constructor now takesGeorg Brandl2006-09-302-2/+7
| | | | keep_blank_values and strict_parsing keyword arguments.
* Bug #1566602: correct failure of posixpath unittest when $HOME endsGeorg Brandl2006-09-302-2/+4
| | | | with a slash.
* Bug #1566663: remove obsolete example from datetime docs.Georg Brandl2006-09-302-16/+20
|
* 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.
* 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).
* 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.
* Bug #1567375: a minor logical glitch in example description.Georg Brandl2006-09-301-2/+4
|
* wording changeGregory P. Smith2006-09-301-1/+1
|
* SF bug #1567976 : fix typoGeorge Yoshida2006-09-301-1/+1
| | | | Will backport to 2.5.
* Very minor grammatical fix in a comment.Brett Cannon2006-09-281-1/+1
|
* Make examples do error checking on Py_InitModuleAndrew M. Kuchling2006-09-271-4/+10
|
* Add news item for rev. 51815Andrew M. Kuchling2006-09-271-0/+6
|
* Make the error message for when the time data and format do not match clearer.Brett Cannon2006-09-262-1/+4
|
* Another crasher.Armin Rigo2006-09-251-0/+36
|
* 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.
* Fix a bug in the parser's future statement handling that led to "with"Georg Brandl2006-09-243-10/+37
| | | | | not being recognized as a keyword after, e.g., this statement: from __future__ import division, with_statement
* Fix webbrowser.BackgroundBrowser on Windows.Georg Brandl2006-09-242-5/+14
|
* Make output on test_strptime() be more verbose in face of failure. This is inBrett Cannon2006-09-231-3/+7
| | | | hopes that more information will help debug the failing test on HPPA Ubuntu.
* SF Bug #1563963, add missing word and cleanup first sentanceNeal Norwitz2006-09-231-2/+2
|
* Remove extra semi-colons reported by Johnny Lee on python-dev. Backport if ↵Neal Norwitz2006-09-233-4/+4
| | | | anyone cares.
* add boilerplate "What's New" document so the docs will buildFred Drake2006-09-232-1/+135
|
* Mostly revert this file to the same version as before. Only force settingNeal Norwitz2006-09-221-3/+3
| | | | | of PY_FORMAT_SIZE_T to "l" for Mac OSX. I don't know a better define to use. This should get rid of the warnings on other platforms and Mac too.
* 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
|