summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Add cheot-ga-keut composed make-up sequence support in EUC-KR codec.Hye-Shik Chang2007-08-201-7/+104
|
* Backport r57105 and r57145 from the py3k branch: UTF-32 codecs.Walter Dörwald2007-08-171-0/+204
|
* Fix memory leak in os.readlinkNeal Norwitz2007-08-121-2/+6
|
* Backport r56875 from py3k; double LEAVE_PYTHON when AsString() failsGuido van Rossum2007-08-091-1/+3
| | | | in PythonCmd().
* Fix compilation warning.Georg Brandl2007-08-081-1/+1
|
* Revert the fix for #1548891, it broke backwards compatibility with arbitrary ↵Georg Brandl2007-08-081-2/+5
| | | | | | read buffers. Fixes #1730114.
* Fix gb18030 codec's bug that doesn't map two-byte characters onHye-Shik Chang2007-08-041-0/+1
| | | | GB18030 extension in encoding. (bug reported by Bjorn Stabell)
* Bug #1704793: Return UTF-16 pair if unicodedata.lookup cannotMartin v. Löwis2007-07-281-16/+11
| | | | represent the result in a single character.
* PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis2007-07-2159-548/+440
| | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
* Document that codecs.lookup() returns a CodecInfo object.Walter Dörwald2007-07-191-4/+5
| | | | (fixes SF bug #1754453).
* PyType_stgdict() returns a borrowed reference which must not beThomas Heller2007-07-131-2/+0
| | | | Py_DECREF'd.
* Fix for SF# 1649098: avoid zero-sized array declaration in structure.Thomas Heller2007-07-132-2/+2
|
* Repair COMError. Since exceptions are new style classes now, settingThomas Heller2007-07-131-7/+13
| | | | | the methods and docstring after the type creation does not work, they must be in the dictionary before creating the type.
* Many calls to tk.call involve an arglist containing a single tuple.Kurt B. Kaiser2007-07-051-0/+6
| | | | | | | | | | Calls using METH_OLDARGS unpack this tuple; calls using METH_VARARG don't. Tcl's concatenation of args was affected; IDLE doesn't start. Modify Tkapp_Call() to unpack single tuple arglists. Bug 1733943 Ref http://mail.python.org/pipermail/python-checkins/2007-May/060454.html
* Use "O&" in calls to PyArg_Parse when we need a 'void*' instead of "k"Thomas Heller2007-06-112-13/+17
| | | | or "K" codes.
* Patch #1733960: Allow T_LONGLONG to accept ints.Martin v. Löwis2007-06-091-3/+27
| | | | Will backport to 2.5.
* Fix warnings by using proper function prototype.Thomas Heller2007-06-082-8/+8
|
* Fix gcc warnings intruduced by passing Py_ssize_t to PyErr_Format calls.Thomas Heller2007-06-083-11/+24
|
* [ 1715718 ] x64 clean compile patch for _ctypes, by Kristj?n ValurThomas Heller2007-06-086-142/+158
| | | | with small modifications.
* Fixing changes to getbuildinfo.c that broke linux buildsKristján Valur Jónsson2007-06-071-2/+9
|
* Patch by Tim Delany (missing DECREF). SF #1731330.Guido van Rossum2007-06-051-0/+1
|
* Bug #1728403: Fix a bug that CJKCodecs StreamReader hangs when itHye-Shik Chang2007-06-051-1/+5
| | | | | reads a file that ends with incomplete sequence and sizehint argument for .read() is specified.
* Fix build on FreeBSD. Bluetooth HCI API in FreeBSD is quite differentHye-Shik Chang2007-06-051-2/+5
| | | | | from Linux's. Just fix the build for now but the code doesn't support the complete capability of HCI on FreeBSD yet.
* Backout the original 'fix' to 1721309 which had no effect.Neal Norwitz2007-06-031-5/+9
| | | | | | | | | | | Different versions of Berkeley DB handle this differently. The comments and bug report should have the details. Memory is allocated in 4.4 (and presumably earlier), but not in 4.5. Thus 4.5 has the free error, but not earlier versions. Mostly update comments, plus make the free conditional. This fix was already applied to the 2.5 branch.
* Fix compiler warnings.Thomas Heller2007-05-301-2/+2
|
* Add -3 option to the interpreter to warn about features that areNeal Norwitz2007-05-231-1/+6
| | | | | | | deprecated and will be changed/removed in Python 3.0. This patch is mostly from Anthony. I tweaked some format and added a little doc.
* Stop using METH_OLDARGS implicitlyNeal Norwitz2007-05-223-12/+12
|
* Stop using METH_OLDARGSNeal Norwitz2007-05-221-3/+3
|
* Remove the rgbimg module. It has been deprecated since Python 2.5.Brett Cannon2007-05-202-781/+0
|
* Whoops, need to pay attention to those test failures.Neal Norwitz2007-05-191-1/+1
| | | | Move the clear to *before* the first use, not after.
* Clear data so random memory does not get freed. Will backport.Neal Norwitz2007-05-191-0/+1
|
* Backport checkin:Walter Dörwald2007-05-091-1/+1
| | | | | Fix a segfault when b"" was passed to b2a_qp() -- it was using strchr() instead of memchr().
* Do not truncate 64-bit pointers to 32-bit integers.Thomas Heller2007-05-042-13/+19
| | | | Fixes SF #1703286, will backport to release25-maint.
* On 64-bit Windows, ffi_arg must be 8 bytes long. This fixes theThomas Heller2007-05-041-0/+4
| | | | | remaining crashes in the ctypes tests, when functions return float or double types.
* Fix problems in x64 build that were discovered by the testsuite:Kristján Valur Jónsson2007-05-032-3/+2
| | | | | | | | | | | | - Reenable modules on x64 that had been disabled aeons ago for Itanium. - Cleared up confusion about compilers for 64 bit windows. There is only Itanium and x64. Added macros MS_WINI64 and MS_WINX64 for those rare cases where it matters, such as the disabling of modules above. - Set target platform (_WIN32_WINNT and WINVER) to 0x0501 (XP) for x64, and 0x0400 (NT 4.0) otherwise, which are the targeted minimum platforms. - Fixed thread_nt.h. The emulated InterlockedCompareExchange function didn´t work on x64, probaby due to the lack of a "volatile" specifier. Anyway, win95 is no longer a target platform. - Itertools module used wrong constant to check for overflow in count() - PyInt_AsSsize_t couldn't deal with attribute error when accessing the __long__ member. - PyLong_FromSsize_t() incorrectly specified that the operand were unsigned. With these changes, the x64 passes the testsuite, for those modules present.
* Don't truncate pointers to integers (on win64 platform).Thomas Heller2007-05-031-2/+21
|
* Stop using PyMem_FREE while the GIL is not held. For details see:Neal Norwitz2007-05-021-1/+1
| | | | http://mail.python.org/pipermail/python-dev/2007-May/072896.html
* When accessing the .value attribute of a c_wchar_p instance, and theThomas Heller2007-04-301-3/+11
| | | | | | | | | instance does not point to a valid wchar_t zero-terminated string, raise a ValueError. c_char_p does this already. The ValueError message now contains the correct pointer address. Will backport to release25-maint.
* Make sure to call PyErr_NoMemory() in several places whereThomas Heller2007-04-303-3/+15
| | | | | | PyMem_Malloc() could potentially fail. Will backport to the release25-maint branch.
* Complete revamp of PCBuild8 directory. Use subdirectories for each project ↵Kristján Valur Jónsson2007-04-302-7/+6
| | | | under the main pcbuild solution. Now make extensive use of property sheets to simplify project configuration. x64 build fully supported, and the process for building PGO version (Profiler Guided Optimization) simplified. All projects are now present, except _ssl, which needs to be reimplemented. Also, some of the projects that require external libraries need extra work to fully compile on x64.
* Accomodate 64 bit time_t in the _bsddb module.Kristján Valur Jónsson2007-04-261-1/+21
|
* Export function sanitize_the_mode from fileobject.c as ↵Kristján Valur Jónsson2007-04-261-6/+14
| | | | _PyFile_SanitizeMode(). Use this function in posixmodule.c when implementing fdopen(). This fixes test_subprocess.py for a VisualStudio 2005 compile.
* Make pythoncore compile cleanly with VisualStudio 2005. Used an explicit ↵Kristján Valur Jónsson2007-04-251-2/+2
| | | | typecast to get a 64 bit integer, and undefined the Yield macro that conflicts with winbase.h
* Merge change 54909 from release25-maint: Fix several minor issues ↵Kristján Valur Jónsson2007-04-254-16/+31
| | | | discovered using code analysis in VisualStudio 2005 Team Edition
* SF #1703270, add missing declaration in readline.c to avoid compiler warning.Neal Norwitz2007-04-191-1/+3
|
* Point readers at the patch submission instructionsAndrew M. Kuchling2007-04-111-3/+6
|
* Add window.chgat() method, submitted via e-mail by Fabian KreutzAndrew M. Kuchling2007-04-111-4/+55
|
* Bug #1563759: struct.unpack doens't support buffer protocol objectsRaymond Hettinger2007-04-051-7/+25
|
* Bug #1686475: Support stat'ing open files on Windows again.Martin v. Löwis2007-04-041-34/+66
| | | | Will backport to 2.5.
* - Fix an off-by-one bug in locale.strxfrm().Matthias Klose2007-04-031-1/+1
| | | | patch taken from http://bugs.debian.org/416934.