Actions
Bug #21151
closed
Updated by shyouhei (Shyouhei Urabe) 4 months ago
StringIO situation is different, but for an IO to be read it has to be writable; thus can not be frozen. See what OpenSSL people say aobut this: https://.com/openssl/openssl/commit/b1d6e3f551ce7e081ed3e30d525253042ebb10a4
Updated by matz (Yukihiro Matsumoto) 3 months ago
- Status changed from Open to Feedback
First, I would like to know why you want to freeze IO
and StringIO
. I can't think of a use case.
If there is no valid reason, it would not help if all operations on a frozen IO
were prohibited. If there could be a good reason, I would consider allowing the possible operations, as @headious said.
Matz.
Actions
Like0Like0Like0Like0Like0