[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 <http://bugs.python.

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-30 Thread Jan Kratochvil
Jan Kratochvil 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 <http://bugs.python.org/issue14

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Jan Kratochvil
Jan Kratochvil 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, the Fedora ticket is

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Jan Kratochvil
Jan Kratochvil 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 breaks Python-embedded apps

2012-05-29 Thread Jan Kratochvil
New submission from Jan Kratochvil : 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: $ echo foo >site.py; exp

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

2012-02-19 Thread Jan Kratochvil
Changes by Jan Kratochvil : Removed file: http://bugs.python.org/file24221/hidden.patch ___ Python tracker <http://bugs.python.org/issue10112> ___ ___ Python-bugs-list m

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

2012-02-19 Thread Jan Kratochvil
Jan Kratochvil 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 li

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

2012-02-15 Thread Jan Kratochvil
Jan Kratochvil 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 the advantage problems can be

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

2012-01-12 Thread Jan Kratochvil
Jan Kratochvil 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 to do #ifdef

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

2010-10-15 Thread Jan Kratochvil
New submission from Jan Kratochvil : 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-7.1-19dynamiclist.fc13

[issue10057] Unclear if exception should be set

2010-10-09 Thread Jan Kratochvil
Jan Kratochvil added the comment: OK, I am not used to Python, thanks. -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10057] Unclear if exception should be set

2010-10-09 Thread Jan Kratochvil
New submission from Jan Kratochvil : 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 the function can also:

[issue4434] Embedding into a shared library fails

2010-06-05 Thread Jan Kratochvil
Changes by Jan Kratochvil : -- nosy: +jankratochvil ___ Python tracker <http://bugs.python.org/issue4434> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2009-09-30 Thread Jan Kratochvil
Jan Kratochvil added the comment: The python bindings were therefore fixed downstream: gdb-6.8.91.20090930-2.fc12 http://koji.fedoraproject.org/koji/buildinfo?buildID=134595 -- ___ Python tracker <http://bugs.python.org/issue7

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

2009-09-30 Thread Jan Kratochvil
Jan Kratochvil added the comment: This patch will make the `modules' command succeeed. Later requesting the specific `gdb' module will cause: help> gdb problem in gdb - : 'module' object has no attribute 'Command' I think this is right in general, a single b

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

2009-09-30 Thread Jan Kratochvil
Changes by Jan Kratochvil : -- nosy: +jankratochvil ___ Python tracker <http://bugs.python.org/issue7015> ___ ___ Python-bugs-list mailing list Unsubscribe: