Python 3.9 (3.9.0a3) is set to be released on Feb 05, 2020. It is mostly improvement and bug fixes release.
Bug fix in string
"".replace("", "new string", 1) should return
new string as it is expected to replace first
new string and return
But it returns
"" in earlier versions of python which is fixed in python 3.9
unparse() function in
ast.unparse(parsed_object) will unparse the parsed_object and will return original expression back.
os.unsetenv(key) is now available for Windows as well.
_file _ path is made absolute now. This code will print absolute path of the script file