Skip to content

Conversation

@marsmensch
Copy link
Contributor

This small pul requests fixes a compatibility with python27 by by defining FileNotFoundError.

@kanzure
Copy link
Collaborator

kanzure commented Jul 5, 2019

Seems OK... I would prefer a subclass but this isn't so bad. Add a comment that this is py27-related, or wrap it in python version check magic.

@marsmensch
Copy link
Contributor Author

Yes sir, just added the comment and version check in 173e860

Copy link

@remyers remyers left a comment

Choose a reason for hiding this comment

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

Looks like a good fix to me.

@petertodd
Copy link
Owner

Python 2.7 is being depreciated soon; how important is this and how many need 2.7 support?

https://pythonclock.org/

@marsmensch
Copy link
Contributor Author

marsmensch commented Jul 13, 2019 via email

@petertodd petertodd merged commit 173e860 into petertodd:master Aug 5, 2019
petertodd added a commit that referenced this pull request Aug 5, 2019
173e860 add version magic to python2 compat fix in rpc.py (Florian)
98ecbc6 work around a python 27 incompatibility by defining FileNotFoundError (Florian)

Pull request description:

  This small pul requests fixes a compatibility with python27 by by defining FileNotFoundError.

Tree-SHA512: c0e32a1be986f1bb4c4ebfa3b06d0e50f2e442f2b06f16b66e681838b39b69e562d5cee6019b2cfd606b42260efb1cf0ba6fe0b9d8f531f60e46dc512ce1b49d
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.

4 participants