For efficiency and for convenience, we should support reading data from a file-like object just like PyYAML.
For efficiency and for convenience, we should support reading data from a file-like object just like PyYAML.