[Python-Dev] At the interactive port

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Mon, 1 May 2000 17:19:46 +0300 (IDT)

On Mon, 1 May 2000, Fred L. Drake, Jr. wrote:

>   It's not.  ;)  How about printresult?

Hmmmm...better then mine at least.

> 	import sys
> 	sys.formatresult = str

And where does the "don't print if it's None" enter? I doubt if there is a
really good way to divide functionality. OF course, specific IDEs may
provide their own hooks.

>   You're right!  But a default is easy enough to add.

I agree. It was more to spur discussion -- with the advantage that there
is already a way to include Python sessions.

> I'd put it in
> sys instead of __builtin__ though.

Hmmm.. that's a Guido Issue(TM). Guido?
Moshe Zadka <moshez@math.huji.ac.il>
http://www.linux.org.il -- we put the penguin in .com