Skip to content

[MRG] MNT remove mutable default value for backend_options parameter#748

Merged
lesteve merged 1 commit intojoblib:masterfrom
lesteve:remove-mutable-default
Aug 17, 2018
Merged

[MRG] MNT remove mutable default value for backend_options parameter#748
lesteve merged 1 commit intojoblib:masterfrom
lesteve:remove-mutable-default

Conversation

@lesteve
Copy link
Copy Markdown
Member

@lesteve lesteve commented Aug 17, 2018

Fix #742.


# item can be stored compressed for faster I/O
self.compress = backend_options['compress']
self.compress = backend_options.get('compress', False)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since mmap_mode is optional in backend_options I think it makes sense to have the same status for compress.

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 17, 2018

Codecov Report

Merging #748 into master will increase coverage by 0.03%.
The diff coverage is 92.3%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #748      +/-   ##
==========================================
+ Coverage   95.28%   95.32%   +0.03%     
==========================================
  Files          42       42              
  Lines        6128     6133       +5     
==========================================
+ Hits         5839     5846       +7     
+ Misses        289      287       -2
Impacted Files Coverage Δ
joblib/memory.py 95.44% <100%> (+0.06%) ⬆️
joblib/_store_backends.py 89.94% <85.71%> (-1.06%) ⬇️
joblib/backports.py 93.75% <0%> (-2.09%) ⬇️
joblib/test/test_memory.py 97.84% <0%> (+0.35%) ⬆️
joblib/_parallel_backends.py 98.4% <0%> (+1.2%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aaba4f0...2240f6e. Read the comment docs.

@lesteve lesteve merged commit b0bc5dd into joblib:master Aug 17, 2018
@lesteve lesteve deleted the remove-mutable-default branch August 17, 2018 11:50
yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Sep 4, 2018
* tag '0.12.3': (23 commits)
  Release 0.12.3
  Loky 2.2.1 (joblib#760)
  FIX: FileSystemStoreBackend string representation only returning location (path) (joblib#765)
  Add optional dependency on psutil
  MAINT remove brittle time based assertion in test (joblib#761)
  Fix a bug in nesting level computation with FallbackToBackend(SequentialBackend()) (joblib#759)
  Make docstring more consistent with project style
  Improved performance of call_and_shelve (joblib#757)
  Better test name
  Fix default context handling (joblib#754)
  cloudpickle 0.5.5 (joblib#756)
  Fixed error where filter args was consuming kwargs (joblib#750)
  FIX pickle roundtrip for Memory and related classes. (joblib#746)
  test that passes but timeout appveyor because of unclosed semaphore tracker (joblib#676)
  DOC: fine tune compressor example dataset size for ReadTheDocs (joblib#753)
  FIX: MemorizedResult not picklable (joblib#752)
  [MRG] Better message with py27 when lz4 is not installed (joblib#740)
  MNT remove mutable default value for backend_options parameter (joblib#748)
  MNT create test file for _store_backends module (joblib#749)
  DOC consistently use memory rather than mem in memory.rst (joblib#744)
  ...
yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Sep 4, 2018
* releases: (23 commits)
  Release 0.12.3
  Loky 2.2.1 (joblib#760)
  FIX: FileSystemStoreBackend string representation only returning location (path) (joblib#765)
  Add optional dependency on psutil
  MAINT remove brittle time based assertion in test (joblib#761)
  Fix a bug in nesting level computation with FallbackToBackend(SequentialBackend()) (joblib#759)
  Make docstring more consistent with project style
  Improved performance of call_and_shelve (joblib#757)
  Better test name
  Fix default context handling (joblib#754)
  cloudpickle 0.5.5 (joblib#756)
  Fixed error where filter args was consuming kwargs (joblib#750)
  FIX pickle roundtrip for Memory and related classes. (joblib#746)
  test that passes but timeout appveyor because of unclosed semaphore tracker (joblib#676)
  DOC: fine tune compressor example dataset size for ReadTheDocs (joblib#753)
  FIX: MemorizedResult not picklable (joblib#752)
  [MRG] Better message with py27 when lz4 is not installed (joblib#740)
  MNT remove mutable default value for backend_options parameter (joblib#748)
  MNT create test file for _store_backends module (joblib#749)
  DOC consistently use memory rather than mem in memory.rst (joblib#744)
  ...
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.

1 participant