[capi-sig] Fw: 32 bit to 64 bit migration of C-API(Python)

abhishek goswami zeal_goswami at yahoo.com
Mon Jan 28 12:18:57 CET 2013

No,I am on linux machine

Abhishek Goswami
Phone No -07829580867/9962270999
Skype : abhishekgoswami1

 From: M.-A. Lemburg <mal at egenix.com>
To: abhishek goswami <zeal_goswami at yahoo.com> 
Cc: "capi-sig at python.org" <capi-sig at python.org> 
Sent: Monday, 28 January 2013 3:06 PM
Subject: Re: [capi-sig] Fw: 32 bit to 64 bit migration of C-API(Python)
On 27.01.2013 07:35, abhishek goswami wrote:
> Hi,
> I am working in Python-C ApI (Integrated Project). The Project has migrated to 64 bit machine from 32 bit machine. Every thing was working fine in 32 bit machine.
> But we getting following error in 64 bit machine.
> " Python int too large to convert to C long".

I suppose you're on Windows. Windows longs are still 32-bit,
even on 64-bit platforms, so it's possible that you see overflow
errors such as the above when dealing with large integers.

You should be getting the same errors on your 32-bit builds, though,
so it's probably a good idea to check why you are not seeing them there.

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Jan 28 2013)
>>> Python Projects, Consulting and Support ...  http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ...      http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/

::::: Try our mxODBC.Connect Python Database Interface for free ! ::::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611

More information about the capi-sig mailing list