[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-30 Thread Mark Dickinson
Mark Dickinson added the comment: Applied in r77842 (trunk), r77843 (py3k). -- resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-30 Thread Mark Dickinson
Mark Dickinson added the comment: Ok, great. I'll add the PyInt_Check back in and commit the patch, then. I just wanted to check that I wasn't missing something obvious. Thank you! -- ___ Python tracker ___

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-29 Thread Case Van Horsen
Case Van Horsen added the comment: The missing PyInt_Check is a mistake. I probably thought I was working on a py3k version. Let me know if I should create a new patch or if I should create one for py3k. Thanks for the review. -- ___ Python tracke

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-29 Thread Mark Dickinson
Mark Dickinson added the comment: The proposed addition sounds entirely reasonable to me. In your patch, is there a reason for leaving out the first PyInt_Check (compare with PyLong_AsLongAndOverflow)? -- ___ Python tracker

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-24 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-23 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Interpreter Core -Extension Modules keywords: +needs review priority: -> normal stage: -> patch review versions: +Python 3.2 ___ Python tracker ___

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-23 Thread Case Van Horsen
New submission from Case Van Horsen : 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