Giter VIP home page Giter VIP logo

Comments (4)

tacaswell avatar tacaswell commented on June 3, 2024 1

I tested with the development branch of py311 (Python 3.11.1+ (heads/3.11:c915f00eca, Jan 4 2023, 10:49:59) [GCC 12.2.0]) and can not reproduce this so I very strongly suspect that this is a CPython bug.

I do not have the time to bisect this to be sure, but I suspect that python/cpython#100098 is the upstream bug and it is not worth changing to data classes to work around this.

I think for now the best bet is to drop to 3.11.0 and wait for 3.11.2.

I'm going to close this because it looks very much like an upstream bug that has already been fixed. Even if we added "does not work with 3.11.1" to future releases, it would not help because the solver would just pick an old broken version (that we released before 3.11.1 and obviously could not predict the future).

from caproto.

danielballan avatar danielballan commented on June 3, 2024

Thanks!

from caproto.

tacaswell avatar tacaswell commented on June 3, 2024

What version of caproto are you using and can you try from the main branch? Very oddly I can reproduce this with py311 but not with the CPython main branch.

The values on the CAStatus enum should be a named-tuple, but something is down-casting them to normal tuples in the iteration process. Without digging into it my guess is that this is actually a regression in CPython that has already been fixed (that said, betting on it being a bug in CPython is a bad bet).

from caproto.

klauer avatar klauer commented on June 3, 2024

Confirmed on CI that 3.11.2 is working with caproto (#811)

from caproto.

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.