Here is what I have so far:
- complete tests for bytes and bytearry (bytearray currently commented out at line 71)
- pep461 implemented for bytes
This is basically an adaptation of the 2.7 code for str, adjusted appropriately.
I was planning on having bytearray convert to bytes, then call the bytes code, then integrate the results back into the existing bytearray (for %=) or create and return a new bytearray (for %).
I can easily believe this is not the most efficient way to do it. ;)
I should have the bytearray portion done, if not this weekend, then by the following weekend.
I have no objections if Victor wants to combine and optimize with the unicode implementation (and no need to wait for me to finish the bytearray portion). |