You can use file instead of BytesIO
2023年6月20日(火) 3:05 Peter J. Holzer via Python-list :
> On 2023-06-20 02:15:00 +0900, Inada Naoki via Python-list wrote:
> > stream.flush() doesn't mean final output.
> > Try stream.close()
>
> After close() the value isn't available any mo
I checked TextIOWrapper source code and confirmed that it doesn't call
encoder.write(text, finish=True) on close.
Since TextIOWrapper allows random access, it is difficult to call it
automatically. So please think it as just limitation rather than bug.
Please use codec and binary file manually for
stream.flush() doesn't mean final output.
Try stream.close()
2023年6月20日(火) 1:40 Jon Ribbens via Python-list :
> io.TextIOWrapper() wraps a binary stream so you can write text to it.
> It takes an 'encoding' parameter, which it uses to look up the codec
> in the codecs registry, and then it uses
> but does this mean that even with PEP 649 that forward references will
> still be needed?
Yes. Both of PEP 563 and PEP 649 solves not all forward reference issues.
--
Inada Naoki
--
https://mail.python.org/mailman/listinfo/python-list
Then, git doesn't enable Windows NTFS case sensitivity.
You enabled NTFS case sensitivity on "C:\Users\user\K".
And Windows enabled case sensitivity for all new directories under the
directory.
Since it is not default and minor setting, it is not a bug that
current Python doesn't support
> Since Git enables Windows NTFS case sensitivity while checking out sources
I didn't know that. Would you give us a link to this feature?
As far as I know, `git config core.ignorecase` doesn't mean NTFS case
sensitive.
On Wed, Jun 14, 2023 at 1:57 AM Thomas Schweikle via Python-list <