]> granicus.if.org Git - python/commit
Changed the ``add/sub_offset'' hacks for dealing with C's unsigned
authorGuido van Rossum <guido@python.org>
Fri, 3 Jan 1997 19:08:16 +0000 (19:08 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 3 Jan 1997 19:08:16 +0000 (19:08 +0000)
commit6c87ecaff196348edc380f08643f48618e6d96d5
treec6a72aa04c5776cc01a7da3c77512b9d10d3b811
parent04ebf5ca5d45a7e40326226c4ce07afdc17e521f
Changed the ``add/sub_offset'' hacks for dealing with C's unsigned
int/long types, and use the new PyLong_FromUnsignedLong() and
PyLong_AsUnsignedLong() interfaces instead.

Semantic change: the 'I' format will now always return a long int.
Modules/structmodule.c