Loading PKG-INFO +2 −1 Original line number Diff line number Diff line Metadata-Version: 1.1 Name: typed-ast Version: 1.1.1 Version: 1.2.0 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher Loading @@ -23,4 +23,5 @@ Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Topic :: Software Development README.md +16 −3 Original line number Diff line number Diff line Loading @@ -9,11 +9,11 @@ parser similar to the standard `ast` library. Unlike `ast`, the parsers in comments and are independent of the version of Python under which they are run. The `typed_ast` parsers produce the standard Python AST (plus type comments), and are both fast and correct, as they are based on the CPython 2.7 and 3.6 parsers. `typed_ast` runs on Python 3.3-3.6 on Linux, OS X and Windows. parsers. `typed_ast` runs on Python 3.3-3.7 on Linux, OS X and Windows. ## Development Philosophy This project is a drop-in replacement for the builtin `ast` module. It is This project is a (mostly) drop-in replacement for the builtin `ast` module. It is intended to be bug-for-bug compatible and behave identically, except for the presence of a few additional fields on the returned classes and a few additional optional arguments to the `parse` call. Therefore, `typed_ast` will Loading @@ -22,9 +22,22 @@ instead. To avoid feature bloat, any new features for `typed_ast` should have the potential to be broadly useful and not be built just for one niche usecase or in a manner such that only one project can use them. ### Incompatabilities For the purposes of *consuming* syntax trees, this should be a drop-in replacement. It is not a drop-in replacement for users that wish to create or transform ASTs, as a number of syntax tree classes have additional fields that must be populated when constructing them. ### Python 3.7 `typed_ast` has not yet been updated to be based on the Python 3.7 parser. The main consequence of this that `await` and `async` are not treated as keywords. ## Submodules ### ast3 The `ast3` parser produces the AST from the latest version of Python 3 The `ast3` parser produces the AST from a recent version of Python 3 (currently Python 3.6). When new versions of Python 3 are released, it will be updated to match any changes in their AST. (For rationale and technical details, see [here](update_process.md).) The AST it currently produces is described in Loading setup.py +1 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,7 @@ setup (name = 'typed-ast', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Topic :: Software Development', ], packages = ['typed_ast'], Loading typed_ast.egg-info/PKG-INFO +2 −1 Original line number Diff line number Diff line Metadata-Version: 1.1 Name: typed-ast Version: 1.1.1 Version: 1.2.0 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher Loading @@ -23,4 +23,5 @@ Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Topic :: Software Development typed_ast/__init__.py +1 −1 Original line number Diff line number Diff line __version__ = "1.1.1" __version__ = "1.2.0" Loading
PKG-INFO +2 −1 Original line number Diff line number Diff line Metadata-Version: 1.1 Name: typed-ast Version: 1.1.1 Version: 1.2.0 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher Loading @@ -23,4 +23,5 @@ Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Topic :: Software Development
README.md +16 −3 Original line number Diff line number Diff line Loading @@ -9,11 +9,11 @@ parser similar to the standard `ast` library. Unlike `ast`, the parsers in comments and are independent of the version of Python under which they are run. The `typed_ast` parsers produce the standard Python AST (plus type comments), and are both fast and correct, as they are based on the CPython 2.7 and 3.6 parsers. `typed_ast` runs on Python 3.3-3.6 on Linux, OS X and Windows. parsers. `typed_ast` runs on Python 3.3-3.7 on Linux, OS X and Windows. ## Development Philosophy This project is a drop-in replacement for the builtin `ast` module. It is This project is a (mostly) drop-in replacement for the builtin `ast` module. It is intended to be bug-for-bug compatible and behave identically, except for the presence of a few additional fields on the returned classes and a few additional optional arguments to the `parse` call. Therefore, `typed_ast` will Loading @@ -22,9 +22,22 @@ instead. To avoid feature bloat, any new features for `typed_ast` should have the potential to be broadly useful and not be built just for one niche usecase or in a manner such that only one project can use them. ### Incompatabilities For the purposes of *consuming* syntax trees, this should be a drop-in replacement. It is not a drop-in replacement for users that wish to create or transform ASTs, as a number of syntax tree classes have additional fields that must be populated when constructing them. ### Python 3.7 `typed_ast` has not yet been updated to be based on the Python 3.7 parser. The main consequence of this that `await` and `async` are not treated as keywords. ## Submodules ### ast3 The `ast3` parser produces the AST from the latest version of Python 3 The `ast3` parser produces the AST from a recent version of Python 3 (currently Python 3.6). When new versions of Python 3 are released, it will be updated to match any changes in their AST. (For rationale and technical details, see [here](update_process.md).) The AST it currently produces is described in Loading
setup.py +1 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,7 @@ setup (name = 'typed-ast', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Topic :: Software Development', ], packages = ['typed_ast'], Loading
typed_ast.egg-info/PKG-INFO +2 −1 Original line number Diff line number Diff line Metadata-Version: 1.1 Name: typed-ast Version: 1.1.1 Version: 1.2.0 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher Loading @@ -23,4 +23,5 @@ Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Topic :: Software Development
typed_ast/__init__.py +1 −1 Original line number Diff line number Diff line __version__ = "1.1.1" __version__ = "1.2.0"