[Bug 1844518] Re: Ubuntu 19:10 - Python 3 os.path.isfile not working as expected

Hamish McIntyre-Bhatty hamishmb at live.co.uk
Thu Sep 19 18:12:31 UTC 2019


Agreed.

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

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

Status in python3-defaults package in Ubuntu:
  Incomplete

Bug description:
  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

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



More information about the foundations-bugs mailing list