[3.13] gh-122273: Support PyREPL history on Windows (#127141) (#127289) gh-122273: Support PyREPL history on Windows (#127141) Co-authored-by: devdanzin <[email protected]> (cherry picked from commit 3c7a90a83146dc6e55f6f9ecd9af0bf9682f98a6)