Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Patch #1185447: binascii.b2a_qp() now correctly quotes binary characters | Georg Brandl | 2007-03-13 | 1 | -4/+8 |
| | | | | | | with ASCII value less than 32. Also, it correctly quotes dots only if they occur on a single line, as opposed to the previous behavior of quoting dots if they are the second character of any line. | ||||
* | Patch #1649190: Adding support for _Bool to ctypes as c_bool, by David Remahl. | Thomas Heller | 2007-03-13 | 5 | -47/+615 |
| | |||||
* | Bug #1622896: fix a rare corner case where the bz2 module raised an | Georg Brandl | 2007-03-13 | 1 | -10/+11 |
| | | | | error in spite of a succesful compression. | ||||
* | Typos. | Georg Brandl | 2007-03-10 | 1 | -1/+1 |
| | |||||
* | Bug #1651235: When a tuple was passed to a ctypes function call, | Thomas Heller | 2007-03-09 | 1 | -18/+0 |
| | | | | | | | | Python would crash instead of raising an error. The crash was caused by a section of code that should have been removed long ago, at that time ctypes had other ways to pass parameters to function calls. | ||||
* | Fix bug #1646630: ctypes.string_at(buf, 0) and ctypes.wstring_at(buf, 0) | Thomas Heller | 2007-03-09 | 1 | -3/+3 |
| | | | | returned string up to the first NUL character. | ||||
* | Variant of patch #697613: don't exit the interpreter on a SystemExit | Georg Brandl | 2007-03-07 | 1 | -11/+11 |
| | | | | | | | exception if the -i command line option or PYTHONINSPECT environment variable is given, but break into the interactive interpreter just like on other exceptions or normal program exit. (backport) | ||||
* | Patch for bug #1633621: if curses.resizeterm() or | Walter Dörwald | 2007-03-06 | 1 | -2/+62 |
| | | | | | curses.resize_term() is called, update _curses.LINES, _curses.COLS, curses.LINES and curses.COLS. | ||||
* | Patch #1654417: make operator.{get,set,del}slice use the full range | Georg Brandl | 2007-03-06 | 1 | -13/+11 |
| | | | | of Py_ssize_t. | ||||
* | Patch #1646728: datetime.fromtimestamp fails with negative | Guido van Rossum | 2007-03-06 | 1 | -0/+6 |
| | | | | | | fractional times. With unittest. Somebody please backport to 2.5. | ||||
* | Fix another reincarnation of bug #1576657 in defaultdict. | Georg Brandl | 2007-03-06 | 1 | -2/+6 |
| | |||||
* | Prepare collections module for pure python code entries. | Raymond Hettinger | 2007-02-28 | 1 | -2/+2 |
| | |||||
* | Remove filler struct item and fix leak. | Raymond Hettinger | 2007-02-21 | 1 | -44/+40 |
| | |||||
* | Add itertools.izip_longest(). | Raymond Hettinger | 2007-02-21 | 1 | -0/+234 |
| | |||||
* | Patch #1490190: posixmodule now includes os.chflags() and os.lchflags() | Martin v. Löwis | 2007-02-19 | 1 | -0/+57 |
| | | | | functions on platforms where the underlying system calls are available. | ||||
* | Update 1432399 to removal of _BT_SOCKADDR_MEMB. | Martin v. Löwis | 2007-02-14 | 1 | -2/+1 |
| | |||||
* | Patch #1432399: Add HCI sockets. | Martin v. Löwis | 2007-02-14 | 2 | -0/+36 |
| | |||||
* | Patch #1657276: Make NETLINK_DNRTMSG conditional. | Martin v. Löwis | 2007-02-13 | 1 | -0/+2 |
| | | | | Will backport. | ||||
* | Bug #1653736: Complain about keyword arguments to time.isoformat. | Martin v. Löwis | 2007-02-08 | 1 | -2/+2 |
| | | | | Will backport to 2.5. | ||||
* | Do not let overflows in enumerate() and count() pass silently. | Raymond Hettinger | 2007-02-08 | 1 | -0/+5 |
| | |||||
* | Check for a common user error with defaultdict(). | Raymond Hettinger | 2007-02-07 | 1 | -1/+7 |
| | |||||
* | Bug #1645944: os.access now returns bool but docstring is not updated | Georg Brandl | 2007-01-27 | 1 | -1/+1 |
| | |||||
* | Fix for #1643874: When calling SysAllocString, create a PyCObject | Thomas Heller | 2007-01-25 | 1 | -8/+21 |
| | | | | which will eventually call SysFreeString to free the BSTR resource. | ||||
* | Bug #1486663: don't reject keyword arguments for subclasses of builtin | Georg Brandl | 2007-01-21 | 4 | -15/+16 |
| | | | | types. | ||||
* | Patch #1610575: Add support for _Bool to struct. | Martin v. Löwis | 2007-01-21 | 1 | -0/+49 |
| | |||||
* | Replace C++ comments with C comments. | Thomas Heller | 2007-01-17 | 1 | -8/+12 |
| |