aosabook/500lines

Python interpreter won't work with Python 3.6

serprex opened this issue · 2 comments

Python 3.6 is transitioning to a regularized 16-bit wordcode

Thanks for the warning -- we'll make a note of this in the chapter (b5ee541).

this line normalized = urllib.parse.urljoin(response.url, url) would block the execution in Python 3.6.

And change it to normalized = urllib.parse.urljoin(str(response.url), url) would make it work.