Should `None` defaults for optional arguments be discouraged?

In theory, I wish arg being optional is less expressed with arg=None, but without a good way to express sentinels[1], None is the most reasonable compromise to me.


  1. Sentinel values in the stdlib ↩︎

1 Like