[Bug 1484474] Re: mktime throwing an exception when special time tuple passed

Andrey Yamnikov ayamnikov at ivideon.com
Thu Aug 13 12:28:37 UTC 2015


** Description changed:

- How to discover a bug.
- Run the following  command
- 
- python -c "import time; time.mktime((2011, 3, 27, 2, 0, 0, 6, 86, 0)); print('OK')"
-   
- On Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-44-generic x86_64) with tzdata package version "2014i-0ubuntu0.14.04" it will say:
- OK
- 
- On Ubuntu Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-37-generic x86_64) with tzdata package version "2015d-0ubuntu0.14.04" it will say:
- Traceback (most recent call last):
-   File "<string>", line 1, in <module>
- OverflowError: mktime argument out of range
+ I was wrong. It is not a bug. Delete this.

** Changed in: tzdata (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/1484474

Title:
  mktime throwing an exception when special time tuple passed

Status in tzdata package in Ubuntu:
  Invalid

Bug description:
  I was wrong. It is not a bug. Delete this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1484474/+subscriptions



More information about the foundations-bugs mailing list