Closed bmerry closed 3 years ago
Thanks @mhvk, you beat me to it!
No, thanks to you for realizing we used the classproperty
here too!
It was pure luck: I was digging into pyerfa while investigating leap-seconds and happened across some familiar-looking code :-)
astropy/astropy#11221 fixes a race condition when multiple threads read a lazy
classproperty
. It looks likeclassproperty
has been copied into pyerfa, so the fix should be ported (once it is merged in astropy).