summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #1548891: The cStringIO.StringIO() constructor now encodes unicodeGeorg Brandl2006-10-123-4/+28
| | | | | arguments with the system default encoding just like the write() method does, instead of converting it to a raw buffer.
* Bug #1550524: better heuristics to find correct class definitionGeorg Brandl2006-10-121-2/+17
| | | | in inspect.findsource().
* Bug #1565919: document set types in the Language Reference.Georg Brandl2006-10-122-0/+37
|
* Bug #813342: Start the IDLE subprocess with -Qnew if the parentGeorg Brandl2006-10-122-0/+5
| | | | is started with that option.
* Bug #1575746: fix typo in property() docs.Georg Brandl2006-10-121-1/+1
|
* MacOSX: fix permission problem in the generated installerRonald Oussoren2006-10-101-1/+10
|
* Bug #1565150: Fix subsecond processing for os.utime on Windows.Martin v. Löwis2006-10-093-3/+13
|
* List gc.get_count() in the module docstring.Barry Warsaw2006-10-091-0/+1
|
* Patch #1572724: fix typo ('=' instead of '==') in _msi.c.Georg Brandl2006-10-092-1/+3
|
* Fix wording in commentAndrew M. Kuchling2006-10-091-2/+2
|
* Add news item for rev. 52211 changeAndrew M. Kuchling2006-10-091-0/+3
|
* MacOSX: add more logic to recognize the correct startup file to patch to theRonald Oussoren2006-10-081-7/+14
| | | | shell profile patching post-install script.
* MacOSX: The universal build requires that users have the MacOSX10.4u SDKRonald Oussoren2006-10-081-0/+16
| | | | | | installed to build extensions. This patch makes distutils emit a warning when the compiler should use an SDK but that SDK is not installed, hopefully reducing some confusion.
* 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.