This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients loewis, meador.inge, pitrou, vstinner
Date 2012-08-03.23:02:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20120804010258.Horde.xaYPMqGZi1VQHFiir_NwYYA@webmail.df.eu>
In-reply-to <1344032470.3377.27.camel@localhost.localdomain>
Content
> The former. If C allows it then what's the point of special-casing
> Py_MIN and Py_MAX to disallow it?

"C allows it" includes cases like "C allows an the result to be
implementation-defined, or an implementation-defined signal to be
raised", and indeed, some compilers do raise signals in the cases
where they are allowed to.

I'd rather not have code in the Python implementation that raises
implementation-defined signals on some systems and gives
implementation-defined results on other systems.

> Again, if this is a serious issue (which I don't think it is)

I agree.

> it would be better handled by choosing the appropriate compiler options.

It might well be that this *is* the appropriate compiler option (even
though it's not a compiler command line flag, but a compiler language
extension).

In any case, there seems to be agrement that this is not a serious
issue (Victor said he didn't catch any new errors when using this),
so I'm rejecting the patch.
History
Date User Action Args
2012-08-03 23:03:00loewissetrecipients: + loewis, pitrou, vstinner, meador.inge
2012-08-03 23:02:59loewislinkissue15530 messages
2012-08-03 23:02:59loewiscreate