Petri Lehtinen added the comment: Serhiy Storchaka wrote: > This can be done in compile time. Something like: > > if ((uid_t)-1 > 0) ...
Ah, neat. I would have expected that to issue a compiler warning, though, because the comparison is always true if the type is unsigned, but at least gcc doesn't seem to warn. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2005> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com