logoalt Hacker News

exyiyesterday at 12:37 PM0 repliesview on HN

If you change this you break a common optimization:

https://github.com/python/cpython/blob/3.14/Lib/json/encoder...

Default value is evaluated once, and accessing parameter is much cheaper than global