Formerly a Blog on BeautifulSoup, now a blog on R, Python and Statistical Algorithms including Machine Learning Algorithms
Sunday, 27 September 2009
Lamenting the Deprecation of a Brilliantly, Simple Feature: String Exceptions in Python
Python used to allow string exceptions (raise "Exception thrown!") but now these are deprecated. You have to raise real exceptions. BaseException is used as base for built-in exceptions.
No comments:
Post a Comment