Message54669
Logged In: YES
user_id=89016
I find pprint.py hard to understand as it is. I've been
staring at the code for several days now and the difference
between PrettyPrinter._format(), PrettyPrinter.format(),
PrettyPrinter._repr() and _safe_repr() is still not entirely
clear to me.
Using a subclass of int only makes sense, if it's your own
data structure that you're outputting. If you get it from
somewhere else, traversing it and replacing every int with
an Int just for output really isn't an option. |
|
Date |
User |
Action |
Args |
2007-08-23 16:11:29 | admin | link | issue1351692 messages |
2007-08-23 16:11:29 | admin | create | |
|