473,320 Members | 2,164 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Re: How to make py2.5 distutil to use VC2005?

On Wed, Jun 4, 2008 at 11:38 AM, 甜瓜 <li**************@gmail.comwrote:
Well, IMO, the format of binary files generated by VC2003 and
VC2005 is compatible in most cases.
Problem arise with the C runtime, not with object file format. In
particular, python uses the C api for file handling, and the standard
C is definitely not ABI compatible within VS versions.

I strongly advise you against using VS 2005 (with the binary python;
if you build python by yourself, then no problem; I don't know if it
is possible to build python with VS 2005). You *will* get crashes in
many cases.

David
Jun 27 '08 #1
1 1148
On 6ÔÂ4ÈÕ, ÏÂÎç9ʱ47·Ö, "David Cournapeau" <courn...@gmail.comwrote:
On Wed, Jun 4, 2008 at 11:38 AM, Ìð¹Ï <littlesweetme...@gmail.com>wrote:
Well, IMO, the format of binary files generated by VC2003 and
VC2005 is compatible in most cases.

Problem arise with the C runtime, not with object file format. In
particular, python uses the C api for file handling, and the standard
C is definitely not ABI compatible within VS versions.

I strongly advise you against using VS 2005 (with the binary python;
if you build python by yourself, then no problem; I don't know if it
is possible to build python with VS 2005). You *will* get crashes in
many cases.

David
My stupid question: if there is something between VS 2003 and VS 2005
incompatible, what
about MINGW for python2.5(VS 2003)? Is it safe, or just as (un)safe
as VS 2005?
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Holger Joukl | last post by:
Hi, what version of python are you using? I got the same error when invoking a customized, 2-year-old version of distutils with python 2.3.3 (instead of 1.5.2, as before). Reason is code in...
2
by: indiana | last post by:
Thanks in advance. I have a vc6 dll that is currently called by a vc6 exe and want to call it from a vc2005 dll. The vc6 exe using the following header extern "C" __declspec(dllimport) int...
2
by: adebaene | last post by:
Hello all, I just checked that the following did compile with VC2005 b2, and I think it shouldn't: template <typename T> struct A { typedef int Foo; };
2
by: ClydeL | last post by:
Compling a legacy VC6.0 program with the VC2005 compiler used mfc80 dlls. Do these get installed with the .NET runtime or do they need to be installed separately.
2
by: adebaene | last post by:
Hello group, There seems to be a bug int the interop layer in VC2005 when dealing with certain pointer types (or values?) Here is a repro case using Boost version 1.32 and C++/CLI : using...
7
by: Yuanfei | last post by:
Hi There, I just found that there is a problem in vc2005 regarding to time_t and localtime. See code snippets belows. Using this code segment, I found that when ut is 86200, the corresponding...
2
by: kittymaguire | last post by:
When I tried to use the IAxWinHostWindow interface in a MFC project I get the following An assert in CComTypeInfoHolder::GetTI(LCID lcid) at ATLASSUME(!InlineIsEqualGUID(*m_plibid, GUID_NULL)...
0
by: =?GB2312?B?zPC5zw==?= | last post by:
Howdy, This problem have puzzled me for a long time. I usually use python2.5 in Windows, while VC2005 is installed. However python25.lib is compiled by VC2003. When I use disutil to build some C...
0
by: Terry Reedy | last post by:
"??" <littlesweetmelon@gmail.comwrote in message news:cdb837ea0806050201l10a91b40xfa28d29de18fed30@mail.gmail.com... | When you use distutil to trigger compilation, a special *python script* |...
1
by: Yoavo | last post by:
Hi, I have the following code: class AA { public int Width { get; set; } } this compiles ok on VC2008 but fails in VC2005. What is the reason and how can I build it ok in VC2005 ?
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.