Hi,
This is very surprising indeed. Flask must be doing some very funky stuff with the GIL I guess as we explicitly release it just before this call.
Do you know if Flask has some custom behavior wrt to the GIL and how it reports it?