Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issue #1188 (mktime call replaced by constant) #1189

Merged
merged 2 commits into from
Sep 19, 2016
Merged

Fixing issue #1188 (mktime call replaced by constant) #1189

merged 2 commits into from
Sep 19, 2016

Conversation

semiversus
Copy link
Contributor

What do these changes do?

Change the call for mktime to calculate a time stamp in the far future (1/1/2100) and replace it by the resulting constant of 2208985261.0 .

Are there changes in behavior for the user?

No changes, as mktime is resulting this exact value

Related issue number

#1188

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • Add yourself to CONTRIBUTORS.txt
  • Add a new entry to CHANGES.rst
    • Choose any open position to avoid merge conflicts with other PRs.
    • Add a link to the issue you are fixing (if any) using #isuue_number format at the end of changelog message. Use Pull Request number if there are no issues for PR or PR covers the issue only partially.

Fixing issue #1188 . mktime depends on the underlying mktime from libc and on some embedded systems it uses only a 32bit time stamp which is reaching only to year 2038.

Fixeing issue #1188 . mktime depends on the underlying mktime from libc and on some embedded systems it uses only a 32bit time stamp which is reaching only to year 2038.
@codecov-io
Copy link

codecov-io commented Sep 18, 2016

Current coverage is 98.34% (diff: 100%)

Merging #1189 into master will decrease coverage by <.01%

@@             master      #1189   diff @@
==========================================
  Files            29         29          
  Lines          6535       6534     -1   
  Methods           0          0          
  Messages          0          0          
  Branches       1095       1095          
==========================================
- Hits           6427       6426     -1   
  Misses           56         56          
  Partials         52         52          

Powered by Codecov. Last update 6bc8385...8f6a1ae

@asvetlov asvetlov merged commit a40cb66 into aio-libs:master Sep 19, 2016
@asvetlov
Copy link
Member

Thanks!

asvetlov pushed a commit that referenced this pull request Sep 19, 2016
* Update cookiejar.py

Fixeing issue #1188 . mktime depends on the underlying mktime from libc and on some embedded systems it uses only a 32bit time stamp which is reaching only to year 2038.

* Update CONTRIBUTORS.txt
@lock
Copy link

lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants