Automatic fixups done using 2to3:
- 2to3 -f numliterals
- 2to3 -f dict
- 2to3 -f map
- 2to3 -f exec
The exec call is additionally updated to have a string argument as noted by @thopre.
The changes cover the files found to be affected when running tests (without result submission).
I initially thought of using
os.chmod(wsgi_path, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
instead. Maybe 0o755 is indeed more readable.