Sylvain
Sylvain
https://twitter.com/cfbolz/status/783313503230844929 . The whole twitter thread is interesting with links such as: https://www.researchgate.net/publication/307088989_Some_Trouble_with_Transparency_An_Analysis_of_Student_Errors_with_Object-oriented_Python https://mail.python.org/pipermail/python-ideas/2016-October/042672.html https://github.com/ipython/ipython/pull/9073/files Also, the corresponding commit is: https://bitbucket.org/pypy/pypy/commits/e664458f25d07bbc8378161dcd8973df6a701b96 (includes nice tests)
http://inventwithpython.com/blog/2012/07/09/16-common-python-runtime-errors/
``` >>> 3.5 ^ 2 Traceback (most recent call last): File "", line 1, in TypeError: unsupported operand type(s) for ^: 'float' and 'int' >>> 3.5 ** 2 12.25 ```
``` >>> raise NotImplemented Traceback (most recent call last): File "", line 1, in TypeError: exceptions must be old-style classes or derived from BaseException, not NotImplementedType ``` A fuzzy match...
`TypeError: unhashable instance` Maybe suggest how to make the instance hashable (on custom classes), maybe suggest hashable types (`frozenset`, `tuple`, etc).
https://mail.python.org/pipermail/python-ideas/2016-November/043848.html https://mail.python.org/pipermail/python-ideas/2016-December/043910.html
`RuntimeError: dictionary changed size during iteration` Maybe suggest ideas from : http://stackoverflow.com/questions/11941817/how-to-avoid-runtimeerror-dictionary-changed-size-during-iteration-error
http://stackoverflow.com/questions/19234598/typeerror-str-object-cannot-be-interpreted-as-an-integer http://stackoverflow.com/questions/28036309/typeerror-list-object-cannot-be-interpreted-as-an-integer
https://mail.python.org/pipermail/python-checkins/2015-October/139263.html
This is an interesting issue and might deserve some suggestion : http://stackoverflow.com/questions/4545661/unicodedecodeerror-when-redirecting-to-file