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

DM-7021: Port to Python 3 #3

Merged
merged 4 commits into from Aug 4, 2016
Merged

DM-7021: Port to Python 3 #3

merged 4 commits into from Aug 4, 2016

Conversation

timj
Copy link
Member

@timj timj commented Jul 29, 2016

No description provided.

@@ -21,7 +21,7 @@ def __getattr__(self, name):
return getattr(self.WrappedClass, name)

@register
class Exception(StandardError):
class Exception(Exception):
Copy link
Contributor

Choose a reason for hiding this comment

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

Umm... This looks like it's inheriting from itself. Spontaneous generation?

Copy link
Member Author

Choose a reason for hiding this comment

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

See the next commit bc39756 which fixes this. Probably should squash the two.

Copy link
Member Author

Choose a reason for hiding this comment

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

How come github thinks this is commenting on an outdated diff?

* Use builtins package not __builtins__.
* Portable metaclass.
* StandardError has gone
* Exception inherits from builtins.Exception
@timj timj merged commit 498899f into master Aug 4, 2016
@ktlim ktlim deleted the tickets/DM-7021 branch August 25, 2018 06:45
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