3 ms·
The python interface usually would take bytes, and if it did would also return bytes. But there were a lot of things that didn't take arguments, so always retu
by wnoise 7y ago
The python interface usually would take bytes, and if it did would also return bytes. But there were a lot of things that didn't take arguments, so always returned Unicode strings. Instead of e.g. getcwd(), you would have to use getcwdb(). Which naturally didn't have an equivalent in python 2 though they did add the complementary getcwdu() (which one should basically never use).