Commit 10be1f23 authored by Yong Tang's avatar Yong Tang Committed by Frank Chen
Browse files

Fix issue of tf.gfile.Exists with Unicode on Windows (#17697)



* Fix issue of tf.gfile.Exists with Unicode on Windows

This fix tries to address the issue raised in 17695 where
tf.gfile.Exists with Unicode on Windows does not work as expected.
The issuse comes from the usage of `_access` (vs. _waccess).

This fix adds a test and fixes the issue.

This fix fixes 17695.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Replace _access with _waccess on Windows.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent dacedd7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment