]> granicus.if.org Git - python/commit
bpo-37412: Fix os.getcwd() for long path on Windows (GH-14424) (GH-14451)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 28 Jun 2019 16:23:06 +0000 (09:23 -0700)
committerVictor Stinner <vstinner@redhat.com>
Fri, 28 Jun 2019 16:23:06 +0000 (18:23 +0200)
commit68c1c398f3534af16309a86ab815b61d2487e6db
tree451e86328b35ad0ff0e0da07188b79ef223291ca
parentad00640f936956c3a19834b6cd12b04edf53a776
bpo-37412: Fix os.getcwd() for long path on Windows (GH-14424) (GH-14451)

* Fix test for integer overflow.
* Add an unit test.
(cherry picked from commit ec3e20a2d1edddb0558f9d32e2b367904ccdde88)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_os.py
Modules/posixmodule.c