2 ms·
None propagation. It such a pain to constantly check for None when accessing very deep nested structures (as I had to do often with JSON data). There is a PEP
by thek3nger 3y ago
None propagation. It such a pain to constantly check for None when accessing very deep nested structures (as I had to do often with JSON data).
There is a PEP for this[1] but it is currently deferred.
[1]: https://peps.python.org/pep-0505/ https://peps.python.org/pep-0505/