#22709: Use stdin as-is if it does not have a buffer attribute.
This restores backward compatibility lost in the fix for #21075, and is better duck typing. Patch by Akira Li.
R
R David Murray committed
830207e8f32df949ec35e2e7f5afe98975e262c9
Parent: fcb6db5