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

check if fin has 'name' attr #22

Closed
wants to merge 1 commit into from

Conversation

danodonovan
Copy link
Contributor

Fix so that load can load from stream file-like object (as well as regular file-like object).

import io
import pytoml
pytoml.load(io.StringIO(u"this_is = 'a_test'"))

@danodonovan danodonovan mentioned this pull request Nov 2, 2016
@Ry4an
Copy link

Ry4an commented Dec 4, 2016

We had to work around this assumption locally in our unit tests. Good fix.

@avakar
Copy link
Owner

avakar commented Apr 13, 2017

Whoops, sorry, I fixed it before I noticed the pull request. Thanks!

@avakar avakar closed this Apr 13, 2017
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.

3 participants