[issue5735] Segfault when loading not recompiled module

2009-06-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Fixed with r73116 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5735 ___

[issue5735] Segfault when loading not recompiled module

2009-04-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Normally, modules compiled with incompatible settings should generate a link-time error (like: Undefined symbol PyModule_Create). This used to work with 2.x, but a typo in a macro broke this for 3.x. Patch attached. --

[issue5735] Segfault when loading not recompiled module

2009-04-14 Thread Leonid Vasilev
Leonid Vasilev vsleo...@gmail.com added the comment: Thanks for patch, it works now: Python compiled with --with-pydebug throws an ImportError when trying to import modules compiled without --with-pydebug, as it should: ImportError: /usr/local/lib/python3.0/site-packages/ext23.so: undefined

[issue5735] Segfault when loading not recompiled module

2009-04-13 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- assignee: tarek - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5735 ___ ___ Python-bugs-list

[issue5735] Segfault when loading not recompiled module

2009-04-11 Thread Leonid Vasilev
New submission from Leonid Vasilev vsleo...@gmail.com: I compiled two versions of python(both from main trunk) Here's what I do: $cd /usr/local/src/Python-3.0.1/ $./configure $make make install ... $cd ~/pyext/ $python3.0 setup.py install ... run python3.0 and import ext1 -- it worked ok ...

[issue5735] Segfault when loading not recompiled module

2009-04-11 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5735 ___ ___ Python-bugs-list