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/2006-February/060321.html below:

[Python-Dev] Compiler warnings

[Python-Dev] Compiler warnings [Python-Dev] Compiler warningsTim Peters tim.peters at gmail.com
Wed Feb 1 23:42:36 CET 2006
[Thomas]
> Done,

Thanks!

> although it was nowhere near obvious to me that -1 would be a sane
> sentinel value ;) Not that I don't believe you, but it took some actual
> reading of _PyLong_AsScaledDouble to confirm it.

Nope, the thing to do was to read the docs for _PyLong_AsScaledDouble,
which explicitly promise e >= 0.  That's what I did :-)  "The docs"
are in longobject.h.  You can tell which functions I wrote, BTW,
because they're the ones with comments in the header file documenting
what they do.  It's an ongoing mystery to me why nobody else found
that to be a practice worth emulating ;-)/:-(
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