Closed keszybz closed 1 year ago
Thank you @keszybz , I'll check it out.
@alexmojaki I investigated a bit and found that the problem might be caused by code you added here: https://github.com/cool-RR/PySnooper/blob/1.1.1/pysnooper/tracer.py#L527
It's possible that this ended_by_exception
logic doesn't work anymore in Python 3.12. What happens in practice is that we get the "ended by exception" message even when there was no exception, like this line here.
Do you know anything about that?
@keszybz What's the timeline for this feature?
https://peps.python.org/pep-0693/: 3.12.0 beta 1: Monday, 2023-05-22 (No new features beyond this point.) 3.12.0 final: Monday, 2023-10-02 (expected)
In Fedora, we now have 3.12 beta 3 and it's already merged in rawhide. Good news is that pysnooper is a leaf package (no other packages depend on it) so it doesn't block anything else but it's not installable for users.
I'll get to work on it, thank you for letting me know.
On Tue, Jul 11, 2023 at 8:55 AM frenzymadness @.***> wrote:
In Fedora, we now have 3.12 beta 3 and it's already merged in rawhide. Good news is that pysnooper is a leaf package (no other packages depend on it) so it doesn't block anything else but it's not installable for users.
— Reply to this email directly, view it on GitHub https://github.com/cool-RR/PySnooper/issues/236#issuecomment-1630186313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAN3SS7FP2VWNGG5IQDAWLXPTTFFANCNFSM6AAAAAAX75F7GA . You are receiving this because you commented.Message ID: @.***>
I believe I fixed the bug in PySnooper 1.2.0, @keszybz can you please confirm?
Yep, it all seems fine with Python 3.12.0b4. Thanks!
Hi, in Fedora, we're starting to test compatiblity of packages with Python 3.12. pysnooper tests fail, see https://bugzilla.redhat.com/show_bug.cgi?id=2196749 for some logs and reproduction information. It seems to be related to traceback details.
Note that Python 3.11 works without any issue.