Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Conversion of exceptions over from faked-up classes to new-style C types. | Richard Jones | 2006-05-27 | 1 | -2/+0 | |
| | ||||||
* | Fix up struct docstrings, add struct.pack_to function for symmetry | Bob Ippolito | 2006-05-27 | 1 | -8/+8 | |
| | ||||||
* | Remove the range checking and int usage #defines from _struct and strip out ↵ | Bob Ippolito | 2006-05-27 | 1 | -63/+8 | |
| | | | | the now-dead code | |||||
* | Explain why 'consumed' is initialized. | Martin v. Löwis | 2006-05-27 | 1 | -8/+4 | |
| | ||||||
* | Patch 1494554: Update numeric properties to Unicode 4.1. | Martin v. Löwis | 2006-05-27 | 1 | -2/+2 | |
| | ||||||
* | Fix compiler warning (and whitespace) on Mac OS 10.4. (A lot of this code ↵ | Neal Norwitz | 2006-05-27 | 1 | -4/+4 | |
| | | | | looked duplicated, I wonder if a utility function could help reduce the duplication here.) | |||||
* | enable all of the struct tests, use ssize_t, fix some whitespace | Bob Ippolito | 2006-05-26 | 1 | -58/+67 | |
| | ||||||
* | Replace Py_BuildValue("OO") by PyTuple_Pack. | Georg Brandl | 2006-05-26 | 1 | -1/+1 | |
| | ||||||
* | Repair Windows compiler warnings about mixing | Tim Peters | 2006-05-26 | 1 | -2/+2 | |
| | | | | signed and unsigned integral types in comparisons. | |||||
* | fix signed/unsigned mismatch in struct | Bob Ippolito | 2006-05-26 | 1 | -2/+2 | |
| | ||||||
* | Enable PY_USE_INT_WHEN_POSSIBLE in struct | Bob Ippolito | 2006-05-26 | 1 | -3/+1 | |
| | ||||||
* | Fix _struct typo that broke some 64-bit platforms | Bob Ippolito | 2006-05-26 | 1 | -1/+1 | |
| | ||||||
* | Fix distutils so that libffi will cross-compile between darwin/x86 and ↵ | Bob Ippolito | 2006-05-26 | 1 | -1/+1 | |
| | | | | darwin/ppc | |||||
* | fix #1229380 No struct.pack exception for some out of range integers | Bob Ippolito | 2006-05-26 | 1 | -10/+93 | |
| | ||||||
* | Support for buffer protocol for socket and struct. | Martin Blais | 2006-05-26 | 3 | -176/+436 | |
| | | | | | | | | | | * Added socket.recv_buf() and socket.recvfrom_buf() methods, that use the buffer protocol (send and sendto already did). * Added struct.pack_to(), that is the corresponding buffer compatible method to unpack_from(). * Fixed minor typos in arraymodule. | |||||
* | use Py_ssize_t in places that may need it | Jack Diederich | 2006-05-26 | 1 | -25/+25 | |
| | ||||||
* | Repair idiot typo, and complete the job of trying to | Tim Peters | 2006-05-25 | 1 | -4/+4 | |
| | | | | use the Windows time.clock() implementation on Win64. | |||||
* | Move over to use of METH_O and METH_NOARGS. | Brett Cannon | 2006-05-25 | 1 | -12/+24 | |
| | ||||||
* | Add missing files from x86 darwin ctypes patch | Bob Ippolito | 2006-05-25 | 3 | -0/+830 | |
| | ||||||
* | Some Win64 pre-release in 2000 didn't support | Tim Peters | 2006-05-25 | 1 | -4/+3 | |
| | | | | | | | | QueryPerformanceCounter(), but we believe Win64 does support it now. So use in time.clock(). It would be peachy if someone with a Win64 box tried this ;-) | |||||
* | Fix minor typo in prep_cif.c | Ronald Oussoren | 2006-05-25 | 1 | -1/+1 | |
| | ||||||
* | fix test_float regression and 64-bit size mismatch issue | Bob Ippolito | 2006-05-25 | 1 | -2/+16 | |
| | ||||||
* | enable darwin/x86 support for libffi and hence ctypes (doesn't yet support ↵ | Bob Ippolito | 2006-05-25 | 9 | -6/+120 | |
| | | | | --enable-universalsdk) | |||||
* | Use faster struct pack/unpack functions for the endian table that matches ↵ | Bob Ippolito | 2006-05-25 | 1 | -3/+27 | |
| | | | | the host's | |||||
* | Use LONG_MIN and LONG_MAX to check Python integer bounds instead of the ↵ | Bob Ippolito | 2006-05-25 | 1 | -10/+13 | |
| | | | | incorrect INT_MIN and INT_MAX | |||||
* | Replace PyObject_CallFunction calls with only object args | Georg Brandl | 2006-05-25 | 3 | -5/+5 | |
| | | | | with PyObject_CallFunctionObjArgs, which is 30% faster. | |||||
* | fix a struct regression where long would be returned for short unsigned integers | Bob Ippolito | 2006-05-25 | 1 | -0/+6 | |
| | ||||||
* | Fix Cygwin compiler issue | Bob Ippolito | 2006-05-25 | 1 | -1/+5 | |
| | ||||||
* | Struct now unpacks to PY_LONG_LONG directly when possible, also include ↵ | Bob Ippolito | 2006-05-25 | 1 | -6/+88 | |
| | | | | #ifdef'ed out code that will return int instead of long when in bounds (not active since it's an API and doc change) | |||||
* | refactor unpack, add unpack_from | Bob Ippolito | 2006-05-24 | 1 | -62/+108 | |
| | ||||||
* | fix typo in _struct | Bob Ippolito | 2006-05-23 | 1 | -2/+2 | |
| | ||||||
* | forward declaration for PyStructType | Bob Ippolito | 2006-05-23 | 1 | -0/+1 | |
| | ||||||
* | fix linking issue, warnings, in struct | Bob Ippolito | 2006-05-23 | 1 | -4/+0 | |
| | ||||||
* | patch #1493701: performance enhancements for struct module | Bob Ippolito | 2006-05-23 | 2 | -0/+1355 | |
| | ||||||
* | patch #1493701: performance enhancements for struct module | Bob Ippolito | 2006-05-23 | 2 | -1294/+1 | |
| |