[issue13166] Implement packaging.database.Distribution.__str__

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset ff44594dd3c0 by Guillaume Pratte in branch 'default': #13166: Implement __str__ on Distribution and EggInfoDistribution, use for pysetup list, pysetup graph and installation log http://hg.python.org/distutils2/rev/ff44594dd3c0 -- nosy: +py

[issue13166] Implement packaging.database.Distribution.__str__

2011-10-13 Thread Éric Araujo
New submission from Éric Araujo : In code working with instances of packaging.database.Distribution, it’s bothersome to have to use '%r %s' % (dist.name, dist.version) all the time. It is also not good-looking in 2.x, where we get u'name'. I think it would be best to implement a __str__ meth