[PYTHON MATRIX-SIG] Win95 NumPy 1.0b1 (printing arrays)

Andrew P. Mullhaupt amullhau@ix.netcom.com
Wed, 26 Feb 1997 23:44:31 -0500


Perry A. Stoll wrote:
> 
> On 26 Feb, Jim Hugunin wrote:
> 
> > [accurate description of repr/str snipped]
> 
> I don't think it's only PythonWin! On SunOS I get:

Well, you can't sell me much enthusiasm for choosing repr/str when
neither one is worth a damn for functions.

If we have

def f() : return 1

then it seems that repr(f) ought to be

'def f() : return 1'

and not

'<function f at ....>'

which, no matter how many times you type it in is not going to get
you your f back.

Later,
Andrew Mullhaupt



_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________