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 eGenix.com
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 http://www.egenix.com/company/contact/