A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-November/010252.html below:

[Python-Dev] PEP-0217

[Python-Dev] PEP-0217 [Python-Dev] PEP-0217Finn Bock bckfnn@worldonline.dk
Thu, 02 Nov 2000 15:37:43 GMT
[Moshe Zadka]

>I need some help:
>
>1) BDFL pronouncement
>2) someone to see about the Jython issue.

I don't see any problems with this. This is already handled by a method
in the jython runtime (Py.printResult).

However, I think your example implementation should be:

    def displayhook(o):
        if o is None:
            return
        __builtin__._ = None
        print `o`
        __builtin__._ = o

I don't why, but that is the implementation currently used by Jython
(and I think CPython too).

regards,
finn



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