Giter VIP home page Giter VIP logo

Comments (7)

cool-RR avatar cool-RR commented on June 2, 2024

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?

from pysnooper.

cool-RR avatar cool-RR commented on June 2, 2024

@keszybz What's the timeline for this feature?

from pysnooper.

keszybz avatar keszybz commented on June 2, 2024

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)

from pysnooper.

frenzymadness avatar frenzymadness commented on June 2, 2024

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.

from pysnooper.

cool-RR avatar cool-RR commented on June 2, 2024

from pysnooper.

cool-RR avatar cool-RR commented on June 2, 2024

I believe I fixed the bug in PySnooper 1.2.0, @keszybz can you please confirm?

from pysnooper.

keszybz avatar keszybz commented on June 2, 2024

Yep, it all seems fine with Python 3.12.0b4. Thanks!

from pysnooper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.