Agreed.  I couldn't find a more pythonic way to implement the singleton pattern without adding a class, which doesn't seem appropriate here.