Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Patch #1635058 by Mark Roberts: ensure that htonl and friends never accept or | Guido van Rossum | 2007-01-14 | 1 | -4/+24 |
| | | | | return negative numbers, per the underlying C implementation. | ||||
* | Merged changes from standalone version 2.3.3. This should probably all be | Gerhard Häring | 2007-01-14 | 18 | -484/+518 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merged into the 2.5 maintenance branch: - self->statement was not checked while fetching data, which could lead to crashes if you used the pysqlite API in unusual ways. Closing the cursor and continuing to fetch data was enough. - Converters are stored in a converters dictionary. The converter name is uppercased first. The old upper-casing algorithm was wrong and was replaced by a simple call to the Python string's upper() method instead. -Applied patch by Glyph Lefkowitz that fixes the problem with subsequent SQLITE_SCHEMA errors. - Improvement to the row type: rows can now be iterated over and have a keys() method. This improves compatibility with both tuple and dict a lot. - A bugfix for the subsecond resolution in timestamps. - Corrected the way the flags PARSE_DECLTYPES and PARSE_COLNAMES are checked for. Now they work as documented. - gcc on Linux sucks. It exports all symbols by default in shared libraries, so if symbols are not unique it can lead to problems with symbol lookup. pysqlite used to crash under Apache when mod_cache was enabled because both modules had the symbol cache_init. I fixed this by applying the prefix pysqlite_ almost everywhere. Sigh. | ||||
* | Fixes for 64-bit Windows: In ctypes.wintypes, correct the definitions | Thomas Heller | 2007-01-11 | 1 | -1/+2 |
| | | | | | of HANDLE, WPARAM, LPARAM data types. Make parameterless foreign function calls work. | ||||
* | Must change the version number in the _ctypes extension as well. | Thomas Heller | 2007-01-10 | 1 | -1/+1 |
| | |||||
* | Fix zero-length corner case for iterating over a mutating deque. | Raymond Hettinger | 2007-01-08 | 1 | -3/+2 |
| | |||||
* | Silence a warning from gcc 4.0.1 by specifying a function's parameter list is | Brett Cannon | 2007-01-05 | 1 | -1/+1 |
| | | | | 'void' instead of just a set of empty parentheses. | ||||
* | bump module version to match supported berkeleydb version | Gregory P. Smith | 2007-01-05 | 1 | -1/+1 |
| | |||||
* | Support linking of the bsddb module against BerkeleyDB 4.5.x | Gregory P. Smith | 2007-01-05 | 1 | -0/+8 |
| | | | | (will backport to 2.5) | ||||
* | Bug #1566280: Explicitly invoke threading._shutdown from Py_Main, | Martin v. Löwis | 2007-01-04 | 1 | -0/+29 |
| | | | | | to avoid relying on atexit. Will backport to 2.5. | ||||
* | Fix typo. | Walter Dörwald | 2006-12-21 | 1 | -1/+1 |
| | |||||
* | Comment typo | Andrew M. Kuchling | 2006-12-19 | 1 | -1/+1 |
| | |||||
* | [Patch #1615868 by Lars Gustaebel] Use Py_off_t to fix BZ2File.seek() for ↵ | Andrew M. Kuchling | 2006-12-18 | 1 | -1/+1 |
| | | | | offsets > 2Gb | ||||
* | Patch #1544279: Improve thread-safety of the socket module by moving | Martin v. Löwis | 2006-12-03 | 2 | -53/+45 |
| | | | | | the sock_addr_t storage out of the socket object. Will backport to 2.5. | ||||
* | Fix #1563807: _ctypes built on AIX fails with ld ffi error. | Thomas Heller | 2006-11-28 | 1 | -1/+1 |
| | | | | | | | The contents of ffi_darwin.c must be compiled unless __APPLE__ is defined and __ppc__ is not. Will backport. | ||||
* | Fix bug #1598620: A ctypes structure cannot contain itself. | Thomas Heller | 2006-11-24 | 1 | -3/+13 |
| | |||||
* | Bug #1599782: Fix segfault on bsddb.db.DB().type(). | Neal Norwitz | 2006-11-21 | 1 | -2/+0 |
| | | | | | | | | | The problem is that _DB_get_type() can't be called without the GIL because it calls a bunch of PyErr_* APIs when an error occurs. There were no other cases in this file that it was called without the GIL. Removing the BEGIN/END THREAD around _DB_get_type() made everything work. Will backport. | ||||
* | Speed up function calls into the math module by using METH_O. | Neal Norwitz | 2006-11-19 | 1 | -63/+55 |
| | | | | | There should be no functional changes. However, the error msgs are slightly different. Also verified that the module dict is not NULL on init. | ||||
* | Make cStringIO.truncate raise IOError for negative | Martin v. Löwis | 2006-11-19 | 1 | -1/+11 |
| | | | | | arguments (even for -1). Fixes the last bit of #1359365. | ||||
* | Bug #1588217: don't parse "= " as a soft line break in binascii's | Georg Brandl | 2006-11-16 | 1 | -2/+1 |
| | | | | | a2b_qp() function, instead leave it in the string as quopri.decode() does. | ||||
* | Replace C++ comment with C comment (fixes SF bug #1593525). | Walter Dörwald | 2006-11-09 | 1 | -1/+1 |
| | |||||
* | Fix crash in test on HP-UX. Apparently, it's not possible to delete a lock if | Neal Norwitz | 2006-10-28 | 1 | -0/+3 |
| | | | | | | it's held (even by the current thread). Will backport. | ||||
* | Add some asserts. In sysmodule, I think these were to try to silence | Neal Norwitz | 2006-10-28 | 1 | -0/+1 |
| | | | | | | | some warnings from Klokwork. They verify the assumptions of the format of svn version output. The assert in the thread module helped debug a problem on HP-UX. | ||||
* | Get DBL_MAX from float.h not values.h. Will backport. | Martin v. Löwis | 2006-10-27 | 1 | -3/+1 |
| | |||||
* | Check for values.h. Will backport. | Martin v. Löwis | 2006-10-27 | 1 | -0/+2 |
| | |||||
* | Patch #1549049: Rewrite type conversion in structmember. | Martin v. Löwis | 2006-10-27 | 1 | -8/+121 |
| | | | | Fixes #1545696 and #1566140. Will backport to 2.5. | ||||
* | - Patch #1560695: Add .note.GNU-stack to ctypes' sysv.S so that | Martin v. Löwis | 2006-10-22 | 1 | -0/+4 |
| | | | | | ctypes isn't considered as requiring executable stacks. Will backport to 2.5. | ||||
* | Patch #1580674: with this patch os.readlink uses the filesystem encoding to | Ronald Oussoren | 2006-10-22 | 1 | -2/+38 |
| | | | | decode unicode objects and returns an unicode object when the argument is one. | ||||
* | Fix various minor errors in passing arguments to | Martin v. Löwis | 2006-10-19 | 4 | -16/+27 |
| | | | | PyArg_ParseTuple. | ||||
* | newIobject(): repaired incorrect cast to quiet MSVC warning. | Tim Peters | 2006-10-18 | 1 | -1/+1 |
| | |||||
* | ctypes callback functions only support 'fundamental' result types. | Thomas Heller | 2006-10-17 | 1 | -2/+5 |
| | | | | | | | | Check this and raise an error when something else is used - before this change ctypes would hang or crash when such a callback was called. This is a partial fix for #1574584. Will backport to release25-maint. | ||||
* | Bug #1567666: Emulate GetFileAttributesExA for Win95. | Martin v. Löwis | 2006-10-15 | 1 | -2/+102 |
| | | | | Will backport to 2.5. | ||||
* | Patch #1576166: Support os.utime for directories on Windows NT+. | Martin v. Löwis | 2006-10-15 | 1 | -2/+5 |
| | |||||
* | Bug #1548891: The cStringIO.StringIO() constructor now encodes unicode | Georg Brandl | 2006-10-12 | 1 | -4/+2 |
| | | | | | arguments with the system default encoding just like the write() method does, instead of converting it to a raw buffer. |