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?

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

Peter

Reply via email to