[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2015-03-03 Thread Jan Kratochvil
Jan Kratochvil added the comment: It even crashes applications due to pollution of dynamic symbols namespace by application symbols as seen in: https://bugzilla.redhat.com/show_bug.cgi?id=1198158 -- ___ Python tracker rep...@bugs.python.org http

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-30 Thread Jan Kratochvil
Jan Kratochvil jan.kratoch...@redhat.com added the comment: While it should be documented this is not only a docs issue. It should be solved in some way during runtime. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14956

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Jan Kratochvil
New submission from Jan Kratochvil jan.kratoch...@redhat.com: People use custom Python builds setting PYTHONHOME and PYTHONPATH to these custom builds. This may be expected to break running system Python binary but it also unexpectedly breaks various applications which also embed Python

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Jan Kratochvil
Jan Kratochvil jan.kratoch...@redhat.com added the comment: This site.py is only an example how it can happen. In reality it is due to .py files intended for incompatible version of Python. I am not a Python programmer to have some appropriate incompatible code at hand

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Jan Kratochvil
Jan Kratochvil jan.kratoch...@redhat.com added the comment: I fully agree with site.py/os.py/spam.py but I find it offtopic for this Issue. I do not find too important if some unsetenv/setenv gets called by the app or by libpython. But the rules should apply for every embedded app the same

[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2012-02-19 Thread Jan Kratochvil
Jan Kratochvil jan.kratoch...@redhat.com added the comment: There was a bug for non-shared build of Python, thanks. This patch is an improvement on its but it is not yet complete. One should also replace -Xlinker -export-dynamic by -Wl,--dynamic-list so that linking application with libpython

[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2012-02-19 Thread Jan Kratochvil
Changes by Jan Kratochvil jan.kratoch...@redhat.com: Removed file: http://bugs.python.org/file24221/hidden.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10112

[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2012-02-15 Thread Jan Kratochvil
Jan Kratochvil jan.kratoch...@redhat.com added the comment: What more can be done to get it fixed? I do not mind Python but GDB linking is broken due to it. And while I can workaround it in GDB I am not used for workarounding one Free package in another Free package. Free software has

[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2012-01-12 Thread Jan Kratochvil
Jan Kratochvil jan.kratoch...@redhat.com added the comment: Here is the implementation. Python/getargs.c was modified for: ImportError: /usr/lib64/python2.7/lib-dynload/fcntlmodule.so: undefined symbol: _PyArg_ParseTuple_SizeT but I guess that patch part should be different. There is no need

[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2010-10-15 Thread Jan Kratochvil
New submission from Jan Kratochvil jan.kratoch...@redhat.com: FSF GDB (and future Fedora GDBs) became 250KB smaller than before. Python recently disabled this GDB build optimization so GDB is 250KB larger again. -rwxr-xr-x 1 4524488 gdb-7.1-19.fc13.x86_64/usr/bin/gdb -rwxr-xr-x 1 4266728 gdb

[issue10057] Unclear if exception should be set

2010-10-09 Thread Jan Kratochvil
New submission from Jan Kratochvil jan.kratoch...@redhat.com: http://docs.python.org/py3k/c-api/object.html PyObject_GetItem Return element [...] or NULL on failure. Found element = return its pointer. Found no element = return NULL (with no exception set). But it is unclear whether

[issue10057] Unclear if exception should be set

2010-10-09 Thread Jan Kratochvil
Jan Kratochvil jan.kratoch...@redhat.com added the comment: OK, I am not used to Python, thanks. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10057

[issue4434] Embedding into a shared library fails

2010-06-05 Thread Jan Kratochvil
Changes by Jan Kratochvil jan.kratoch...@redhat.com: -- nosy: +jankratochvil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4434 ___ ___ Python

[issue7015] Getting call trace while executing modules spam at help prompt

2009-09-30 Thread Jan Kratochvil
Changes by Jan Kratochvil jan.kratoch...@redhat.com: -- nosy: +jankratochvil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7015 ___ ___ Python