SylvainDe / DidYouMean-Python

Module to have suggestions in case of errors (NameError, AttributeError, etc).
MIT License
122 stars 15 forks source link

Handle functions removed from one version to another #9

Open SylvainDe opened 9 years ago

SylvainDe commented 9 years ago

Example:

SylvainDe commented 9 years ago

Also, many great ideas here :

SylvainDe commented 9 years ago

Added tests for some examples. On going issue. Closing it because I'd never close it otherwise.

SylvainDe commented 9 years ago

https://github.com/PythonCharmers/python-future

SylvainDe commented 9 years ago

Related : add suggestions for things added. For instance FileNotFoundError is only defined from a given version which is very annoying.

SylvainDe commented 9 years ago

https://gist.github.com/SylvainDe/f0a88fc77c6f2be8ce66 dirty script to retrieve relevant information. Would be nice to run on all Python versions at some point...