python codes hang with python 3.9.6 compiled with Xcode 13b3

Hi there

since I installed Xcode 13 b3, codes running under python 3.9.6 hang at various stages:

I have no error messages just that python resources jump to >100% of CPU.

This happens either loading a module (e.g. from astropy.modeling import models - but from astropy.constants.si import c its fine) or creating a reasonably sized array with numpy.arange().

I reinstalled Xcode 12.5.1 with its CLT and the code loads and creates what is needed.

My vague idea is that the memory resources are badly handled using Xcode 13+CLTs (ahh everything worked fine with Xcode 13 b1) with Xcode 13 I have been using: Big Sur 11.5, or Monterey 12.0b3 . so the machine seems not to be an issue. any ideas?

since I installed Xcode 13 b3, codes running under python 3.9.6 hang at various stages:

I recommend that you report this as a bug. If you can include a Python program that reproduces the problem, that’d be grand.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

python codes hang with python 3.9.6 compiled with Xcode 13b3
 
 
Q