Another issue for porting mimeparse.py to python 3 :)
Patch applies cleanly to r22 and was tested with 2.5, 2.6, 2.7, 3.1, 3.2, and
3.3.
Also updates setup.py with the python3 trove classifiers.
$ patch -p0 -i ../py3k-patch.diff
$ for ver in 3.1.4 3.2.3 3.3; do echo $ver &&
$(~/.pythonbrew/pythons/Python-$ver/bin/python3 mimeparse_test.py); done;
3.1.4
.............................
----------------------------------------------------------------------
Ran 29 tests in 0.002s
OK
3.2.3
.............................
----------------------------------------------------------------------
Ran 29 tests in 0.004s
OK
3.3
.............................
----------------------------------------------------------------------
Ran 29 tests in 0.004s
OK
$ ~/.pythonbrew/pythons/Python-2.5.6/bin/python mimeparse_test.py
.............................
----------------------------------------------------------------------
Ran 29 tests in 0.002s
OK
$ python2.6 mimeparse_test.py
.............................
----------------------------------------------------------------------
Ran 29 tests in 0.002s
OK
$ ~/.pythonbrew/pythons/Python-2.7.3/bin/python mimeparse_test.py
.............................
----------------------------------------------------------------------
Ran 29 tests in 0.003s
OK
Original issue reported on code.google.com by skryskalla on 4 Oct 2012 at 7:24
Original issue reported on code.google.com by
skryskalla
on 4 Oct 2012 at 7:24Attachments: