Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to python3 #10

Open
wants to merge 67 commits into
base: master
Choose a base branch
from
Open

Upgrade to python3 #10

wants to merge 67 commits into from

Conversation

watzo
Copy link
Owner

@watzo watzo commented Jun 17, 2022

No description provided.

 * relative import changes
 * print statements adjusted
 * exception handling changes
 * urllib api changes
 * thread -> _thread module rename
 * (c)StringIO module rename to io
 * filter to list comprehension rewrite
 * next() rewrite
 * keys() wrapped to list()
 * long replaced by int
 * set api changes
 * assertEquals -> assertEqual
 * not working yet; tests disabled; some todos added
two python3 gotchas fixed:
 * indexing bytes yields integers; compare as sliced sequence instead
 * bytes.extends pushes integers in the list; replaced by pushing a multi-byte sequence as a single item; later joined back together
two python3 gotchas fixed:
 * indexing bytes yields integers; compare as sliced sequence instead
   -> reconsider to do integer comparisons instead; left TODO
…on native code, simplifying running unit tests
…ed guess)

 * remove inadvertent addition of release job
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.

None yet

2 participants