Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix writing to an IO with no external_encoding
A file-IO has no external_encoding by default, so that rb_to_encoding() fails with a TypeError. This regression was introduces in commit 2e260f5. Fixes #2752 Co-authored-by: Mike Dalessio <[email protected]>
- Loading branch information