homepage

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 pitrou
Recipients georg.brandl, giampaolo.rodola, pitrou
Date 2013年02月13日.12:08:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <91414180.31981704.1360757278458.JavaMail.root@zimbra10-e2.priv.proxad.net>
In-reply-to <1360750258.42.0.775186583691.issue17197@psf.upfronthosting.co.za>
Content
> No, it's the other way around. It's from cProfile which I import
> profile.
> 
> diff --git a/Lib/cProfile.py b/Lib/cProfile.py
> --- a/Lib/cProfile.py
> +++ b/Lib/cProfile.py
> ...
> +import profile as _pyprofile
That's exactly what I'm saying. Once you import cProfile, the attributes
on the profile functions are overriden.
Either way, a module shouldn't mutate another module's functions.
History
Date User Action Args
2013年02月13日 12:08:04pitrousetrecipients: + pitrou, georg.brandl, giampaolo.rodola
2013年02月13日 12:08:04pitroulinkissue17197 messages
2013年02月13日 12:08:04pitroucreate

AltStyle によって変換されたページ (->オリジナル) /