summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* revert #1493701Bob Ippolito2006-05-232-337/+275
|
* Patch #1493701: performance enhancements for struct module.Bob Ippolito2006-05-232-275/+337
|
* Patch #1492356: Port to Windows CE (patch set 1).Martin v. Löwis2006-05-224-110/+115
|
* Patch #1490224: set time.altzone correctly on Cygwin.Georg Brandl2006-05-171-1/+1
|
* Fix typo in os.utime docstring (patch #1490189)Georg Brandl2006-05-171-1/+1
|
* PyZlib_copy(), PyZlib_uncopy(): Repair leaks on the normal-case path.Tim Peters2006-05-171-5/+9
|
* Patch #1435422: zlib's compress and decompress objects now have aGeorg Brandl2006-05-161-0/+102
| | | | copy() method.
* - Test for sys/statvfs.h before including it, as statvfs is presentMartin v. Löwis2006-05-161-5/+5
| | | | | on some OSX installation, but its header file is not. Will backport to 2.4
* Fix memory leak.Martin v. Löwis2006-05-151-0/+1
|
* Remove lie in new comment.Tim Peters2006-05-131-3/+1
|
* Teach PyString_FromFormat, PyErr_Format, and PyString_FromFormatVTim Peters2006-05-131-4/+43
| | | | | | | | | | | | about "%u", "%lu" and "%zu" formats. Since PyString_FromFormat and PyErr_Format have exactly the same rules (both inherited from PyString_FromFormatV), it would be good if someone with more LaTeX Fu changed one of them to just point to the other. Their docs were way out of synch before this patch, and I just did a mass copy+paste to repair that. Not a backport candidate (this is a new feature).
* Fix alignment error on Itanium.Martin v. Löwis2006-05-121-3/+6
|
* Dynamically allocate path name buffer for UnicodeMartin v. Löwis2006-05-121-17/+28
| | | | | | path name in listdir. Fixes #1431582. Stop overallocating MAX_PATH characters for ANSI path names. Stop assigning to errno.
* Don't mask a no memory error with a less meaningful one as discussed on ↵Neal Norwitz2006-05-111-3/+1
| | | | python-checkins
* Fix problems found by Coverity.Neal Norwitz2006-05-103-4/+8
| | | | | | | | | | | | | longobject.c: also fix an ssize_t problem <a> could have been NULL, so hoist the size calc to not use <a>. _ssl.c: under fail: self is DECREF'd, but it would have been NULL. _elementtree.c: delete self if there was an error. _csv.c: I'm not sure if lineterminator could have been anything other than a string. However, other string method calls are checked, so check this one too.