berkerpeksag / astor

Python AST read/write
https://pypi.org/project/astor/
BSD 3-Clause "New" or "Revised" License
810 stars 102 forks source link

Remove check for node.docstring #106

Closed berkerpeksag closed 6 years ago

berkerpeksag commented 6 years ago

node.docstring has just removed from 3.7.0.b5 due to backwards compatibility reasons. See https://github.com/python/cpython/pull/7121/ for details.

By looking at the pull request, reverting https://github.com/berkerpeksag/astor/commit/524d525e999f98198787bb35d0b18d83cfa25d4a might be enough.

@radomirbosak would you like to submit a pull request?

berkerpeksag commented 6 years ago

We should, of course, still keep the tests and changes in .travis.yml.

Kodiologist commented 6 years ago

Beware that only old alphas of Python 3.7 are currently available on Travis.

berkerpeksag commented 6 years ago

Thanks for the heads up. The whole docstring situation is a complete mess...