Hi Peter You wrote: On Fri, Jul 20, 2018 at 3:43 PM, Peter O'Connor <peter.ed.ocon...@gmail.com> wrote: > Ah, right, the fix_it(fcn) is a nice idea. It might also be a good idea, if > we're making an external library anyway, to have a "deferred" object to > avoid overloading "None" (which may mean something else than "differ > argument"). I implemented the decorator here https://github.com/petered/peters_example_code/blob/master/peters_example_code/deferral.py
Oh, well done Peter. Thank you. About 15 lines of code, and the same again for comments. And all for the good of the community (and scratching your own itch). I think we've now got pretty much the right basic ideas for solving your original problem. And your original problem is fairly widespread. So what, do you think, are the next steps? -- Jonathan _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/