summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Array module's buffer interface can now handle empty arrays.Raymond Hettinger2007-04-021-0/+6
|
* SF #1693079: Cannot save empty array in shelveRaymond Hettinger2007-04-021-6/+13
|
* Fix method names. Will backport.Neal Norwitz2007-03-311-3/+4
|
* In Windows' time.clock(), when QueryPerformanceFrequency() fails,Georg Brandl2007-03-291-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 inFacundo Batista2007-03-281-2/+8
| | | | socket.recvfrom, which caused an ugly crash.
* Prevent creation (followed by a segfault) of array types when the sizeThomas Heller2007-03-231-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 Heller2007-03-221-0/+6
| | | | release25-maint).
* Back out "Patch #1643874: memory leak in ctypes fixed."Thomas Heller2007-03-221-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 charactersGeorg Brandl2007-03-131-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 Heller2007-03-135-47/+615
|
* Bug #1622896: fix a rare corner case where the bz2 module raised anGeorg Brandl2007-03-131-10/+11
| | | | error in spite of a succesful compression.
* Typos.Georg Brandl2007-03-101-1/+1
|
* Bug #1651235: When a tuple was passed to a ctypes function call,Thomas Heller2007-03-091-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 Heller2007-03-091-3/+3
| | | | returned string up to the first NUL character.
* Variant of patch #697613: don't exit the interpreter on a SystemExitGeorg Brandl2007-03-071-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() orWalter Dörwald2007-03-061-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 rangeGeorg Brandl2007-03-061-13/+11
| | | | of Py_ssize_t.
* Patch #1646728: datetime.fromtimestamp fails with negativeGuido van Rossum2007-03-061-0/+6
| | | | | | fractional times. With unittest. Somebody please backport to 2.5.
* Fix another reincarnation of bug #1576657 in defaultdict.Georg Brandl2007-03-061-2/+6
|
* Prepare collections module for pure python code entries.Raymond Hettinger2007-02-281-2/+2
|
* Remove filler struct item and fix leak.Raymond Hettinger2007-02-211-44/+40
|
* Add itertools.izip_longest().Raymond Hettinger2007-02-211-0/+234
|
* Patch #1490190: posixmodule now includes os.chflags() and os.lchflags()Martin v. Löwis2007-02-191-0/+57
| | | | functions on platforms where the underlying system calls are available.
* Update 1432399 to removal of _BT_SOCKADDR_MEMB.Martin v. Löwis2007-02-141-2/+1
|
* Patch #1432399: Add HCI sockets.Martin v. Löwis2007-02-142-0/+36
|
* Patch #1657276: Make NETLINK_DNRTMSG conditional.Martin v. Löwis2007-02-131-0/+2
| | | | Will backport.
* Bug #1653736: Complain about keyword arguments to time.isoformat.Martin v. Löwis2007-02-081-2/+2
| | | | Will backport to 2.5.
* Do not let overflows in enumerate() and count() pass silently.Raymond Hettinger2007-02-081-0/+5
|
* Check for a common user error with defaultdict().Raymond Hettinger2007-02-071-1/+7
|
* Bug #1645944: os.access now returns bool but docstring is not updatedGeorg Brandl2007-01-271-1/+1
|
* Fix for #1643874: When calling SysAllocString, create a PyCObjectThomas Heller2007-01-251-8/+21
| | | | which will eventually call SysFreeString to free the BSTR resource.
* Bug #1486663: don't reject keyword arguments for subclasses of builtinGeorg Brandl2007-01-214-15/+16
| | | | types.
* Patch #1610575: Add support for _Bool to struct.Martin v. Löwis2007-01-211-0/+49
|
* Replace C++ comments with C comments.Thomas Heller2007-01-171-8/+12
|
* Patch #1635058 by Mark Roberts: ensure that htonl and friends never accept orGuido van Rossum2007-01-141-4/+24
| | | | return negative numbers, per the underlying C implementation.
* Merged changes from standalone version 2.3.3. This should probably all beGerhard Häring2007-01-1418-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 definitionsThomas Heller2007-01-111-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 Heller2007-01-101-1/+1
|
* Fix zero-length corner case for iterating over a mutating deque.Raymond Hettinger2007-01-081-3/+2
|
* Silence a warning from gcc 4.0.1 by specifying a function's parameter list isBrett Cannon2007-01-051-1/+1
| | | | 'void' instead of just a set of empty parentheses.
* bump module version to match supported berkeleydb versionGregory P. Smith2007-01-051-1/+1
|
* Support linking of the bsddb module against BerkeleyDB 4.5.xGregory P. Smith2007-01-051-0/+8
| | | | (will backport to 2.5)
* Bug #1566280: Explicitly invoke threading._shutdown from Py_Main,Martin v. Löwis2007-01-041-0/+29
| | | | | to avoid relying on atexit. Will backport to 2.5.
* Fix typo.Walter Dörwald2006-12-211-1/+1
|
* Comment typoAndrew M. Kuchling2006-12-191-1/+1
|
* [Patch #1615868 by Lars Gustaebel] Use Py_off_t to fix BZ2File.seek() for ↵Andrew M. Kuchling2006-12-181-1/+1
| | | | offsets > 2Gb
* Patch #1544279: Improve thread-safety of the socket module by movingMartin v. Löwis2006-12-032-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 Heller2006-11-281-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 Heller2006-11-241-3/+13
|
* Bug #1599782: Fix segfault on bsddb.db.DB().type().Neal Norwitz2006-11-211-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.