summaryrefslogtreecommitdiff
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-28 01:26:47 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-03-28 01:26:47 +0100
commit95e9cef6f023a1cf365f2f02775badb3a6ac0d82 (patch)
tree721cb2ab9fbba707888bc7e90b49758ffd5156ed /Python/ceval.c
parentb7df3144ef14ec50650dfd47da4ba09ee0bc674c (diff)
downloadcpython-git-95e9cef6f023a1cf365f2f02775badb3a6ac0d82.tar.gz
Issue #22117: Write unit tests for _PyTime_AsTimeval()
* _PyTime_AsTimeval() now ensures that tv_usec is always positive * _PyTime_AsTimespec() now ensures that tv_nsec is always positive * _PyTime_AsTimeval() now returns an integer on overflow instead of raising an exception
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions