client-Python
client-Python copied to clipboard
Wrong pathname logging in python 3.11
trafficstars
Describe the bug
Following up from reportportal/agent-python-pytest#319
I'm seeing some strange behavior with python 3.11 as well, and it may indeed be a result of some change in core python, but one that may require a fix in the RP client nevertheless.
Please see this issue on cpython for reference: https://github.com/python/cpython/issues/97941
What I'm seeing on reportportal client is that this line is now being returned as the caller: https://github.com/reportportal/client-Python/blob/bd50b91f55f9d8dd9ea0dab649e207562ab3a843/reportportal_client/logs/init.py#L65
This is probably a result of the change in cpython, which could potentially explain the "hijacking" described in the original ticket too.