A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/023245.html below:

[Python-Dev] Adding Optik to 2.3 standard library

[Python-Dev] Adding Optik to 2.3 standard library [Python-Dev] Adding Optik to 2.3 standard libraryBarry A. Warsaw barry@zope.com
Sun, 14 Apr 2002 19:30:58 -0400
>>>>> "SP" == Samuele Pedroni <pedroni@inf.ethz.ch> writes:

    SP> Seriously, what do you mean by that? I imagine ugly things
    SP> <wink>.

Naw, I have a beautiful mind. :)

    SP> Btw, Jython 
    SP> (as you might now) has deep-auto-importing, that means

    SP> import pkg1.pkg2

    SP> pkg1.pkg2.f()

    SP> in Jython can be written as:

    SP> import pkg1

    SP> pkg1.pkg2.f()

Indeed, and that's exactly what I'd like to see, although I don't mind
it if packages have to be specially instrumented to provide this
behavior.

    SP> (yes you should still import the first-level package),
    SP> this was intended for Java imports but then
    SP> extended to python packages too for symmetry.
    SP> OTOH is a great way to write non-portable
    SP> (to CPython) jython code <wink>.

Another good reason to add something like this!

jython-is-a-shining-beacon-ly y'rs,
-Barry




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4