module_repr(): Instead of fixing the maximum buf size to 400,     calculate it on the fly.  This way even modules with long package     names get an accurate repr instead of a truncated one.  The extra     malloc/free cost shouldn't be a problem in a repr function.
module_repr(): Instead of fixing the maximum buf size to 400,
    calculate it on the fly.  This way even modules with long package
    names get an accurate repr instead of a truncated one.  The extra
    malloc/free cost shouldn't be a problem in a repr function.

    Closes SF bug #437984

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator