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 serhiy.storchaka
Recipients fdrake, pitrou, rhettinger, serhiy.storchaka
Date 2013-10-01.14:55:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380639331.5.0.0634997889933.issue19137@psf.upfronthosting.co.za>
In-reply-to
Content
Example:

>>> import pprint
>>> class S(set): pass
... 
>>> S('abc')
S({'a', 'b', 'c'})
>>> pprint.pprint(S('abc'))
S({'a', 'b', 'c'})
>>> pprint.pprint(S('abc'), width=1)
{'a',
 'b',
 'c'}

And same for frozenset.

Here is a patch which fixes this issue. With a patch:

>>> pprint.pprint(S('abc'), width=1)
S({'a',
   'b',
   'c'})
History
Date User Action Args
2013-10-01 14:55:31serhiy.storchakasetrecipients: + serhiy.storchaka, fdrake, rhettinger, pitrou
2013-10-01 14:55:31serhiy.storchakasetmessageid: <1380639331.5.0.0634997889933.issue19137@psf.upfronthosting.co.za>
2013-10-01 14:55:31serhiy.storchakalinkissue19137 messages
2013-10-01 14:55:31serhiy.storchakacreate