On 12/19/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:

On 12/19/06, Brett Cannon <[EMAIL PROTECTED]> wrote:
>
>
> On 12/19/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> > On 12/19/06, Georg Brandl <[EMAIL PROTECTED]> wrote:
> > > Okay, I updated the patch at SF. While you're at it, in PEP 3100
there's
> > > "compile(): put in sys (or perhaps in a module of its own)". I guess
> that
> > > isn't really necessary either...
> >
> > Hm, I think it would be fine to move, it's pretty specialized. What do
> > others here think?
>
> Move it, I just wonder if there is a better place for it than
sys.  Putting
> intern() in sys makes sense since it is a specific thing to the
interpreter.
>  id could go there or maybe inspect.
>
> But compile (along wth exec, but I don't think you wanted to move that)
are
> just plain different.  Dynamic code execution is its own thing that I do
not
> directly associate with the specifics of the interpreter.  Maybe a
module
> named 'dynamic' or 'execution'?

Well, sys is pretty much a grab-bag.


That is very true.  =)  I talked about breaking it up.  Still want to see a
PEP on that someday?

And you can't tell me that
compile() isn't a hook into system internals. :-) (The compiler in
this case.)


No, but I view sys as place to put stuff that influences the running of the
interpreter and I don't put compile() in that category.

-Brett
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to