A Python Parser
Parso is a Python parser that supports error recovery and round-trip parsing for different Python versions (in multiple Python versions). Parso is also able to list multiple syntax errors in your python file.
Parso has been battle-tested by jedi. It was pulled out of jedi to be useful for other projects as well.
Parso consists of a small API to parse Python and analyse the syntax tree.
- Devel package for openSUSE:Factory
-
5
derived packages
- Links to openSUSE:Factory / python-parso
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:python/python-parso && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000124 124 Bytes | |
parso-0.7.0.tar.gz | 0000399099 390 KB | |
python-parso.changes | 0000004390 4.29 KB | |
python-parso.spec | 0000001996 1.95 KB |
Revision 27 (latest revision is 45)
Tomáš Chvátal (scarabeus_iv)
accepted
request 793803
from
Benjamin Greiner (bnavigator)
(revision 27)
- update to 0.7.0 * Fix a lot of annoying bugs in the diff parser. The fuzzer did not find issues anymore even after running it for more than 24 hours (500k tests). * Small grammar change: suites can now contain newlines even after a newline. This should really not matter if you don't use error recovery. It allows for nicer error recovery. - remove py_38.patch (merged upstream) From upstream's Jedí news thread [1]: ==Released parso 0.7.0. This is not a Jedi upgrade.== This should be backwards compatible with the last few Jedi versions, so please just upgrade. The upgrade helps a lot with some situations where after working with some code completions would stop. This was completely not reproducible (or it was very hard to reproduce), so people never really reported it. I fixed a lot of annoying bugs in the diff parser. The fuzzer finally and for the first time did not find issues anymore even after running it for more than 24 hours (500k tests). [1] https://github.com/davidhalter/jedi/issues/1063#issuecomment-613080481
Comments 0