eevee / camel

Python serialization for adults
Other
154 stars 7 forks source link

Document issues with serializing a value as `None` #9

Open mwchase opened 6 years ago

mwchase commented 6 years ago

I'm following along with a game-making tutorial, and when the tutorial plugged shelve for saving, I opted for camel instead. I ran across some issues that seem to be inherited from PyYaml, so they should be doc bugs, probably.

This issue is, while it's safe to use None as a value in containers, returning None directly from a dumper (because there was no state to serialize, beyond the type of the value) gave me some obscure errors from within PyYaml.