Skip to content

Handle file objects without encoding attribute set#6

Merged
mgedmin merged 1 commit intomgedmin:masterfrom
smarkets:master
May 15, 2014
Merged

Handle file objects without encoding attribute set#6
mgedmin merged 1 commit intomgedmin:masterfrom
smarkets:master

Conversation

@jstasiak
Copy link
Copy Markdown
Contributor

file.encoding attribute doesn't need to be present (https://docs.python.org/2/library/stdtypes.html#file.encoding), this patch makes objgraph work with Eventlet and monkey patching.

mgedmin added a commit that referenced this pull request May 15, 2014
Handle file objects without encoding attribute set
@mgedmin mgedmin merged commit 999cbb9 into mgedmin:master May 15, 2014
@mgedmin
Copy link
Copy Markdown
Owner

mgedmin commented May 15, 2014

Thank you!

mgedmin added a commit that referenced this pull request May 15, 2014
@mgedmin
Copy link
Copy Markdown
Owner

mgedmin commented May 15, 2014

objgraph 1.8.1 is out with this fix.

@jstasiak
Copy link
Copy Markdown
Contributor Author

Thank you, it's great to see it released so quickly :)

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.

2 participants