<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
At first glance it sounds nice and straight forward.<br>
But - is a natural positive, or just non-negative? I guess, I'd have
to look it up in the docs each time, since either definition is used
in lots of places.<br>
Also, Natural does not correspond to the python type, but its value.
So, you couldn't use it with issubclass.<br>
<br>
<br>
<div class="moz-cite-prefix">Ram Rachum wrote on 09/26/2014 07:54
PM:<br>
</div>
<blockquote
cite="mid:CANXboVajSpzvaf9Q4xp5NKQdRq1zWhCisq9+XhcdWRb6SvJuKA@mail.gmail.com"
type="cite">
<div dir="ltr">I wish the `numbers` module would include a
`Natural` class that would simply check whether the number is
integral and positive.</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Python-ideas mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python-ideas@python.org">Python-ideas@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/python-ideas">https://mail.python.org/mailman/listinfo/python-ideas</a>
Code of Conduct: <a class="moz-txt-link-freetext" href="http://python.org/psf/codeofconduct/">http://python.org/psf/codeofconduct/</a></pre>
</blockquote>
<br>
</body>
</html>