[Patches] [ python-Patches-451538 ] L10n of pprint

noreply@sourceforge.net noreply@sourceforge.net
Tue, 04 Sep 2001 12:44:00 -0700


Patches item #451538, was opened at 2001-08-16 05:49
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=451538&group_id=5470

Category: library
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Denis S. Otkidach (ods)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: L10n of pprint

Initial Comment:
Representation of strings with non-latin national
characters is quite unreadable. Although we can use
current locale to determine full set of printable
character. This patch in combination with dysplay_hook
allows to get native representation for 8-bit strings,
including ones in dictionaries, lists and tuples.

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-09-04 12:44

Message:
Logged In: YES 
user_id=3066

This doesn't appear to break things, but I don't know how to
 really test that this solves the cited problem (locales are
just not something I know much about).  I made a small
performance-related change and checked it in as
Lib/pprint.py revision 1.15.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-08-27 12:30

Message:
Logged In: YES 
user_id=3066

I think this is OK; will think about it a little more
tomorrow and make a decision.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=451538&group_id=5470