Excerpts from Martin Langhoff's message of Tue Feb 08 04:46:32 +0100 2011:
To wit, note the first entry at
$ python
Python 2.7 (r27:82500, Sep 16 2010, 18:03:06)
[...]
sys.path
['', '/usr/lib/python27.zip', '/usr/lib/python2.7',
[...]
The behaviour sought by Aleksey's patch makes sense.
On Sat, Feb 12, 2011 at 1:57 PM, Sascha Silbe si...@activitycentral.com wrote:
The behaviour sought by Aleksey's patch makes sense. I am surprised
that CWD isn't set to SUGAR_BUNDLE_PATH, maybe that needs to get fixed
instead.
Thanks for disproving my assumption that it's something Python 2.x
On Sat, Feb 12, 2011 at 02:47:32PM -0500, Martin Langhoff wrote:
On Sat, Feb 12, 2011 at 1:57 PM, Sascha Silbe si...@activitycentral.com
wrote:
The behaviour sought by Aleksey's patch makes sense. I am surprised
that CWD isn't set to SUGAR_BUNDLE_PATH, maybe that needs to get fixed
On Sat, Feb 12, 2011 at 6:57 PM, Aleksey Lim
alsr...@activitycentral.org wrote:
The problem is, if I got it right, that cwd means nothing for searching
modules, only sys.path(and so) makes sense. After launching Python
interpreter, the $0 becomes sys.path[0]. But the problem is that
activities
From: Aleksey Lim alsr...@member.fsf.org
Otherwise it is possible to include, eg, system modules before local ones.
---
src/sugar/activity/main.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/sugar/activity/main.py b/src/sugar/activity/main.py
index
5 matches
Mail list logo