[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2021-02-25 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2016-07-09 Thread Keno Fischer
Keno Fischer added the comment: Yes, you are correct about it being only an issue in the embedding context. I agree that it might not be a good idea to do do this for every library, but I wanted to revive the discussion since this kind of thing seems like something that comes up frequently

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2016-07-09 Thread Eryk Sun
Eryk Sun added the comment: This is only a problem for ctypes when python27.dll is used in an application that isn't manifested to load the "Microsoft.VC90.CRT" assembly. ctypes doesn't have this problem for a regular script run via the 2.7 version of python.exe, since the loader uses the

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2016-07-08 Thread Keno Fischer
Keno Fischer added the comment: pyzmq has a similar issue. I believe one solution would be to call `_Py_ActivateActCtx` in ctypes' load_library, i.e. do ``` #if HAVE_SXS ULONG_PTR cookie = _Py_ActivateActCtx(); #endif hMod = LoadLibraryW(name); #if HAVE_SXS

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2014-04-17 Thread Christoph Gohlke
Changes by Christoph Gohlke cgoh...@uci.edu: -- nosy: +cgohlke ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17213 ___ ___ Python-bugs-list

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2014-02-03 Thread Palm Kevin
Palm Kevin added the comment: +1 -- nosy: +palm.kevin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17213 ___ ___ Python-bugs-list mailing list

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2014-02-03 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17213 ___ ___

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2014-02-03 Thread Palm Kevin
Palm Kevin added the comment: Reproducible for Py 3.2.5 -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17213 ___ ___

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2014-01-26 Thread Tom Edwards
Tom Edwards added the comment: Still an issue in 3.3.3. Igor's fix still works, thankfully. -- nosy: +Artfunkel versions: +Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17213

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2014-01-26 Thread Tom Edwards
Changes by Tom Edwards cont...@steamreview.org: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17213 ___ ___

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2013-08-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17213 ___ ___

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2013-08-06 Thread Igor Skochinsky
Igor Skochinsky added the comment: Just had this issue when using networkx (which imports uuid). One keyword that would help visibility is R6034 (the runtime error number). A couple of reports related to this: https://projects.blender.org/tracker/index.php?func=detailaid=27666

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2013-02-22 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge stage: - needs patch versions: +Python 2.7 -Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17213

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2013-02-22 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the report. Could you also provide a patch? -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17213 ___

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2013-02-15 Thread Daniel Colascione
New submission from Daniel Colascione: Suppose we're running a Python program in an environment where PATH contains a directory that contains msvcr90.dll version A and that python27.exe is manifested to use msvcr90.dll version B, which is available in the SxS store but not on PATH. Normally,