Re: [Python-Dev] Changing the Division Operator -- PEP 238, rev 1.12

Samuele Pedroni <pedroni@inf.ethz.ch> writes:
Good; hopefully we can get somewhere then.
Ah, of course. I'd forgotten how cool Jython was in some ways.
Well, I don't want to make more work for you - I imagine Guido's doing enough of that for two!
I was only trying to explain our approach and situation and a possible way to avoid duplicating some internal code in Python.
Can you point me to the code in CVS that implements this sort of thing? I don't really know Java but I can probably muddle through to some extent. We might as well have CPython copy Jython for once... Cheers, M. -- On the other hand, the following areas are subject to boycott in reaction to the rampant impurity of design or execution, as determined after a period of study, in no particular order: ... http://www.naggum.no/profile.html

Hi. [Michael Hudson]
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/core... mpilerFlags.java http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/core... .java see compile_flags http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/comp... r/Module.java see compile and PyCode http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/comp... r/CodeCompiler.java http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/comp... r/Future.java However implementing this approach in CPython is a bit more demanding because we can import any java class from jython code, in CPython you cannot import a C struct directly (for the obvious reasons) you need an Extension Type :(. regards, Samuele Pedroni.

Hi. [Michael Hudson]
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/core... mpilerFlags.java http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/core... .java see compile_flags http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/comp... r/Module.java see compile and PyCode http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/comp... r/CodeCompiler.java http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/comp... r/Future.java However implementing this approach in CPython is a bit more demanding because we can import any java class from jython code, in CPython you cannot import a C struct directly (for the obvious reasons) you need an Extension Type :(. regards, Samuele Pedroni.
participants (2)
-
Michael Hudson
-
Samuele Pedroni