On Tue, Jul 22, 2008 at 6:43 PM, Victor Stinner <
[EMAIL PROTECTED]> wrote:

> Le Monday 21 July 2008 21:23:21, vous avez écrit :
> > > It should raises an error instead of a warning, it has no sense to read
> a
> > > partial byte :-) But that should breaks some applications?
> >
> > This doesn't come into effect until 3.0.
>
> Would it possible to create an option "strict mode" which disallow
> dangerous
> cast? Especially in PyArg_Parse*() functions.


You could use -Wall to make the warning an error.


-- 
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
_______________________________________________
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

Reply via email to