Uh oh!
There was an error while loading. Please reload this page.
binhex: improve bytes handling - #9035
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
AlexWaygood
commented
Oct 30, 2022
I agree with adding this, but why the leading underscore, out of interest? |
hauntsaninja
commented
Oct 30, 2022
Oh, I don't remember exactly what rules we have for |
sobolevn
commented
Oct 30, 2022
+1 |
AlexWaygood
commented
Oct 30, 2022
Cool, that makes sense! |
Source: https://github.com/python/cpython/blob/85f88f63d96b07208c98a725391af7cb710fe06b/Lib/binhex.py#L216-L234
Both
writeandwrite_rsrccallsio.open(..., 'wb').write(data)