lp:~berdario/mutagen/mutagen-py3

Created by Dario Bertini and last modified
Get this branch:
bzr branch lp:~berdario/mutagen/mutagen-py3
Only Dario Bertini can upload to this branch. If you are Dario Bertini please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dario Bertini
Project:
python-mutagen
Status:
Development

Recent revisions

134. By Dario Bertini

Now it works again on Python2, while keeping Python3 compatibility

with the previous commit, it was already possible to get it working by using "3to2 -x range -x bytes" but now it works with the same source!

133. By Dario Bertini

Python2 compatibility

132. By Dario Bertini

Removed some unused code, variables and imports
Fixed other misc uglyness

131. By Dario Bertini

py3: updated the mutagen tools

130. By Dario Bertini

Py3: last fixes inside mp4... is it finally done? all the tests now pass, Hooray!
(though, they're some seconds slower on python3 than they were on python2)

129. By Dario Bertini

Py3: Like in rvn 125: the key function returns a str() of the value (gosh... it seems there's quite a lot of duplicate code around)
also, lots of other bytes fixes

128. By Dario Bertini

Py3: lots of other mp4, mp3 and musepack bytes fixes... I tried to make the API slightly more consistent (when porting mp4 and m4a apparently I used different criteria without realizing): it should be possible to use strings as keys when calling the
render() methods of mp4, but unfortunately the TextKey used in mp4 cannot be easily stored as unicode (unless we're willing
to sprinkle .encode("raw_unicode_escape") all over the place)... thus I had to add some more isinstance/.encode() combos

127. By Dario Bertini

Py3: int division and bytes fixes for File tests

126. By Dario Bertini

Py3: filetype scoring fixed

125. By Dario Bertini

Py3: bytes fixes and key sort function fixed... this was a bit of a mess:
I has to intersperse some calls to .encode() .decode(), guarded by isinstance, and apparently...
the key sort function was ordering of length of things that didn't have any length: to make sure that it won't
create any problem, I converted those values to str

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:mutagen
This branch contains Public information 
Everyone can see this information.