Closed robynsmith closed 5 years ago
Thank you very much for this contribution, @robynsmith . Fluent Python is focused on Python 3. There are many code examples that will not work in Python 2.7. I do point out some of the differences, but it was never my goal to cover all the differences between Python 2 and Python 3.
Makes sense to me. At this point, this ticket might help someone running into the same issue :P
Thanks for the response! :)
Gives me this error:
Based on research I did, this is a known limitation of python 2.7:
Source: Python Docs
This info might be useful to someone out there. Not sure if it's worth noting in a future revision of the book :)