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).