Author Alexander.Belopolsky
Recipients Alexander.Belopolsky, Arfrever, belopolsky, eric.smith, loewis, mark.dickinson, pitrou, skrah, vstinner
Date 2012-01-30.23:24:25
SpamBayes Score 8.63275e-08
Marked as misclassified No
Message-id <CAP7h-xYZWhrDSfzb9RLKhFiX9dLHfLPtUmaiqpp2wCVOD5fCfQ@mail.gmail.com>
In-reply-to <1327965329.96.0.695497919885.issue13882@psf.upfronthosting.co.za>
Content
On Mon, Jan 30, 2012 at 6:15 PM, STINNER Victor <report@bugs.python.org> wrote:
> Another possibility is what I proposed before in the issue #11457: take a callback argument.
> http://bugs.python.org/issue11457#msg143738

I think you are over-engineering a complicated solution to a simple
problem.  If you want to add functionality to time module, add a
function with a new name that would mimic appropriate POSIX API and
return a (named) tuple of integers where C function would populate a
struct.  If you write a new high resolution time module - import
decimal at the top of the module and make all your clocks return
seconds as Decimal objects.
History
Date User Action Args
2012-01-30 23:24:26Alexander.Belopolskysetrecipients: + Alexander.Belopolsky, loewis, mark.dickinson, belopolsky, pitrou, vstinner, eric.smith, Arfrever, skrah
2012-01-30 23:24:25Alexander.Belopolskylinkissue13882 messages
2012-01-30 23:24:25Alexander.Belopolskycreate