← Back to team overview

touch-packages team mailing list archive

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

 

Public bug reported:

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

** Affects: tzdata (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: mktime overflowerror tzdata

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  New

Bug description:
  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

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


Follow ups