gh-111942: Fix crashes in TextIOWrapper.reconfigure() (GH-111976)
* Fix crash when encoding is not string or None. * Fix crash when both line_buffering and write_through raise exception when converted ti int. * Add a number of tests for constructor and reconfigure() method with invalid arguments.
S
Serhiy Storchaka committed
ee06fffd38cb51ce1c045da9d8336d9ce13c318a
Parent: a519b87
Committed by GitHub <noreply@github.com>
on 11/14/2023, 3:37:56 PM