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

[FIX] TimeVariable.parse: Do not modify _ISO_FORMATS #4539

Merged
merged 1 commit into from
Mar 20, 2020

Conversation

ales-erjavec
Copy link
Contributor

Issue

TimeVariable.parse was not thread safe and could mess up _ISO_FORMATS list losing some entries via duplication.

Description of changes

Make iteration order explicit, modified only via class instance assignment.

Includes
  • Code changes
  • Tests
  • Documentation

TimeVariable.parse was not thread safe and could mess up
_ISO_FORMATS list losing some entries via duplication.
@codecov
Copy link

codecov bot commented Mar 16, 2020

Codecov Report

Merging #4539 into master will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4539      +/-   ##
==========================================
- Coverage   83.37%   83.35%   -0.03%     
==========================================
  Files         279      274       -5     
  Lines       55755    54961     -794     
==========================================
- Hits        46485    45812     -673     
+ Misses       9270     9149     -121     

@VesnaT VesnaT merged commit 29c5bca into biolab:master Mar 20, 2020
@ales-erjavec ales-erjavec deleted the fixes/timevariable-parse branch August 5, 2020 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants