Author ezio.melotti
Recipients ezio.melotti, merwok, ncoghlan, petri.lehtinen, terry.reedy
Date 2011-11-18.09:22:11
SpamBayes Score 6.28715e-06
Marked as misclassified No
Message-id <1321608132.66.0.912949562322.issue13349@psf.upfronthosting.co.za>
In-reply-to
Content
> I found safe_repr() from Lib/unittest/util.py.

The functions in Lib/unittest/util.py shouldn't be used outside unittest.

> We would require a similar function, just implemented in C.
> What is a good place to define such C helpers that could be used everywhere?

You could start by adding it in the file where you need it.  If it starts becoming useful elsewhere too, it can then be moved somewhere else.  I would expect such function to be private, so we are free to move it whenever we need it.
History
Date User Action Args
2011-11-18 09:22:12ezio.melottisetrecipients: + ezio.melotti, terry.reedy, ncoghlan, merwok, petri.lehtinen
2011-11-18 09:22:12ezio.melottisetmessageid: <1321608132.66.0.912949562322.issue13349@psf.upfronthosting.co.za>
2011-11-18 09:22:11ezio.melottilinkissue13349 messages
2011-11-18 09:22:11ezio.melotticreate