[PYTHON MATRIX-SIG] New pretty printer

Konrad HINSEN hinsenk@ere.umontreal.ca
Wed, 7 Feb 1996 11:52:33 -0500


   But other modules may have different display needs, so you can still effect a
   different piece of code.

   > Without global variables there is just no reasonable way to alter the
   > default behavior for "print a".

   You could make this parameter a part of the state of an array.

That implies that precision and line width are properties of an
array. For precision this may be justified, but certainly not
for line width!

Such things really belong into a "system parameters" collection.
The closest Python equivalent would be the module "sys". But
that doesn't solve the problem of who is allowed to modify them
how and when.

-------------------------------------------------------------------------------
Konrad Hinsen                     | E-Mail: hinsenk@ere.umontreal.ca
Departement de chimie             | Tel.: +1-514-343-6111 ext. 3953
Universite de Montreal            | Fax:  +1-514-343-7586
C.P. 6128, succ. Centre-Ville     | Deutsch/Esperanto/English/Nederlands/
Montreal (QC) H3C 3J7             | Francais (phase experimentale)
-------------------------------------------------------------------------------

=================
MATRIX-SIG  - SIG on Matrix Math for Python

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