[Sugar-devel] [Dextrose] [PATCH sugar-toolkit] Insert activity root path in front of the reset of sys.path

Martin Langhoff martin.langhoff at gmail.com
Sun Feb 6 21:57:42 EST 2011


On Sun, Feb 6, 2011 at 9:39 PM, Aleksey Lim <alsroot at activitycentral.org> wrote:
> On Sun, Feb 06, 2011 at 07:22:12PM -0500, Samuel Greenfeld wrote:
>>
>> Not that would cause much of a slowdown, or that this would handle the
>> (hopefully unlikely) case where Python gains modules named identically
>> to Activity ones, but:
>>
>> What are we trying to solve here?  Are activities bundling third-party
>> Python libraries which have to be preferred in most cases over
>> system-provided ones (if present)?
>
> In my mind, the situation when modules that come with activity have
> higher priority than system ones is more natural/predictable.

ACK -- seen this happen in other projects before.


m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Sugar-devel mailing list