• Kirill Smelkov's avatar
    time: New package that mirrors Go's time · 9c260fde
    Kirill Smelkov authored
    Add time.Timer, time.Ticker and convenience functions time.tick,
    time.after and time.after_func. These will be used in context to support
    deadlines and timeouts.
    
    While at time topic, also provide sleep and now from golang.time, so
    that there is no need to import both golang.time and stdlib's time in a
    file.
    
    Provide time constants in the module as they are useful to have and
    mirror constants provided by Go's time.
    
    Note: timers implementation is very suboptimal for now.
    9c260fde
Name
Last commit
Last update
golang Loading commit data...
gpython Loading commit data...
.gitignore Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...