Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PEP 3123: Provide forward compatibility with Python 3.0, while keeping | Martin v. Löwis | 2007-07-21 | 59 | -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örwald | 2007-07-19 | 1 | -4/+5 |
| | | | | (fixes SF bug #1754453). | ||||
* | PyType_stgdict() returns a borrowed reference which must not be | Thomas Heller | 2007-07-13 | 1 | -2/+0 |
| | | | | Py_DECREF'd. | ||||
* | Fix for SF# 1649098: avoid zero-sized array declaration in structure. | Thomas Heller | 2007-07-13 | 2 | -2/+2 |
| | |||||
* | Repair COMError. Since exceptions are new style classes now, setting | Thomas Heller | 2007-07-13 | 1 | -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. Kaiser | 2007-07-05 | 1 | -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 Heller | 2007-06-11 | 2 | -13/+17 |
| | | | | or "K" codes. | ||||
* | Patch #1733960: Allow T_LONGLONG to accept ints. | Martin v. Löwis | 2007-06-09 | 1 | -3/+27 |
| | | | | Will backport to 2.5. | ||||
* | Fix warnings by using proper function prototype. | Thomas Heller | 2007-06-08 | 2 | -8/+8 |
| | |||||
* | Fix gcc warnings intruduced by passing Py_ssize_t to PyErr_Format calls. | Thomas Heller | 2007-06-08 | 3 | -11/+24 |
| | |||||
* | [ 1715718 ] x64 clean compile patch for _ctypes, by Kristj?n Valur | Thomas Heller | 2007-06-08 | 6 | -142/+158 |
| | | | | with small modifications. | ||||
* | Fixing changes to getbuildinfo.c that broke linux builds | Kristján Valur Jónsson | 2007-06-07 | 1 | -2/+9 |
| | |||||
* | Patch by Tim Delany (missing DECREF). SF #1731330. | Guido van Rossum | 2007-06-05 | 1 | -0/+1 |
| | |||||
* | Bug #1728403: Fix a bug that CJKCodecs StreamReader hangs when it | Hye-Shik Chang | 2007-06-05 | 1 | -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 different | Hye-Shik Chang | 2007-06-05 | 1 | -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 Norwitz | 2007-06-03 | 1 | -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 Heller | 2007-05-30 | 1 | -2/+2 |
| | |||||
* | Add -3 option to the interpreter to warn about features that are | Neal Norwitz | 2007-05-23 | 1 | -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 implicitly | Neal Norwitz | 2007-05-22 | 3 | -12/+12 |
| | |||||
* | Stop using METH_OLDARGS | Neal Norwitz | 2007-05-22 | 1 | -3/+3 |
| | |||||
* | Remove the rgbimg module. It has been deprecated since Python 2.5. | Brett Cannon | 2007-05-20 | 2 | -781/+0 |
| | |||||
* | Whoops, need to pay attention to those test failures. | Neal Norwitz | 2007-05-19 | 1 | -1/+1 |
| | | | | Move the clear to *before* the first use, not after. | ||||
* | Clear data so random memory does not get freed. Will backport. | Neal Norwitz | 2007-05-19 | 1 | -0/+1 |
| | |||||
* | Backport checkin: | Walter Dörwald | 2007-05-09 | 1 | -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 Heller | 2007-05-04 | 2 | -13/+19 |
| | | | | Fixes SF #1703286, will backport to release25-maint. | ||||
* | On 64-bit Windows, ffi_arg must be 8 bytes long. This fixes the | Thomas Heller | 2007-05-04 | 1 | -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ónsson | 2007-05-03 | 2 | -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 Heller | 2007-05-03 | 1 | -2/+21 |
| | |||||
* | Stop using PyMem_FREE while the GIL is not held. For details see: | Neal Norwitz | 2007-05-02 | 1 | -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 the | Thomas Heller | 2007-04-30 | 1 | -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 where | Thomas Heller | 2007-04-30 | 3 | -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ónsson | 2007-04-30 | 2 | -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ónsson | 2007-04-26 | 1 | -1/+21 |
| | |||||
* | Export function sanitize_the_mode from fileobject.c as ↵ | Kristján Valur Jónsson | 2007-04-26 | 1 | -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ónsson | 2007-04-25 | 1 | -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ónsson | 2007-04-25 | 4 | -16/+31 |
| | | | | discovered using code analysis in VisualStudio 2005 Team Edition | ||||
* | SF #1703270, add missing declaration in readline.c to avoid compiler warning. | Neal Norwitz | 2007-04-19 | 1 | -1/+3 |
| | |||||
* | Point readers at the patch submission instructions | Andrew M. Kuchling | 2007-04-11 | 1 | -3/+6 |
| | |||||
* | Add window.chgat() method, submitted via e-mail by Fabian Kreutz | Andrew M. Kuchling | 2007-04-11 | 1 | -4/+55 |
| | |||||
* | Bug #1563759: struct.unpack doens't support buffer protocol objects | Raymond Hettinger | 2007-04-05 | 1 | -7/+25 |
| | |||||
* | Bug #1686475: Support stat'ing open files on Windows again. | Martin v. Löwis | 2007-04-04 | 1 | -34/+66 |
| | | | | Will backport to 2.5. | ||||
* | - Fix an off-by-one bug in locale.strxfrm(). | Matthias Klose | 2007-04-03 | 1 | -1/+1 |
| | | | | patch taken from http://bugs.debian.org/416934. | ||||
* | Array module's buffer interface can now handle empty arrays. | Raymond Hettinger | 2007-04-02 | 1 | -0/+6 |
| | |||||
* | SF #1693079: Cannot save empty array in shelve | Raymond Hettinger | 2007-04-02 | 1 | -6/+13 |
| | |||||
* | Fix method names. Will backport. | Neal Norwitz | 2007-03-31 | 1 | -3/+4 |
| | |||||
* | In Windows' time.clock(), when QueryPerformanceFrequency() fails, | Georg Brandl | 2007-03-29 | 1 | -1/+2 |
| | | | | | the C lib's clock() is used, but it must be divided by CLOCKS_PER_SEC as for the POSIX implementation (thanks to #pypy). | ||||
* | Bug 1688393. Adds a control of negative values in | Facundo Batista | 2007-03-28 | 1 | -2/+8 |
| | | | | socket.recvfrom, which caused an ugly crash. | ||||
* | Prevent creation (followed by a segfault) of array types when the size | Thomas Heller | 2007-03-23 | 1 | -3/+20 |
| | | | | | | | overflows the valid Py_ssize_t range. Check return values of PyMem_Malloc. Will backport to release25-maint. | ||||
* | Explain the purpose of the b_needsfree flag (forward ported from ↵ | Thomas Heller | 2007-03-22 | 1 | -0/+6 |
| | | | | release25-maint). | ||||
* | Back out "Patch #1643874: memory leak in ctypes fixed." | Thomas Heller | 2007-03-22 | 1 | -21/+8 |
| | | | | | The code in this patch leaves no way to give up the ownership of a BSTR instance. |