[issue28859] os.path.ismount sometimes raises FileNotFoundError on Windows

2020-04-02 Thread Ankesh Saha
Ankesh Saha added the comment: s I have tried to workout a solution for the problem. Below is my observation and possible solution. os.path.ismount("F:\\doesnotexist") Exception occurs for the above line if the system fails to find both drive and the path that foll

[issue40025] enum: _generate_next_value_ is not called if its definition occurs after calls to auto()

2020-03-30 Thread Ankesh Saha
Ankesh Saha added the comment: Hi, I have ran the code with with _generate_next_value_ method at the bottom of the class and didn't run into any exceptions. Please refer my python file. Please let me know if I am missing something. from enum import Enum, auto class E(Enum):