Skip to content

Conversation

@jrepp
Copy link
Contributor

@jrepp jrepp commented Apr 15, 2019

Merged together changes from master and Kanghyojun into a single new PR

@jrepp jrepp changed the title Python 3 Support Merged from Kanghyojun Python 3 support merged from Kanghyojun Apr 15, 2019
@jrepp jrepp merged commit 9325517 into Blizzard:master Apr 15, 2019
ccheever pushed a commit to ccheever/s2protocol that referenced this pull request Jan 24, 2026
* Ignore tox directory

* Use tox & minor improve in setup.py

* Replace `ord` depends on Python version

* Replace ord into byte_to_int [Compatibility]

* Prefer .format over % syntax

* Prefer range over xrange

* Use print function

* Prefer .items() over .iteritems()

* Remove six

* Run tox with tox-travis

* Catch `Exception as e` rather than Exception, e

* The binary type includes int

* xrange → range in README.md

* Using print function from __future__ in s2_cli

* Adding cli script call to travis.yml

* Fixing NDJSON output

* Add s2_cli.py to entry_point

* Use byte literal for compatibility

* Implement Python3 compatible json.dumps

* Run cli test on tox already

* .iteritems() → .items()

* Print error using sys.stderr

In previous version of s2protocol, it prints error message like this
`print >> sys.stderr`. But i missed it to print on `sys.stderr`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants