summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using aRonald Oussoren2006-10-081-1/+4
| | | | | | | universal build of python on OSX 10.3 to ensure that those flags can be used to compile code (the universal build uses compiler flags that aren't supported on 10.3). This patches gives the same treatment to CFLAGS, PY_CFLAGS and BLDSHARED.
* Fix for bug #1570284Ronald Oussoren2006-10-081-3/+3
|
* Add version number to the link to the python documentation inRonald Oussoren2006-10-081-2/+1
| | | | | /Developer/Documentation/Python, better for users that install multiple versions of python.
* Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfaultHye-Shik Chang2006-10-083-14/+35
| | | | when encoding non-BMP unicode characters. (Submitted by Ray Chason)
* Add missing NEWS entry for rev. 52129.Georg Brandl2006-10-081-0/+3
|
* Note that the excel_tab class is registered as the "excel-tab" dialect.Skip Montanaro2006-10-071-10/+10
| | | | | | Fixes 1572471. Make a similar change for the excel class and clean up references to the Dialects and Formatting Parameters section in a few places.
* Comment grammarAndrew M. Kuchling2006-10-061-1/+1
|
* A very minor bug fix: this code looks like it is designed to acceptArmin Rigo2006-10-061-1/+2
| | | | | any hue value and do the modulo itself, except it doesn't quite do it in all cases. At least, the "cannot get here" comment was wrong.
* [Bug #1545341] Allow 'classifier' parameter to be a tuple as well as a list. ↵Andrew M. Kuchling2006-10-061-1/+1
| | | | Will backport.
* Fix name.Georg Brandl2006-10-062-2/+2
|
* Case fixAndrew M. Kuchling2006-10-061-1/+1
|
* - update linksFred Drake2006-10-061-6/+8
| | | | - remove Sleepycat name now that they have been bought
* Clarify what "re-initialization" means for init_builtin() and init_dynamic().Brett Cannon2006-10-051-12/+13
| | | | | | | Also remove warning about re-initialization as possibly raising an execption as both call _PyImport_FindExtension() which pulls any module that was already imported from the Python process' extension cache and just copies the __dict__ into the module stored in sys.modules.
* Add MSVC8 project files to create wininst-8.exe.Martin v. Löwis2006-10-044-0/+341
|
* Cause a PyObject_Malloc() failure to trigger a MemoryError, and thenAndrew M. Kuchling2006-10-041-2/+21
| | | | | | | add 'if (PyErr_Occurred())' checks to various places so that NULL is returned properly. 2.4 backport candidate.
* Forward-port of r52136,52138: a review of overflow-detecting code.Armin Rigo2006-10-0419-106/+186
| | | | | | | | | | | | | | | | | | | | | | | * unified the way intobject, longobject and mystrtoul handle values around -sys.maxint-1. * in general, trying to entierely avoid overflows in any computation involving signed ints or longs is extremely involved. Fixed a few simple cases where a compiler might be too clever (but that's all guesswork). * more overflow checks against bad data in marshal.c. * 2.5 specific: fixed a number of places that were still confusing int and Py_ssize_t. Some of them could potentially have caused "real-world" breakage. * list.pop(x): fixing overflow issues on x was messy. I just reverted to PyArg_ParseTuple("n"), which does the right thing. (An obscure test was trying to give a Decimal to list.pop()... doesn't make sense any more IMHO) * trying to write a few tests...
* Compilation problem caused by conflicting typedefs for uint32_tArmin Rigo2006-10-042-0/+4
| | | | (unsigned long vs. unsigned int).
* Forward port r52134: Add uuids for 2.4.4.Martin v. Löwis2006-10-041-0/+2
|
* Fix integer negation and absolute value to not relyMartin v. Löwis2006-10-043-4/+7
| | | | | on undefined behaviour of the C compiler anymore. Will backport to 2.5 and 2.4.
* 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.