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-May/003832.html below:

[Python-Dev] At the interactive port

[Python-Dev] At the interactive port [Python-Dev] At the interactive portGuido van Rossum guido@python.org
Tue, 02 May 2000 00:51:45 -0400
> > import __builtin__
> import sys # Sorry, I couldn't resist
> > def displayhook(obj):
> >     if obj is None:
> >         return
> >     __builtin__._ = obj
> >     sys.stdout.write("%s\n" % repr(obj))
> 
> This brings up a painful point -- the reason I haven't wrote the default
> is because it was way much easier to write it in Python. Of course, I
> shouldn't be preaching Python-is-easier-to-write-then-C here, but  it
> pains me Python cannot be written with more Python and less C.
> 

But the C code on how to do it was present in the code you deleted
from ceval.c!

> A while ago we started talking about the mini-interpreter idea,
> which would then freeze Python code into itself, and then it sort of
> died out.  What have become of it?

Nobody sent me a patch :-(

--Guido van Rossum (home page: http://www.python.org/~guido/)



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