Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Buffer objects would return the read or write buffer for a wrapped object when | Brett Cannon | 2006-06-08 | 1 | -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 actually | Brett Cannon | 2006-06-08 | 1 | -1/+1 |
| | | | | match its documentation stating it accepts any read-only buffer. | ||||
* | Fix a refleak in recvfrom_into | Neal Norwitz | 2006-06-08 | 1 | -1/+1 |
| | |||||
* | Fix for foreign functions returning small structures on 64-bit big | Thomas Heller | 2006-06-07 | 1 | -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 Heller | 2006-06-06 | 1 | -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-bit | Thomas Heller | 2006-06-06 | 1 | -1/+6 |
| | | | | big endian platforms. | ||||
* | BSequence_set_range(): Rev 46688 ("Fix a bunch of | Tim Peters | 2006-06-06 | 1 | -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 Heller | 2006-06-06 | 1 | -1/+2 |
| | |||||
* | Convert CFieldObject tp_members to tp_getset, since there is no | Thomas Heller | 2006-06-06 | 1 | -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 strings | Neal Norwitz | 2006-06-06 | 1 | -7/+7 |
| | |||||
* | Remove unused variable (and stop compiler warning) | Neal Norwitz | 2006-06-06 | 1 | -1/+0 |
| | |||||
* | - bsddb: the __len__ method of a DB object has been fixed to return correct | Gregory P. Smith | 2006-06-05 | 1 | -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= is | Gregory P. Smith | 2006-06-05 | 1 | -4/+4 |
| | | | | supplied [SF pybsddb bug #1477863] | ||||
* | * add support for DBSequence objects [patch #1466734] | Gregory P. Smith | 2006-06-05 | 1 | -6/+455 |
| | |||||
* | * support DBEnv.lsn_reset() method on BerkeleyDB >= 4.4 [patch #1494902] | Gregory P. Smith | 2006-06-05 | 1 | -0/+25 |
| | |||||
* | * support DBEnv.log_stat() method on BerkeleyDB >= 4.0 [patch #1494885] | Gregory P. Smith | 2006-06-05 | 1 | -0/+68 |
| | |||||
* | Fix a potentially invalid memory access of CJKCodecs' shift-jis | Hye-Shik Chang | 2006-06-05 | 1 | -1/+2 |
| | | | | decoder. (found by Neal Norwitz) | ||||
* | fix a bug in the previous commit. don't leak empty list on error return and | Gregory P. Smith | 2006-06-05 | 1 | -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 present | Gregory P. Smith | 2006-06-05 | 1 | -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 Peters | 2006-06-04 | 1 | -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öwis | 2006-06-04 | 1 | -0/+10 |
| | |||||
* | s_methods[]: Stop compiler warnings by casting | Tim Peters | 2006-06-04 | 1 | -1/+2 |
| | | | | s_unpack_from to PyCFunction. | ||||
* | Fixes in struct and socket from merge reviews. | Martin Blais | 2006-06-04 | 2 | -50/+51 |
| | | | | | | | | | | | | | - Following Guido's comments, renamed * pack_to -> pack_into * recv_buf -> recv_into * recvfrom_buf -> recvfrom_into - Made fixes to _struct.c according to Neal Norwitz comments on the checkins list. - Converted some ints into the appropriate -- I hope -- ssize_t and size_t. | ||||
* | Patch #1454481: Make thread stack size runtime tunable. | Andrew MacIntyre | 2006-06-04 | 1 | -0/+48 |
| | |||||
* | "_self" is a said to be a reserved word in Watcom C 10.6. I'm | Fredrik Lundh | 2006-06-03 | 1 | -2/+2 |
| | | | | | not sure that's really standard compliant behaviour, but I guess we have to fix that anyway... | ||||
* | [Bug #1497414] _self is a reserved word in the WATCOM 10.6 C compiler. | Andrew M. Kuchling | 2006-06-03 | 1 | -15/+15 |
| | | | | | | | | | | Fix by renaming the variable. In a different module, Neal fixed it by renaming _self to self. There's already a variable named 'self' here, so I used selfptr. (I'm committing this on a Mac without Tk, but it's a simple search-and-replace. <crosses fingers>, so I'll watch the buildbots and see what happens.) | ||||
* | More memory leaks from valgrind | Neal Norwitz | 2006-06-02 | 1 | -0/+4 |
| | |||||
* | Repaired error in new comment. | Tim Peters | 2006-05-31 | 1 | -4/+4 |
| | |||||
* | _range_error(): Speed and simplify (there's no real need for | Tim Peters | 2006-05-31 | 1 | -17/+19 |
| | | | | | loops here). Assert that size_t is actually big enough, and that f->size is at least one. Wrap a long line. | ||||
* | Trimmed trailing whitespace. | Tim Peters | 2006-05-31 | 1 | -22/+22 |
| | |||||
* | PyTuple_Pack is not available in Python 2.3, but ctypes must stay | Thomas Heller | 2006-05-31 | 1 | -1/+1 |
| | | | | compatible with that. | ||||
* | Calculate smallest properly (it was off by one) and use proper ssize_t types ↵ | Neal Norwitz | 2006-05-31 | 1 | -5/+5 |
| | | | | for Win64 | ||||
* | Change wrapping terminology to overflow masking | Bob Ippolito | 2006-05-30 | 1 | -18/+18 |
| | |||||
* | Simplify further by using AddStringConstant | Neal Norwitz | 2006-05-30 | 1 | -4/+2 |
| | |||||
* | struct: modulo math plus warning on all endian-explicit formats for ↵ | Bob Ippolito | 2006-05-29 | 1 | -11/+163 |
| | | | | compatibility with older struct usage (ugly) | ||||
* | Whoops. | Georg Brandl | 2006-05-29 | 1 | -2/+6 |
| | |||||
* | Convert more modules to METH_VARARGS. | Georg Brandl | 2006-05-29 | 2 | -15/+10 |
| | |||||
* | Make use of METH_O and METH_NOARGS where possible. | Georg Brandl | 2006-05-29 | 24 | -401/+183 |
| | | | | Use Py_UnpackTuple instead of PyArg_ParseTuple where possible. | ||||
* | Correct some value converting strangenesses. | Georg Brandl | 2006-05-29 | 2 | -4/+4 |
| | |||||
* | Silence a warning. | Armin Rigo | 2006-05-29 | 1 | -1/+1 |
| | |||||
* | simplify the struct code a bit (no functional changes) | Bob Ippolito | 2006-05-29 | 1 | -23/+31 |
| | |||||
* | Convert fmmodule to METH_VARARGS. | Georg Brandl | 2006-05-29 | 1 | -11/+11 |
| | |||||
* | Apply modified version of Collin Winter's patch #1478788 | Nick Coghlan | 2006-05-29 | 1 | -6/+6 |
| | | | | | | Renames functional extension module to _functools and adds a Python functools module so that utility functions like update_wrapper can be added easily. | ||||
* | Fix refleak in socketmodule. Replace bogus Py_BuildValue calls. | Georg Brandl | 2006-05-29 | 1 | -3/+5 |
| | | | | Fix refleak in exceptions. | ||||
* | METH_NOARGS functions do get called with two args. | Georg Brandl | 2006-05-28 | 1 | -5/+5 |
| | |||||
* | Convert audioop over to METH_VARARGS. | Georg Brandl | 2006-05-28 | 1 | -60/+66 |
| | |||||
* | Fix C function calling conventions in _sre module. | Georg Brandl | 2006-05-28 | 1 | -38/+18 |
| | |||||
* | Fix ref-antileak in _struct.c which eventually lead to deallocating None. | Georg Brandl | 2006-05-28 | 1 | -1/+1 |
| | |||||
* | fix struct regression on 64-bit platforms | Bob Ippolito | 2006-05-27 | 1 | -22/+36 |
| | |||||
* | needforspeed: use PyObject_MALLOC instead of system malloc for small | Jack Diederich | 2006-05-27 | 1 | -4/+4 |
| | | | | allocations. Use PyMem_MALLOC for larger (1k+) chunks. 1%-2% speedup. |