New submission from Case Van Horsen <cas...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7767>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to