Feature/python 3 #206

Closed
wants to merge 14 commits into
from

2 participants

@Debilski
Advanced Scientific Programming in Python member

Introducing: The Python 3 version of Pelita.

Most went well with 2to3 but a few additional fixes were needed with string conversions (mostly for the socket I/O) and newly introduced name conflicts.

Thanks to our better-than-average coverage, I’m also rather confident that there are not too many bugs left.

Notes:
— The compat.argparse has been retired
— I’ve added a python3 shebang but I’m not sure this is correct and future-proof (e.g. travis complains about it)

Are there any great Python 3 features we could immediately take advantage of?

@keszybz

Tested. Works.

@keszybz

How do I add something on top of your pull request? Please queue patch from https://github.com/keszybz/pelita/tree/pr/206.

@Debilski
Advanced Scientific Programming in Python member

No idea. However patching itself is pretty easy:

curl https://github.com/keszybz/pelita/commit/4238484e2f1949c95ddf982640ccf87a74181b9b.patch | git am
@Debilski
Advanced Scientific Programming in Python member

Closing in favour of #258

@Debilski Debilski closed this Apr 15, 2014
@Debilski Debilski deleted the Debilski:feature/python-3 branch Apr 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment