A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2008-July/081505.html below:

[Python-Dev] fileobj.read(float): warning or error?

[Python-Dev] fileobj.read(float): warning or error?Benjamin Peterson musiccomposition at gmail.com
Wed Jul 23 01:47:49 CEST 2008
On Tue, Jul 22, 2008 at 6:47 PM, Benjamin Peterson <
musiccomposition at gmail.com> wrote:

>
>
> On Tue, Jul 22, 2008 at 6:43 PM, Victor Stinner <
> victor.stinner at haypocalc.com> 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.
>

I meant -Werr.

>
>
>
> --
> Cheers,
> Benjamin Peterson
> "There's no place like 127.0.0.1."
>



-- 
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20080722/70fca1da/attachment.htm>
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