parso 0.8.3-1 source package in Ubuntu

Changelog

parso (0.8.3-1) unstable; urgency=medium

  [ Jochen Sprickerhof ]
  * New upstream version 0.8.3 (Closes: #1023986)
  * Add patch to fix unit tests in Python 3.10 (Closes: #1002353)
  * Move to debhelper 13
  * Use dh-sequence-*
  * Bump policy version (no changes)

 -- Piotr Ożarowski <email address hidden>  Sun, 04 Dec 2022 15:37:09 +0100

Upload details

Uploaded by:
Piotr Ożarowski
Uploaded to:
Sid
Original maintainer:
Piotr Ożarowski
Architectures:
all
Section:
misc
Urgency:
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Noble release universe misc
Mantic release universe misc
Lunar release universe misc

Builds

Lunar: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
parso_0.8.3-1.dsc 1.8 KiB c60a81685b21c253e1055f31251817fe83f827e3c7cf22e0d92a4804d84db57d
parso_0.8.3.orig.tar.gz 390.7 KiB 8c07be290bb59f03588915921e29e8a50002acaf2cdc5fa0e0114f91709fafa0
parso_0.8.3-1.debian.tar.xz 6.2 KiB f11e215e2ebdd3875732ade1c2c8ed77574878328efd23a748acc231d88e8bf9

Available diffs

No changes file available.

Binary packages built by this source

python-parso-doc: documentation for the parso Python library

 This package provides documentation for parso

python3-parso: Python parser that supports error recovery - Python 3.X

 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.
 .
 A simple example:
 .
  >>> import parso
  >>> module = parso.parse('hello + 1', version="3.6")
  >>> expr = module.children[0]
  >>> expr
  PythonNode(arith_expr, [<Name: hello@1,0>, <Operator: +>, <Number: 1>])
  >>> print(expr.get_code())
  hello + 1
  >>> name = expr.children[0]
  >>> name
  <Name: hello@1,0>
  >>> name.end_pos
  (1, 5)
  >>> expr.end_pos
  (1, 9)
 .
 To list multiple issues:
 .
  >>> grammar = parso.load_grammar()
  >>> module = grammar.parse('foo +\nbar\ncontinue')
  >>> error1, error2 = grammar.iter_errors(module)
  >>> error1.message
  'SyntaxError: invalid syntax'
  >>> error2.message
  "SyntaxError: 'continue' not properly in loop"