Timofey Kazantsev
Timofey Kazantsev
Rebased to the actual master commit, conflicts resolved
This one dedicated to midi events managing. And it can't be divieded to the fixes and features. For example — such a strange thing as `ReapyObject.map` appeared here exactly because...
Yes, as I understand, when the matter in byte strings — Unicode doesn't work. So, some replacing in the `additional_api.py` are made especially for replacing encoding (and the string packing...
For the very simple example You can try: ```Python print(bytes([0x90, 0x80]).decode('latin-1')) # print(bytes([0x90, 0x80]).decode('utf-8')) ``` ``` Traceback (most recent call last): File "/home/levitanus/gits/sample_editor/test3.py", line 2, in print(bytes([0x90, 0x80]).decode('utf-8')) UnicodeDecodeError:...
@RomeoDespres, I just at the moment felt You're afraid of all strings are encoded into latin-1. But they are not)) Just hacks from the `additional_api`. For example, I still can...
I can't remember now, how it was in the codebase: I definitely introduced `want_raw` argument especially for avoiding of null-byte problem. Strange that it is larger than size specified in...
This is really the question... I'm really sorry, but f I write at the moment — I'll not write a couple of other important texts, but, at a glance —...
A couple of words: considering `ReapyObject.map` — recently I noticed that maybe there is a point to introduce full-functional set (map, filter, reduce), as sometimes there are cycles of *O(log...
Noob question: should we really raise `DistError` in every case, but not in only distant-specific cases? e.g. why not to reraise original error in the... where they raised now, `request.py`?
As an option, `__getstate__` and `__setstate__` can be defined, so, if user wants to serialize the object he can use pickle. For example: ```Python # project.py @rpr.inside_reaper() def __getstate__(self) ->...