Marko Rauhamaa <ma...@pacujo.net> writes:
> Point is, the consequences of "proper" use of const are so annoying even
> standard library functions would rather grossly abuse it than tolerate
> compiler warnings everywhere.

I'm not sure what the C standard says about that example, but C++ is
much stricter about those conversions, and g++ does flag an error if
you compile that code with it.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to