This PR addresses an issue occurring in debug mode when setting the threading start method using set_start_method fails. Previously, if an exception was raised during this process, the error handling code would incorrectly format the exception message, leading to a secondary exception of type TypeError with the message "not all arguments converted during string formatting."
This PR addresses an issue occurring in debug mode when setting the threading start method using set_start_method fails. Previously, if an exception was raised during this process, the error handling code would incorrectly format the exception message, leading to a secondary exception of type TypeError with the message "not all arguments converted during string formatting."