A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-April/078743.html below:

[Python-Dev] Interface to change Py3kWarning in Python

[Python-Dev] Interface to change Py3kWarning in Python [Python-Dev] Interface to change Py3kWarning in PythonBenjamin Peterson musiccomposition at gmail.com
Fri Apr 18 22:31:14 CEST 2008
On Fri, Apr 18, 2008 at 7:38 AM, Christian Heimes <lists at cheimes.de> 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4