Message152359
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. |
|
Date |
User |
Action |
Args |
2012-01-30 23:24:26 | Alexander.Belopolsky | set | recipients:
+ Alexander.Belopolsky, loewis, mark.dickinson, belopolsky, pitrou, vstinner, eric.smith, Arfrever, skrah |
2012-01-30 23:24:25 | Alexander.Belopolsky | link | issue13882 messages |
2012-01-30 23:24:25 | Alexander.Belopolsky | create | |
|