-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python 3.8 cgi.escape() deprecated #4
Comments
This happened when running The llvm release used in this repo is quite old. You could try updating with a newer one. |
hello thank you for your quick response. I only came to this repo as directed by someone else. I was using it to guide me in how to use optviewer. I realise now that this repo is not the version of what is installed. if it helps for clarification this is the version of FLANG based on LLVM: earmgr@uan01:~> flang --version thanks again |
So, switching to html.escape() allowed the script to process further, but it fails with the following: The above exception was the direct cause of the following exception: Traceback (most recent call last): Run on MacOS 10.15..7 with Python 3.9 and Clang version 12.0.0 (clang-1200.0.32.21) |
Follow-up on this. When I run the script with -j 1 (single process, no multiprocessing) it works as expected. So, I suspect there is an issue with the oppmap.py script. |
Deprecated since version 3.2: This function is unsafe because quote is false by default, and therefore deprecated. Use html.escape() instead.
your code failed on a modern system perhaps I should contact LLVM directly?
The text was updated successfully, but these errors were encountered: