feat: make Python scripts compatible with both Python 2 and 3
Update print statements to function syntax, add from __future__ import print_function in test.py, change shebangs to /usr/bin/env python, replace str.translate with re.sub for anchor sanitization in generate_docs.py, and decode subprocess output to utf-8 in test.py for cross-version string handling.
This commit is contained in:
@@ -2,4 +2,5 @@ This is the (likely imcomplete) list of people who have made Wren what it is.
|
||||
If you submit a patch to Wren, please add your name and email address to the
|
||||
end of this list.
|
||||
|
||||
Robert Nystrom <robert@stuffwithstuff.com>
|
||||
Robert Nystrom <robert@stuffwithstuff.com>
|
||||
Kyle Marek-Spartz <kyle.marek.spartz@gmail.com>
|
||||
|
||||
Reference in New Issue
Block a user