Upcoming incompatibility with Python3.12 and web/template.py
I noticed that tokenize in python 3.12 has made an incompatible change (by intent) in how it parses python. In particular, rather than returning an error token in some cases it will raise an exception.
I suspect none of the webpages will successfully render with that new tokenize.
I was able to work around the issue by catching and ignoring the exception but I was hoping someone might find a more elegant way to deal with this.
While I havent done so, I am quite confident any 3.12 version of tokenize being used with sip's webpy software will fail.
Just hoping to get this out there early enough so someone else does not rediscover this.
-brian
If the issue is with web.py it should be addressed on the web.py repo: https://github.com/webpy/webpy
Web.py has been updated and the problem eliminated.