Comments (4)
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.
Thanks!
from caproto.
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.
Confirmed on CI that 3.11.2 is working with caproto (#811)
from caproto.
Related Issues (20)
- add_callback failed with error HOT 2
- Deprecate/remove/fix examples which have getters
- Array slice channel filter works intermittently when used with camonitor HOT 2
- Repository links for Caproto-written IOCs? HOT 6
- CI: deprecated GHA usage of `set-output` needs resolving in docs workflow
- Add logo to documentation HOT 1
- Resource leak in caproto.threading.pyepics_compat HOT 3
- Python 3.12: 0-dim memory has no length
- caproto IOCs on Windows Python 3.12 have issues
- Implementing Motor controller IOC, is there a hook for a home action? HOT 1
- Help please, Cannot figure out how to pass parameters to SubGroup.. HOT 2
- Adding a ZMQ backend HOT 2
- Search does not work in documentation
- Python 3.12: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated HOT 1
- disconnect task not awaited
- Server traceback when reading a float HOT 3
- Failed to send beacon error HOT 6
- add date to logs HOT 2
- CAproto asyncio client going into endless loop on teardown when used with pytest HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caproto.