[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-30 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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 rep...@bugs.python.org

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-30 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Applied in r77842 (trunk), r77843 (py3k). -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7767

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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-29 Thread Case Van Horsen
Case Van Horsen cas...@gmail.com 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. --

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-24 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - mark.dickinson nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7767 ___

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-23 Thread Case Van Horsen
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

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-23 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- components: +Interpreter Core -Extension Modules keywords: +needs review priority: - normal stage: - patch review versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org