You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note: python-musicbrainz2 only works with Python 2 (though it imports fine), so this won't help isrcsubmit 1.0 to work with Python 2. We should test that anyways.
The text was updated successfully, but these errors were encountered:
This makes it easier to backport things when we fork 1.0 to work on 2.0
print x can be written as print(x) even in Python 2,
because this is just taken as additional parentheses around x.
print x, y can be written with print("%s %s" % (x, y)).
print can be written as print(""). print() would print "()" on python 2.
This doesn't work easily when we don't want a newline after the ouput.
So no change is made for these cases.
Python 3 has input = raw_input and no raw_input anymore.
On Python 2 we will have problems with empty input on "input",
so we have user_input which chooses the method accordingly.
To keep backporting easy, we should try to make obvious fixes to the 1.0 branch to work mostly in python3 before we fork 1.0 to work on 2.0.
That includes:
note: python-musicbrainz2 only works with Python 2 (though it imports fine), so this won't help isrcsubmit 1.0 to work with Python 2. We should test that anyways.
The text was updated successfully, but these errors were encountered: