On Fri, Apr 18, 2008 at 7:38 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Benjamin Peterson schrieb: > > > > In Python we usually have to methods for the job, like > set_py3kwarningmode and get_py3kwarningmode. I don't like the enable* > and disable* style. Even the get/set methods are an ugly workaround for > the fact, Python doesn't support module properties. :/ I will look at that. > > How do you like a macro or function PyErr_Warn3k(msg) that does all the > dirty work? Sounds lovely. > > Christian > >
-- Cheers, Benjamin Peterson _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com