Mayil-AI / loguru

MIT License
0 stars 0 forks source link

The same code when I upgraded to py3.11, loguru reported the error (hashtag1071) #8

Open vikramsubramanian opened 3 months ago

vikramsubramanian commented 3 months ago

![image](

)

mayil-ai[bot] commented 3 months ago

Possible Solution

Code snippets to check

loguru → _logger.py This snippet contains the import and compatibility handling for Python versions, which may be relevant to the issue if the error is related to version-specific code. https://github.com/Mayil-AI/loguru/blob/871de74acb2382fb3982d3fb8e224e4a82de9073/loguru/_logger.py#L85-L122 This snippet includes logging level handling and could be relevant if the issue is related to logging at different levels or if the error is triggered during logging. https://github.com/Mayil-AI/loguru/blob/871de74acb2382fb3982d3fb8e224e4a82de9073/loguru/_logger.py#L1906-L2020
loguru → _error_interceptor.py This snippet is part of the error handling in loguru and may be relevant if the error reported is related to exception handling or logging errors. https://github.com/Mayil-AI/loguru/blob/871de74acb2382fb3982d3fb8e224e4a82de9073/loguru/_error_interceptor.py#L1-L34
setup.py This snippet from setup.py includes the supported Python versions. If the issue is related to Python 3.11 support, this file may need to be checked to ensure compatibility is correctly declared. https://github.com/Mayil-AI/loguru/blob/871de74acb2382fb3982d3fb8e224e4a82de9073/setup.py#L8-L58
loguru → _handler.py This snippet is related to the handler setup in loguru, which could be relevant if the error is occurring during the setup or configuration of logging handlers. https://github.com/Mayil-AI/loguru/blob/871de74acb2382fb3982d3fb8e224e4a82de9073/loguru/_handler.py#L32-L108