Bug 880: Prevent SIGSEGV in init_python when -no-home is used.
commit78bd416dc096c56d8f14a1e49c7bf688edfe3872
authorM. Levinson <levinsm@users.sourceforge.net>
Thu, 7 Dec 2006 22:56:00 +0000 (7 23:56 +0100)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Fri, 8 Dec 2006 17:59:41 +0000 (8 19:59 +0200)
tree7373c4fbdee88a439e5ece1f29577fe88362c6a4
parent1442f551aafc5a5aaf4937cacc8f814ef7a52bbd
Bug 880: Prevent SIGSEGV in init_python when -no-home is used.

Before this patch, init_python would crash trying to set up elinks.home
at the Python side.  Now it uses None as the value in that case.
Also, init_python no longer adds "(null)" to $PYTHONPATH.
contrib/python/hooks.py
doc/python.txt
src/scripting/python/core.c