[New-bugs-announce] [issue7767] Add PyLong_AsLongLongAndOverflow
Case Van Horsen
report at bugs.python.org
Sun Jan 24 02:16:49 CET 2010
New submission from Case Van Horsen <casevh at gmail.com>:
There are "Long" and "LongLong" variants for most of the C API functions that work with PyLong. This patch adds a "LongLong" version of PyLong_AsLongAndOverflow.
This function will be helpful on 64-bit Windows platforms to quickly get a 64-bit integer or detect the need for multiple precision (or overflow).
I can use this functionality for gmpy.
----------
components: Extension Modules
files: patch_longlong.diff
keywords: patch
messages: 98203
nosy: casevh
severity: normal
status: open
title: Add PyLong_AsLongLongAndOverflow
type: feature request
versions: Python 2.7
Added file: http://bugs.python.org/file15985/patch_longlong.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7767>
_______________________________________
More information about the New-bugs-announce
mailing list