Bug report
Bug description:
The function multiprocessing.log_to_stderr() throws an error:
Python3.10.13 (main, Sep112023, 08:16:02) [Clang14.0.6 ] ondarwinType"help", "copyright", "credits"or"license"formoreinformation.
>>>importmultiprocessing>>>logger=multiprocessing.log_to_stderr()
Traceback (mostrecentcalllast):
File"<stdin>", line1, in<module>File"/Users/amasson/micromamba/envs/nf_cloud/lib/python3.10/multiprocessing/context.py", line162, inlog_to_stderrreturnlog_to_stderr(level)
File"/Users/amasson/micromamba/envs/nf_cloud/lib/python3.10/multiprocessing/util.py", line94, inlog_to_stderrlogger=get_logger()
File"/Users/amasson/micromamba/envs/nf_cloud/lib/python3.10/multiprocessing/util.py", line67, inget_loggerlogging._acquireLock()
AttributeError: module'logging'hasnoattribute'_acquireLock'>>>
Same thing with Python 12.0:
Python3.12.0 (v3.12.0:0fb18b02c8, Oct22023, 09:45:56) [Clang13.0.0 (clang-1300.0.29.30)] ondarwinType"help", "copyright", "credits"or"license"formoreinformation.
>>>importmultiprocessing>>>logger=multiprocessing.log_to_stderr()
Traceback (mostrecentcalllast):
File"<stdin>", line1, in<module>File"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/context.py", line162, inlog_to_stderrreturnlog_to_stderr(level)
^^^^^^^^^^^^^^^^^^^^File"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/util.py", line94, inlog_to_stderrlogger=get_logger()
^^^^^^^^^^^^File"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/util.py", line67, inget_loggerlogging._acquireLock()
^^^^^^^^^^^^^^^^^^^^AttributeError: module'logging'hasnoattribute'_acquireLock'
CPython versions tested on:
3.10, 3.12
Operating systems tested on:
macOS
Bug report
Bug description:
The function
multiprocessing.log_to_stderr()throws an error:Same thing with Python 12.0:
CPython versions tested on:
3.10, 3.12
Operating systems tested on:
macOS