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

Samuel Greenfeld greenfeld at laptop.org
Sun Feb 6 19:22:12 EST 2011


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)?

Wouldn't it be better to ensure Activity developers make proper use of 
namespaces when developing them instead?


On 2/6/2011 5:58 PM, Bernie Innocenti wrote:
> On Sun, 2011-02-06 at 00:50 +0000, Aleksey Lim wrote:
>> Otherwise it is possible to include, eg, system modules before local ones.
> Seems like a good idea.
>
> Reviewed-by: Bernie Innocenti<bernie at codewiz.org>
>



More information about the Dextrose mailing list