Quote:
Originally Posted by bidou.bidou
I fear my english is reallly bad. But in fact the problem is to know when you are reading/writing raw data (by example a zip file) and when it is text. If, like me, you do not know what the plugin is really doing it is a problem. You can not just do search and replace like the other problems.
But the python part is easy
https://portingguide.readthedocs.io/...t/strings.html
|
The tricky part is not the bytes vs str. The tricky part is to produce a plugin that will work with both the Python 2 and Python 3 versions of calibre. Your suggestions would completely break it for 99% of the current users of the plugin. If you want to do that, it will be gratefully received by the user when it is needed. Otherwise, it will get done sometime before the official Python 3 version is released. Either someone who uses it will do it, or one of the people fixing up the plugins whose author are no longer around will do it.