summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Whoops.Georg Brandl2006-05-291-2/+6
|
* Convert more modules to METH_VARARGS.Georg Brandl2006-05-292-15/+10
|
* Make use of METH_O and METH_NOARGS where possible.Georg Brandl2006-05-2924-401/+183
| | | | Use Py_UnpackTuple instead of PyArg_ParseTuple where possible.
* Correct some value converting strangenesses.Georg Brandl2006-05-292-4/+4
|
* Silence a warning.Armin Rigo2006-05-291-1/+1
|
* simplify the struct code a bit (no functional changes)Bob Ippolito2006-05-291-23/+31
|
* Convert fmmodule to METH_VARARGS.Georg Brandl2006-05-291-11/+11
|
* Apply modified version of Collin Winter's patch #1478788Nick Coghlan2006-05-291-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 Brandl2006-05-291-3/+5
| | | | Fix refleak in exceptions.
* METH_NOARGS functions do get called with two args.Georg Brandl2006-05-281-5/+5
|
* Convert audioop over to METH_VARARGS.Georg Brandl2006-05-281-60/+66
|
* Fix C function calling conventions in _sre module.Georg Brandl2006-05-281-38/+18
|
* Fix ref-antileak in _struct.c which eventually lead to deallocating None.Georg Brandl2006-05-281-1/+1
|
* fix struct regression on 64-bit platformsBob Ippolito2006-05-271-22/+36
|
* needforspeed: use PyObject_MALLOC instead of system malloc for smallJack Diederich2006-05-271-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 Jones2006-05-271-2/+0
|
* Fix up struct docstrings, add struct.pack_to function for symmetryBob Ippolito2006-05-271-8/+8
|
* Remove the range checking and int usage #defines from _struct and strip out ↵Bob Ippolito2006-05-271-63/+8
| | | | the now-dead code
* Explain why 'consumed' is initialized.Martin v. Löwis2006-05-271-8/+4
|
* Patch 1494554: Update numeric properties to Unicode 4.1.Martin v. Löwis2006-05-271-2/+2
|
* Fix compiler warning (and whitespace) on Mac OS 10.4. (A lot of this code ↵Neal Norwitz2006-05-271-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 whitespaceBob Ippolito2006-05-261-58/+67
|
* Replace Py_BuildValue("OO") by PyTuple_Pack.Georg Brandl2006-05-261-1/+1
|
* Repair Windows compiler warnings about mixingTim Peters2006-05-261-2/+2
| | | | signed and unsigned integral types in comparisons.
* fix signed/unsigned mismatch in structBob Ippolito2006-05-261-2/+2
|
* Enable PY_USE_INT_WHEN_POSSIBLE in structBob Ippolito2006-05-261-3/+1
|
* Fix _struct typo that broke some 64-bit platformsBob Ippolito2006-05-261-1/+1
|
* Fix distutils so that libffi will cross-compile between darwin/x86 and ↵Bob Ippolito2006-05-261-1/+1
| | | | darwin/ppc
* fix #1229380 No struct.pack exception for some out of range integersBob Ippolito2006-05-261-10/+93
|
* Support for buffer protocol for socket and struct.Martin Blais2006-05-263-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 itJack Diederich2006-05-261-25/+25
|
* Repair idiot typo, and complete the job of trying toTim Peters2006-05-251-4/+4
| | | | use the Windows time.clock() implementation on Win64.
* Move over to use of METH_O and METH_NOARGS.Brett Cannon2006-05-251-12/+24
|
* Add missing files from x86 darwin ctypes patchBob Ippolito2006-05-253-0/+830
|
* Some Win64 pre-release in 2000 didn't supportTim Peters2006-05-251-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.cRonald Oussoren2006-05-251-1/+1
|
* fix test_float regression and 64-bit size mismatch issueBob Ippolito2006-05-251-2/+16
|
* enable darwin/x86 support for libffi and hence ctypes (doesn't yet support ↵Bob Ippolito2006-05-259-6/+120
| | | | --enable-universalsdk)
* Use faster struct pack/unpack functions for the endian table that matches ↵Bob Ippolito2006-05-251-3/+27
| | | | the host's
* Use LONG_MIN and LONG_MAX to check Python integer bounds instead of the ↵Bob Ippolito2006-05-251-10/+13
| | | | incorrect INT_MIN and INT_MAX
* Replace PyObject_CallFunction calls with only object argsGeorg Brandl2006-05-253-5/+5
| | | | with PyObject_CallFunctionObjArgs, which is 30% faster.
* fix a struct regression where long would be returned for short unsigned integersBob Ippolito2006-05-251-0/+6
|
* Fix Cygwin compiler issueBob Ippolito2006-05-251-1/+5
|
* Struct now unpacks to PY_LONG_LONG directly when possible, also include ↵Bob Ippolito2006-05-251-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_fromBob Ippolito2006-05-241-62/+108
|
* fix typo in _structBob Ippolito2006-05-231-2/+2
|
* forward declaration for PyStructTypeBob Ippolito2006-05-231-0/+1
|
* fix linking issue, warnings, in structBob Ippolito2006-05-231-4/+0
|
* patch #1493701: performance enhancements for struct moduleBob Ippolito2006-05-232-0/+1355
|
* patch #1493701: performance enhancements for struct moduleBob Ippolito2006-05-232-1294/+1
|