Skip to content

Fixes for Python3#6

Merged
webknjaz merged 1 commit into
cherrypy:masterfrom
Crunch-io:master
Mar 11, 2020
Merged

Fixes for Python3#6
webknjaz merged 1 commit into
cherrypy:masterfrom
Crunch-io:master

Conversation

@amol-
Copy link
Copy Markdown
Contributor

@amol- amol- commented Mar 10, 2020

This provides a set of tweaks that should make magicbus tests pass on both Python2.7 and Python3.

@rtd-helper

This comment has been minimized.

1 similar comment
@rtd-helper

This comment has been minimized.

Comment thread magicbus/base.py

if id is None:
id = hex(random.randint(0, sys.maxint))[-8:]
id = hex(random.randint(0, sys.maxsize))[-8:]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side note: looks like it's "work for uuid module". But not in this PR, of course :)

This comment was marked as resolved.

@webknjaz
Copy link
Copy Markdown
Member

I think we should also enable Python 3 in CI.

@webknjaz webknjaz requested review from aminusfu and jaraco March 11, 2020 17:54
@rtd-helper

This comment has been minimized.

1 similar comment
@rtd-helper

This comment has been minimized.

@webknjaz
Copy link
Copy Markdown
Member

I don't have access to your branch so I'm pushing commits on top here: https://github.com/cherrypy/magicbus/commits/bugfixes/py3-patches

@webknjaz webknjaz merged commit b9ffead into cherrypy:master Mar 11, 2020
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.

2 participants