[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-32892: Use ast.Constant instead of specific constant AST types. by serhiy-storchaka · Pull Request #9445 · python/cpython

serhiy-storchaka

Closed

tacaswell added a commit to tacaswell/pystemd that referenced this pull request

Apr 2, 2019

tacaswell added a commit to tacaswell/pystemd that referenced this pull request

Apr 2, 2019

tacaswell added a commit to tacaswell/pystemd that referenced this pull request

Apr 2, 2019

Closed

facebook-github-bot pushed a commit to systemd/pystemd that referenced this pull request

Apr 2, 2019
Summary:
The `Str` object is no longer in in `_ast` is py38, switch
to using the public `ast` module instead.

python/cpython#9445
https://bugs.python.org/issue32892
Pull Request resolved: #33

Differential Revision: D14721271

Pulled By: aleivag

fbshipit-source-id: 1367f300f74f037983e5f6e51f7af8990f416759

Closed

hroncok added a commit to hroncok/mako that referenced this pull request

Apr 11, 2019
Since Python 3.8, class ast.Constant is used for all constants.
Old classes ast.Num, ast.Str, ast.Bytes, ast.NameConstant and
ast.Ellipsis are still available, but they will be removed in
future Python releases.

Constants have values, but not always ns.

See sqlalchemy#287 (comment)
See python/cpython#9445
Fixes Pylons/pyramid_mako#47

Closed

Closed

hroncok added a commit to hroncok/sphinxcontrib-bibtex that referenced this pull request

Apr 22, 2019

Merged

This was referenced

May 3, 2019

Closed

Closed

Closed

amol- mentioned this pull request

Jun 3, 2019

Closed

Closed

Closed