You have been subscribed to a public bug:

When one runs "os.path.isfile("/vmlinuz")" or the same for
os.path.exists, False is returned. However, given the information at:
https://docs.python.org/3.8/library/os.path.html#os.path.isfile and
https://docs.python.org/3.7/library/os.path.html#os.path.isfile, True
should be returned for links as well.

"os.path.islink("/vmlinuz")" works as expected, so I'm not sure what's
going on here.

Any ideas? It could be my VM as it's been running 19.10 for a little
while now.

Hamish

** Affects: python3-defaults (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
Ubuntu 19:10 - Python 3 os.path.isfile not working as expected
https://bugs.launchpad.net/bugs/1844518
You received this bug notification because you are a member of Ubuntu Touch 
seeded packages, which is subscribed to python3-defaults in Ubuntu.

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to