summaryrefslogtreecommitdiff
path: root/Modules/_struct.c
AgeCommit message (Expand)AuthorLines
2009-10-08Issue #7078: _struct.__doc__ was being ignored. Import it into struct.Mark Dickinson-8/+10
2009-09-27Eliminate unnecessary get_wrapped_(u)long defines in struct module.Mark Dickinson-9/+6
2009-07-07Issue #1523: Remove deprecated overflow masking in struct module, andMark Dickinson-219/+32
2009-07-07Typo in error messageMark Dickinson-1/+1
2009-07-05Issues #1530559, #1741130: Fix various inconsistencies in struct.packMark Dickinson-109/+107
2009-05-29Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-gJeffrey Yasskin-0/+2
2009-01-01#4228: Pack negative values the same way as 2.4Georg Brandl-6/+6
2008-09-30Victor Stinner's patches to check the return result of PyLong_Ssize_tBenjamin Peterson-0/+2
2008-06-11Merge in release25-maint r60793:Gregory P. Smith-0/+6
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-19/+19
2008-05-26Renamed PyString to PyBytesChristian Heimes-19/+19
2008-03-05Issue 1872: Changed the struct module typecode from 't' to '?', forThomas Heller-3/+3
2008-02-16Crashers of the day: Py_CLEAR must be used when there is a chance that theAmaury Forgeot d'Arc-1/+1
2008-01-18clearcache() needs to remove the dict as well as clear it.Raymond Hettinger-2/+1
2008-01-04Added _struct._clearcache() for regression testsChristian Heimes-1/+13
2008-01-04Finish-up the struct module optimizations started at the Iceland NFS sprint.Raymond Hettinger-1/+205
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-4/+4
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-6/+5
2007-05-22Stop using METH_OLDARGS implicitlyNeal Norwitz-1/+1
2007-04-25Make pythoncore compile cleanly with VisualStudio 2005. Used an explicit typ...Kristján Valur Jónsson-2/+2
2007-04-05Bug #1563759: struct.unpack doens't support buffer protocol objectsRaymond Hettinger-7/+25
2007-01-21Patch #1610575: Add support for _Bool to struct.Martin v. Löwis-0/+49
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