Public bug reported:

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: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1844518

Title:
  Ubuntu 19:10 - Python 3 os.path.isfile not working as expected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1844518/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to