3 | | a) You haven't implemented yet--either be 100% consistent or go home. To be clear, this also means that you have to fight a constant uphill battle with every Python API that returns `str`, not `bytes` for filenames, such as `os.listdir`, `os.getcwd`, `os.curdir`, `os.sep`, and many others. |
| 3 | a) You haven't implemented yet--either be 100% consistent or go home. To be clear, this also means that you have to fight a constant uphill battle with every Python API that returns `str`, not `bytes` for filenames, such as `os.listdir`, `os.getcwd`, `os.curdir`, `os.sep`, and many others. Some of these are functions that when passed bytes return bytes (which means if you want bytes you have to make sure they are ''always'' passed bytes regardless what some users pastes into their terminal). In other cases they are not. |