summaryrefslogtreecommitdiff
path: root/Modules/_struct.c
AgeCommit message (Expand)AuthorLines
2006-08-04Fix #1530559, struct.pack raises TypeError where it used to convert.Bob Ippolito-0/+60
2006-07-30Add PyErr_WarnEx() so C code can pass the stacklevel to warnings.warn().Neal Norwitz-4/+6
2006-06-11Wrap some long linesNeal Norwitz-15/+10
2006-06-04s_methods[]: Stop compiler warnings by castingTim Peters-1/+2
2006-06-04Fixes in struct and socket from merge reviews.Martin Blais-15/+13
2006-05-31Repaired error in new comment.Tim Peters-4/+4
2006-05-31_range_error(): Speed and simplify (there's no real need forTim Peters-17/+19
2006-05-31Trimmed trailing whitespace.Tim Peters-22/+22
2006-05-31Calculate smallest properly (it was off by one) and use proper ssize_t types ...Neal Norwitz-5/+5
2006-05-30Change wrapping terminology to overflow maskingBob Ippolito-18/+18
2006-05-29struct: modulo math plus warning on all endian-explicit formats for compatibi...Bob Ippolito-11/+163
2006-05-29Silence a warning.Armin Rigo-1/+1
2006-05-29simplify the struct code a bit (no functional changes)Bob Ippolito-23/+31
2006-05-28Fix ref-antileak in _struct.c which eventually lead to deallocating None.Georg Brandl-1/+1
2006-05-27fix struct regression on 64-bit platformsBob Ippolito-22/+36
2006-05-27Fix up struct docstrings, add struct.pack_to function for symmetryBob Ippolito-8/+8
2006-05-27Remove the range checking and int usage #defines from _struct and strip out t...Bob Ippolito-63/+8
2006-05-26enable all of the struct tests, use ssize_t, fix some whitespaceBob Ippolito-58/+67
2006-05-26Repair Windows compiler warnings about mixingTim Peters-2/+2
2006-05-26fix signed/unsigned mismatch in structBob Ippolito-2/+2
2006-05-26Enable PY_USE_INT_WHEN_POSSIBLE in structBob Ippolito-3/+1
2006-05-26Fix _struct typo that broke some 64-bit platformsBob Ippolito-1/+1
2006-05-26fix #1229380 No struct.pack exception for some out of range integersBob Ippolito-10/+93
2006-05-26Support for buffer protocol for socket and struct.Martin Blais-37/+117
2006-05-25fix test_float regression and 64-bit size mismatch issueBob Ippolito-2/+16
2006-05-25Use faster struct pack/unpack functions for the endian table that matches the...Bob Ippolito-3/+27
2006-05-25Use LONG_MIN and LONG_MAX to check Python integer bounds instead of the incor...Bob Ippolito-10/+13
2006-05-25fix a struct regression where long would be returned for short unsigned integersBob Ippolito-0/+6
2006-05-25Fix Cygwin compiler issueBob Ippolito-1/+5
2006-05-25Struct now unpacks to PY_LONG_LONG directly when possible, also include #ifde...Bob Ippolito-6/+88
2006-05-24refactor unpack, add unpack_fromBob Ippolito-62/+108
2006-05-23fix typo in _structBob Ippolito-2/+2
2006-05-23forward declaration for PyStructTypeBob Ippolito-0/+1
2006-05-23fix linking issue, warnings, in structBob Ippolito-4/+0
2006-05-23patch #1493701: performance enhancements for struct moduleBob Ippolito-0/+1355
2006-05-23revert #1493701Bob Ippolito-1355/+0
2006-05-23Patch #1493701: performance enhancements for struct module.Bob Ippolito-0/+1355