3 ms·
That is why I used sys.hexversion. Since there are 3 paths, has real bytes, fake str bytes, and no bytes.
by tyingq 10y ago
That is why I used sys.hexversion. Since there are 3 paths, has real bytes, fake str bytes, and no bytes.
- jwilk 10y agobytes exists since Python 2.6. Do you really need to support anything older?
- tyingq 10y agoMaybe not, but the incremental work was less than making a single codebase work for both 2 and 3. It's code that runs on openwrt, so forcing my ideas on the users is painful for them...they would have to build a whole new image.