Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Re: Issues with Python and maemo-optify

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


marius.vollmer at nokia

Oct 20, 2009, 12:17 AM

Post #1 of 3 (247 views)
Permalink
Re: Issues with Python and maemo-optify

ext Anderson Lizardo <anderson.lizardo [at] openbossa> writes:

> 1) hack Python to not rely on paths returned by readlink()

What about only ignoring the result of readlink when it starts with
/opt/maemo? I.e., symlinks into /opt/maemo are not considered to be
symlinks at all.

I think this could work nicely, but it would also increase the amount of
surrealism in Maemo significantly...
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


andrew at bleb

Oct 20, 2009, 12:45 AM

Post #2 of 3 (238 views)
Permalink
Re: Issues with Python and maemo-optify [In reply to]

On Tue, Oct 20, 2009 at 08:17, Marius Vollmer <marius.vollmer [at] nokia> wrote:
> ext Anderson Lizardo <anderson.lizardo [at] openbossa> writes:
>
>> 1) hack Python to not rely on paths returned by readlink()
>
> What about only ignoring the result of readlink when it starts with
> /opt/maemo?  I.e., symlinks into /opt/maemo are not considered to be
> symlinks at all.

Where would you consider that change made? Every point in Python where
it calls readlink()? libc?

> I think this could work nicely, but it would also increase the amount of
> surrealism in Maemo significantly...

...to say the least.

Cheers,

Andrew

--
Andrew Flegg -- mailto:andrew [at] bleb | http://www.bleb.org/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


marius.vollmer at nokia

Oct 20, 2009, 1:47 AM

Post #3 of 3 (219 views)
Permalink
Re: Issues with Python and maemo-optify [In reply to]

ext Andrew Flegg <andrew [at] bleb> writes:

> On Tue, Oct 20, 2009 at 08:17, Marius Vollmer <marius.vollmer [at] nokia> wrote:
>> ext Anderson Lizardo <anderson.lizardo [at] openbossa> writes:
>>
>>> 1) hack Python to not rely on paths returned by readlink()
>>
>> What about only ignoring the result of readlink when it starts with
>> /opt/maemo?  I.e., symlinks into /opt/maemo are not considered to be
>> symlinks at all.
>
> Where would you consider that change made? Every point in Python where
> it calls readlink()?

Yes. Every point where it uses the result of readlink to adjust its
module load path. There can't be that many...
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.