summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Patch #1506645: add Python wrappers for the curses functionsWalter Dörwald2006-06-191-1/+66
| | | | | is_term_resized, resize_term and resizeterm. This uses three separate configure checks (one for each function).
* Fix memory leak reported by valgrind while running test_subprocessNeal Norwitz2006-06-171-0/+2
|
* Speculative checkin (requires approval of Gerhard Haering)Neal Norwitz2006-06-151-0/+2
| | | | | | | | | This backs out the test changes in 46962 which prevented crashes by not running the tests via a version check. All the version checks added in that rev were removed from the tests. Code was added to the error handler in connection.c that seems to work with older versions of sqlite including 3.1.3.
* - Added version checks in C code to make sure we don't trigger bugs in olderGerhard Häring2006-06-141-4/+15
| | | | | | | | | | | SQLite versions. - Added version checks in test suite so that we don't execute tests that we know will fail with older (buggy) SQLite versions. Now, all tests should run against all SQLite versions from 3.0.8 until 3.3.6 (latest one now). The sqlite3 module can be built against all these SQLite versions and the sqlite3 module does its best to not trigger bugs in SQLite, but using SQLite 3.3.3 or later is recommended.
* Patch #1455898: Incremental mode for "mbcs" codec.Martin v. Löwis2006-06-141-5/+10
|
* Merged changes from external pysqlite 2.3.0 release. Documentation updates willGerhard Häring2006-06-134-58/+266
| | | | follow in a few hours at the latest. Then we should be ready for beta1.
* Remove unused variable.Brett Cannon2006-06-131-1/+0
|
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-131-0/+58
| | | | | | | | | | Heavily revised, comprising revisions: 46640 - original trunk revision (backed out in r46655) 46647 - markup fix (backed out in r46655) 46692:46918 merged from branch aimacintyre-sf1454481 branch tested on buildbots (Windows buildbots had problems not related to these changes).
* Add pep-291 compatibility markers.Thomas Heller2006-06-129-2/+37
|
* Fix the CRT argument error handling for VisualStudio .NET 2005. Install a ↵Kristján Valur Jónsson2006-06-121-0/+8
| | | | | | CRT error handler and disable the assertion for debug builds. This causes CRT to set errno to EINVAL. This update fixes crash cases in the test suite where the default CRT error handler would cause process exit.
* Make the -m switch conform to the documentation of sys.path by behaving like ↵Nick Coghlan2006-06-121-2/+3
| | | | the -c switch
* I don't know how that happend, but the entire file contents wasThomas Heller2006-06-121-195/+0
| | | | duplicated. Thanks to Simon Percivall for the heads up.
* Get rid of function pointer cast.Martin v. Löwis2006-06-121-3/+3
|
* Patch #1503046, Conditional compilation of zlib.(de)compressobj.copyNeal Norwitz2006-06-121-0/+6
| | | | | copy is only in newer versions of zlib. This should allow zlibmodule to work with older versions like the Tru64 buildbot.
* Impl ssize_tNeal Norwitz2006-06-122-105/+110
|
* Fix some Py_ssize_t issuesNeal Norwitz2006-06-123-9/+10
|
* Fix some Py_ssize_t issuesNeal Norwitz2006-06-121-5/+6
|
* Cleanup Py_ssize_t a little (get rid of second #ifdef)Neal Norwitz2006-06-121-5/+2
|
* Release the GIL during COM method calls, to avoid deadlocks inThomas Heller2006-06-111-3/+10
| | | | Python coded COM objects.
* Wrap some long linesNeal Norwitz2006-06-111-15/+10
| | | | | Top/Bottom factor out some common expressions Add a XXX comment about widing offset.
* Fix Coverity # 146. newDBSequenceObject would deref dbobj, so it can't be NULL.Neal Norwitz2006-06-111-4/+2
| | | | | We know it's not NULL from the ParseTuple and DbObject_Check will verify it's not NULL.
* Handle failure of PyMem_Realloc.Thomas Heller2006-06-101-1/+4
|
* Don't use C++ comment.Thomas Heller2006-06-101-1/+1
|
* Fix the second occurrence of the problematic printf format.Thomas Heller2006-06-101-5/+1
|
* Fix a wrong printf format.Thomas Heller2006-06-101-6/+1
|
* Upgrade to ctypes version 0.9.9.7.Thomas Heller2006-06-106-284/+496
| | | | | | | | Summary of changes: - support for 'variable sized' data - support for anonymous structure/union fields - fix severe bug with certain arrays or structures containing more than 256 fields
* Patch #1495999: Part two of Windows CE changes.Martin v. Löwis2006-06-108-6/+32
| | | | | | - update header checks, using autoconf - provide dummies for getenv, environ, and GetVersion - adjust MSC_VER check in socketmodule.c
* Turn off warning about deprecated CRT functions on for VisualStudio .NET 2005.Kristján Valur Jónsson2006-06-091-0/+2
| | | | Make the definition #ARRAYSIZE conditional. VisualStudio .NET 2005 already has it defined using a better gimmick.
* Buffer objects would return the read or write buffer for a wrapped object whenBrett Cannon2006-06-081-0/+1
| | | | | | | | | the char buffer was requested. Now it actually returns the char buffer if available or raises a TypeError if it isn't (as is raised for the other buffer types if they are not present but requested). Not a backport candidate since it does change semantics of the buffer object (although it could be argued this is enough of a bug to bother backporting).
* Make binascii.hexlify() use s# for its arguments instead of t# to actuallyBrett Cannon2006-06-081-1/+1
| | | | match its documentation stating it accepts any read-only buffer.
* Fix a refleak in recvfrom_intoNeal Norwitz2006-06-081-1/+1
|
* Fix for foreign functions returning small structures on 64-bit bigThomas Heller2006-06-071-1/+3
| | | | | | | | endian machines. Should fix the remaininf failure in the PPC64 Debian buildbot. Thanks to Matthias Klose for providing access to a machine to debug and test this.
* Use the same big-endian hack as in _ctypes/callproc.c for callback functions.Thomas Heller2006-06-061-36/+7
| | | | This fixes the callback function tests that return float.
* Add a hack so that foreign functions returning float now do work on 64-bitThomas Heller2006-06-061-1/+6
| | | | big endian platforms.
* BSequence_set_range(): Rev 46688 ("Fix a bunch ofTim Peters2006-06-061-1/+1
| | | | | | parameter strings") changed this function's signature seemingly by mistake, which is causing buildbots to fail test_bsddb3. Restored the pre-46688 signature.
* Damn - the sentinel was missing. And fix another silly mistake.Thomas Heller2006-06-061-1/+2
|
* Convert CFieldObject tp_members to tp_getset, since there is noThomas Heller2006-06-061-11/+25
| | | | | | | | structmember typecode for Py_ssize_t fields. This should fix some of the errors on the PPC64 debian machine (64-bit, big endian). Assigning to readonly fields now raises AttributeError instead of TypeError, so the testcase has to be changed as well.
* Fix a bunch of parameter stringsNeal Norwitz2006-06-061-7/+7
|
* Remove unused variable (and stop compiler warning)Neal Norwitz2006-06-061-1/+0
|
* - bsddb: the __len__ method of a DB object has been fixed to return correctGregory P. Smith2006-06-051-6/+17
| | | | | results. It could previously incorrectly return 0 in some cases. Fixes SF bug 1493322 (pybsddb bug 1184012).
* * fix DBCursor.pget() bug with keyword argument names when no data= isGregory P. Smith2006-06-051-4/+4
| | | | supplied [SF pybsddb bug #1477863]
* * add support for DBSequence objects [patch #1466734]Gregory P. Smith2006-06-051-6/+455
|
* * support DBEnv.lsn_reset() method on BerkeleyDB >= 4.4 [patch #1494902]Gregory P. Smith2006-06-051-0/+25
|
* * support DBEnv.log_stat() method on BerkeleyDB >= 4.0 [patch #1494885]Gregory P. Smith2006-06-051-0/+68
|
* Fix a potentially invalid memory access of CJKCodecs' shift-jisHye-Shik Chang2006-06-051-1/+2
| | | | decoder. (found by Neal Norwitz)
* fix a bug in the previous commit. don't leak empty list on error return andGregory P. Smith2006-06-051-4/+7
| | | | | fix the additional rare (out of memory only) bug that it was supposed to fix of not freeing log_list when the python allocator failed.
* bugfix: when log_archive was called with the DB_ARCH_REMOVE flag presentGregory P. Smith2006-06-051-5/+9
| | | | | | | in BerkeleyDB >= 4.2 it tried to construct a list out of an uninitialized char **log_list. feature: export the DB_ARCH_REMOVE flag by name in the module on BerkeleyDB >= 4.2.
* Revert revisions:Tim Peters2006-06-041-48/+0
| | | | | | | | | | | | | | | | 46640 Patch #1454481: Make thread stack size runtime tunable. 46647 Markup fix The first is causing many buildbots to fail test runs, and there are multiple causes with seemingly no immediate prospects for repairing them. See python-dev discussion. Note that a branch can (and should) be created for resolving these problems, like svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH followed by merging rev 46647 to the new branch.
* Patch #1359618: Speed-up charmap encoder.Martin v. Löwis2006-06-041-0/+10
|
* s_methods[]: Stop compiler warnings by castingTim Peters2006-06-041-1/+2
| | | | s_unpack_from to PyCFunction.