[issue1507224] sys.path issue if sys.prefix contains a colon

Mattie report at bugs.python.org
Mon Dec 31 23:39:36 CET 2007


Mattie added the comment:

This is also proving to be a problem in various places for applications
embedding Python 2.5 on Linux. For example, my EventScripts plugin
embeds Python into Counter-Strike: Source game servers. It's not
uncommon at all for these servers to use a colon in their path names, as
rental companies will often assign the directories as
myuser/IPADDRESS:PORT/cstrike. For embedding Python we have some tricks
that allow us to bypass this sometimes, but it is rather inconvenient.

In addition to sys.path, I haven't looked into it deeply, but I believe
the codecs search path also seems to get confused when the local
directory has a colon somewhere in it.

Please consider revitalizing this bug, if possible. Thanks for
considering it.

----------
nosy: +Mattie

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1507224>
_____________________________________


More information about the Python-bugs-list mailing list