Create sentinel and singleton objects in Python