On Sun, Apr 1, 2012 at 11:25 AM, Peter Bittner <[email protected]> wrote:
> 2012/4/1 lkcl luke <[email protected]>:
>> On Sun, Apr 1, 2012 at 9:52 AM, Peter Bittner <[email protected]> wrote:
>>
>>> Can it be that this takes mine in pyjd and Kees' in pyjs?
>>
>>  there's no way that under pyjd you'll get anything from pyjamas
>> overriding standard http://python.org.  that's the whole point of the
>> dog's dinner mess in bootstrap.py.
>>
>>  so pyjs replacement libraries get installed system-wide in
>> /usr/share/pyjamas and then that path is prepended at compile time.
>>
>>  AT NO TIME ARE ANY PYJAMAS LIBRARIES PREPENDED FOR PYJD.
>
> I'm not sure I fully understand.
>
> The logging module in pyjs/src/pyjs/lib/logging is a CPython module
> replacement? (Why is this necessary? It's not pure Python in CPython,
> so it can't be translated by pyjsbuild, is it that?)
>
> 1.) What happens on the import line in library/pyjamas/logging? Does
> it import the Pyjamas logging module ported by Kees?
>
> # blatantly copy everything from CPython's logging
> from logging import *
>
> 2.) Can you compare the two attempts of implementation?
> (/library/pyjamas/logging/__init__.py, and
> pyjs/src/pyjs/lib/logging/__init__.py)
> Is the one in the library path a possible replacement of the one in pyjs/lib?

 it shouldn't be there.  at all.  and needs removing, immediately.
anything in library/pyjamas/ which has the same names as standard
http://python.org libraries risks OVERRIDING the standard
http://python.org libraries.

 i didn't notice it had been added.  or maybe i did but it didn't
occur to me what the consequences were.

 so it has to be moved out of there, immediately.

> http://pyjs.org/pygit/ is currently down ("503 Service Temporarily
> Unavailable"), so I can't provide links for easy browsing, sorry.

 whoops that needs restarting (pyjs.org was at 100% cpu load).

Reply via email to