homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author markhirota
Recipients
Date 2005年11月14日.17:04:24
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1375527
Sorry, but maybe I could just interject here. Walter's sub-
classing example works fine, except for the fact that if the 
string is short enough, it gets handled slightly differently and 
the format() override gets bypassed. I worked around this by 
shortening the width, but I've found that this screws with a lot 
of the nice formatting of other structures, and so basically 
creates a new set of problems. If the "format() bypass" 
limitation can be removed, I think it would allow for more 
reliable extensibility by subclassing PrettyPrinter.
History
Date User Action Args
2007年08月23日 16:11:29adminlinkissue1351692 messages
2007年08月23日 16:11:29admincreate

AltStyle によって変換されたページ (->オリジナル) /