berkerpeksag / astor

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

Deprecate old API for 0.6 release #59

Closed leonardt closed 7 years ago

leonardt commented 7 years ago

Wraps deprecated functions to print a warning. Updates the changelog to document the deprecated functions.

Closes https://github.com/berkerpeksag/astor/issues/36 Depends on https://github.com/berkerpeksag/astor/pull/58

pmaupin commented 7 years ago

I like the deprecation, but it would be nice to have a couple of tests just to insure that the functions still work for now.

pmaupin commented 7 years ago

Is there a reason not to use the standard warnings module?

pmaupin commented 7 years ago

I will deal with this using the warnings module.

Thanks, Pat