Comments (5)
Thanks for the report!
It was inevitable that something would break with how we are reaching into internals like this. The whole "magic" thing was a mistake of a feature I think, oh well.
I'll take a look and try to come up with some workaround.
from docopt-ng.
So, apparently CALL_FUNCTION, CALL_FUNCTION_KW, CALL_METHOD, CALL_METHOD_KW were removed from Python 3.11. See python/cpython#88691 for the details.
from docopt-ng.
Thanks for the report!
It was inevitable that something would break with how we are reaching into internals like this. The whole "magic" thing was a mistake of a feature I think, oh well.
I'll take a look and try to come up with some workaround.
Thanks! Looking forward to it!
from docopt-ng.
OK, so brownie is using a vendored version of docopt, so if I fix the bug here then you won't see that change unless they pull that in. I still will look for the bug and probably fix it, but FYI you are going to have to go through more steps.
from docopt-ng.
OK this is fixed in #51 (by just deleting the problematic feature ;) ). You will now need to get brownie to re-pull this updated version (or perhaps depend on it from PyPI, I'm not sure why they have it vendored, but they are going to keep getting this problem otherwise)
I'll leave this open for now if you have any problems, but will close soon.
from docopt-ng.
Related Issues (20)
- Written a docopt grammar, interested ? HOT 6
- fork HOT 4
- Performance penalty: combinatorial explosion in `transform` HOT 3
- Make PEP561 compatible (allow mypy to actually find type hints) HOT 8
- When docopt and docopt-ng are in the same venv, docopt takes precedence HOT 6
- Add @NickCrews to test.pypi.org HOT 1
- docopt-ng fails to parse usage string that worked with docopt HOT 4
- Question: auto formatting & sorting imports HOT 5
- Is it possible to separate options in subsections? HOT 2
- Failing to put two spaces in description sometimes results in very obscure error. HOT 1
- Integrate docopt-dispatch in this project HOT 5
- Spaces in default value HOT 3
- Claim `docopt` name on pypi (PEP-541) HOT 10
- TODO: port spellchecker to suggest, rather than fix
- DISCUSS: future of docopt-ng HOT 17
- docopt.DocoptLanguageError: unmatched '[' HOT 1
- If there is unused data in the command line, the thrown exception doesn't include the collected and left items HOT 1
- command line parsing is storing some options multiple times HOT 2
- Allow dumping of parse tree, to make it easier to check what docopt will actually parse
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 docopt-ng.