Message361367
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. |
|
Date |
User |
Action |
Args |
2020-02-04 20:36:01 | Mikko Korkalo | set | recipients:
+ Mikko Korkalo, christian.heimes, serhiy.storchaka, eryksun, Oliver Smith, cheryl.sabella, Alex Richman, miss-islington |
2020-02-04 20:36:01 | Mikko Korkalo | set | messageid: <1580848561.14.0.609247194731.issue29707@roundup.psfhosted.org> |
2020-02-04 20:36:01 | Mikko Korkalo | link | issue29707 messages |
2020-02-04 20:36:00 | Mikko Korkalo | create | |
|