-
-
Notifications
You must be signed in to change notification settings - Fork 904
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
1 parent
a6e369c
commit 795464c
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters