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

feature request: open a file-like object #9

Closed
jabbalaci opened this issue May 12, 2013 · 3 comments
Closed

feature request: open a file-like object #9

jabbalaci opened this issue May 12, 2013 · 3 comments

Comments

@jabbalaci
Copy link

Hi,

Maybe you could support opening a file-like object too:

with open('file.xml') as f:
    o = untangle.parse(f)

Best,

Laszlo

stchris pushed a commit that referenced this issue May 13, 2013
@stchris
Copy link
Owner

stchris commented May 13, 2013

Fancy trying it out before the release, @jabbalaci ? :)

stchris pushed a commit that referenced this issue May 13, 2013
@jabbalaci
Copy link
Author

I tried with Python 2.7 and it works fine. Thank you for adding this feature.

@stchris
Copy link
Owner

stchris commented May 21, 2013

Alright, thanks. The next release will have it.

@stchris stchris closed this as completed May 21, 2013
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

No branches or pull requests

2 participants