In article <[EMAIL PROTECTED]>,
 "James J. Besemer" <[EMAIL PROTECTED]> wrote:

> I propose that we extend the semantics of "print" such that if the object to 
> be printed is a generator then print would iterate over the resulting 
> sequence of sub-objects and recursively print each of the items in order.

I believe the functionality you desire already exists, or something very 
close to it, in the pprint (pretty printer) module.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to