Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | revert #1493701 | Bob Ippolito | 2006-05-23 | 2 | -337/+275 |
| | |||||
* | Patch #1493701: performance enhancements for struct module. | Bob Ippolito | 2006-05-23 | 2 | -275/+337 |
| | |||||
* | Patch #1492356: Port to Windows CE (patch set 1). | Martin v. Löwis | 2006-05-22 | 4 | -110/+115 |
| | |||||
* | Patch #1490224: set time.altzone correctly on Cygwin. | Georg Brandl | 2006-05-17 | 1 | -1/+1 |
| | |||||
* | Fix typo in os.utime docstring (patch #1490189) | Georg Brandl | 2006-05-17 | 1 | -1/+1 |
| | |||||
* | PyZlib_copy(), PyZlib_uncopy(): Repair leaks on the normal-case path. | Tim Peters | 2006-05-17 | 1 | -5/+9 |
| | |||||
* | Patch #1435422: zlib's compress and decompress objects now have a | Georg Brandl | 2006-05-16 | 1 | -0/+102 |
| | | | | copy() method. | ||||
* | - Test for sys/statvfs.h before including it, as statvfs is present | Martin v. Löwis | 2006-05-16 | 1 | -5/+5 |
| | | | | | on some OSX installation, but its header file is not. Will backport to 2.4 | ||||
* | Fix memory leak. | Martin v. Löwis | 2006-05-15 | 1 | -0/+1 |
| | |||||
* | Remove lie in new comment. | Tim Peters | 2006-05-13 | 1 | -3/+1 |
| | |||||
* | Teach PyString_FromFormat, PyErr_Format, and PyString_FromFormatV | Tim Peters | 2006-05-13 | 1 | -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öwis | 2006-05-12 | 1 | -3/+6 |
| | |||||
* | Dynamically allocate path name buffer for Unicode | Martin v. Löwis | 2006-05-12 | 1 | -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 Norwitz | 2006-05-11 | 1 | -3/+1 |
| | | | | python-checkins | ||||
* | Fix problems found by Coverity. | Neal Norwitz | 2006-05-10 | 3 | -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. |