Author Mikko Korkalo
Recipients Alex Richman, Mikko Korkalo, Oliver Smith, cheryl.sabella, christian.heimes, eryksun, miss-islington, serhiy.storchaka
Date 2020-02-04.20:36:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580848561.14.0.609247194731.issue29707@roundup.psfhosted.org>
In-reply-to
Content
I disagree about whether this should be fixed or not.
It's definitely a bug. If you ask whether a bind mount destination is a mount, it should return true.

I wrote a logic that does bind mounting. The logic cannot use ismount() because it does not work for me, it would keep remounting the same bind mount.

Not fixing this just causes people to write even less portable hackery on their own. I have to parse /proc/mounts or something manually, which obviously should be the job of ismount().
Python has a lot of platform-specific underlying implementations anyway.
History
Date User Action Args
2020-02-04 20:36:01Mikko Korkalosetrecipients: + Mikko Korkalo, christian.heimes, serhiy.storchaka, eryksun, Oliver Smith, cheryl.sabella, Alex Richman, miss-islington
2020-02-04 20:36:01Mikko Korkalosetmessageid: <1580848561.14.0.609247194731.issue29707@roundup.psfhosted.org>
2020-02-04 20:36:01Mikko Korkalolinkissue29707 messages
2020-02-04 20:36:00Mikko Korkalocreate