Skip to content

Wrong pathname logging in python 3.11 #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dagansandler opened this issue Aug 4, 2024 · 0 comments · Fixed by #233
Closed

Wrong pathname logging in python 3.11 #234

dagansandler opened this issue Aug 4, 2024 · 0 comments · Fixed by #233
Labels

Comments

@dagansandler
Copy link
Contributor

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: python/cpython#97941

What I'm seeing on reportportal client is that this line is now being returned as the caller:

fn, lno, func, sinfo = self.findCaller(stack_info)

This is probably a result of the change in cpython, which could potentially explain the "hijacking" described in the original ticket too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant