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

IPCProvider: Accept pathlib.Path in constructor. #921

Conversation

cryptomental
Copy link
Contributor

What was wrong?

IPCProvider accepted only str paths.

How was it fixed?

If ipc_path is an instance of pathlib.Path, resolve the path
and cast to string. Modify IPCProvider sync test to use pathlib
Path.

Cute Animal Picture

Fixes: #867

If ipc_path is an instance of pathlib.Path, resolve the path
and cast to string. Modify IPCProvider sync test to use pathlib
Path.

Fixes: ethereum#867
@cryptomental
Copy link
Contributor Author

Thank you for the approval!

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.

Accept Path as argument to IPCProvider constructor
2 participants