Eugene Toder

Results 47 comments of Eugene Toder

Hi @GrahamDumpleton. Did you have a chance to look?

Hi @GrahamDumpleton, Thank you for review. I make the following two claims: 1. Import finders are protected by the global import lock. You can see it [in the code](https://github.com/python/cpython/blob/v3.10.7/Lib/importlib/_bootstrap.py#L937). I...

> These are fundamental guarantees and since CPython is the reference implementation other implementations should behave the same way. Raymond Hettinger [disagrees](https://bugs.python.org/issue25343#msg252575) :-) > http://effbot.org/pyfaq/what-kinds-of-global-value-mutation-are-thread-safe.htm This clearly describes the cpython...

> I think the fact that people were relying on `setdefault` being atomic for 12 years before it actually became atomic is a good reason not to rely on undocumented...

Yes, exactly. Anything except python classes that implement `__hash__` or `__eq__` in python.

I had a similar issue and I thought, maybe we can make SwapRateHelper and OISRateHelper accept builder classes, MakeVanillaSwap and MakeOIS respectively? Currently helpers create these builders internally, but they...

@TSchulz85 @lballabio I exposed mixed interpolation described there earlier this year: https://github.com/lballabio/QuantLib-SWIG/commit/67506f7b501197f4a9489bd315acbe31ae9f9c6a

@wolever Could you please take a look?

This also includes changes from #162, #169, and #172.

@wolever One problem with using subTest is that rather than each generated test running in its own instance of the test class with the setUp, test_method, tearDown sequence, they will...