- May 01, 2019
-
-
Alexandru Fikl authored
-
Alexandru Fikl authored
-
- Apr 24, 2019
-
-
Andreas Klöckner authored
ProcessLogger: avoid spawning threads in noninteractive environments (https://github.com/firedrakeproject/firedrake/issues/1422)
-
- Jan 21, 2019
-
-
Andreas Klöckner authored
-
- Mar 27, 2018
-
-
Hao Gao authored
-
- Mar 16, 2018
- Mar 11, 2018
-
-
Andreas Klöckner authored
-
- Feb 27, 2018
-
-
Andreas Klöckner authored
-
- Dec 06, 2017
-
-
Matt Wala authored
Closes #1
-
- Oct 05, 2017
-
-
Matt Wala authored
* Add a CacheCollision warning subclass. * Track stack level so that warnings show user code line numbers. Example: Modifying line 287 of test_persistent_dict.py so that the warning isn't captured by the test, we get this: ``` test_persistent_dict.py:287: CollisionWarning: pytools-test: key collision in cache at '/tmp/tmpq9p3i0b9' -- these are sufficiently unlikely that they're often indicative of a broken implementation of equality comparison pdict[key2] # user code ``` The old behavior was: ``` /home/matt/src/pytools/pytools/persistent_dict.py:466: UserWarning: pytools-test: key collision in cache at '/tmp/tmpuk8js9jw' -- these are sufficiently unlikely that they're often indicative of a broken implementation of equality comparison % (self.identifier, self.container_dir)) ```
-
- Sep 27, 2017
-
-
Matt Wala authored
-
- Sep 25, 2017
-
-
Matt Wala authored
-
- Sep 24, 2017
-
-
Matt Wala authored
-
- Sep 23, 2017
- Sep 20, 2017
-
-
Matt Wala authored
-
- Sep 19, 2017
-
-
Matt Wala authored
This adds an optional in-memory LRU cache. To use the cache, you supply a *in_mem_cache_size* parameter to the PersistentDict. In order to properly support cache invalidation this also implements version tracking of files. This change is backwards compatible with existing persistent dict caches.
-
- Jun 03, 2017
-
-
Andreas Klöckner authored
-
- May 25, 2017
-
-
Andreas Klöckner authored
-
- Dec 06, 2016
-
-
Andreas Klöckner authored
-
- Oct 11, 2016
-
-
Kubilay Kocak authored
test_spatial_btree currently fails if numpy is not available. test_p_convergence_verifier uses the pytest importorskip function to skip the test when numpy is not available. Do the same for test_spatial_btree.
-
- Oct 10, 2016
-
-
Andreas Klöckner authored
-
- Apr 21, 2016
-
-
Andreas Klöckner authored
-
- Oct 28, 2015
-
-
Andreas Klöckner authored
-
- Nov 26, 2014
-
-
Andreas Klöckner authored
-
- May 18, 2014
-
-
Yichao Yu authored
disable kwargs support of memoize by default, remove iteritem wrapper since it will be handled by 2to3
-
- May 17, 2014
-
-
Yichao Yu authored
add keyword argument support and key= keyword argument to function memoize in order to support arguments that are not directly hashable add test for pytools.memoize
-
- Feb 18, 2014
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
- Feb 17, 2014
-
-
Andreas Klöckner authored
-
- Nov 22, 2013
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-