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.
Created on 2010年07月05日 15:16 by benjamin.peterson, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| isfinite.patch | mark.dickinson, 2010年07月05日 15:26 | |||
| isfinite_v2.patch | mark.dickinson, 2010年07月05日 15:49 | |||
| Messages (6) | |||
|---|---|---|---|
| msg109324 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2010年07月05日 15:16 | |
It would be equivalent to "not isinf(x) and not isnan(x)". |
|||
| msg109326 - (view) | Author: Mark Dickinson (mark.dickinson) * (Python committer) | Date: 2010年07月05日 15:26 | |
+1. This is natural counterpart to math.isinf and math.isnan. In fact, it's quite surprising to have those two functions available and not math.isfinite. Here's a patch. |
|||
| msg109328 - (view) | Author: Mark Dickinson (mark.dickinson) * (Python committer) | Date: 2010年07月05日 15:43 | |
Version 2 of patch adds cmath.isfinite, and changes doc markup to use ``True`` instead of :const:`True` (thanks Benjamin!). |
|||
| msg109330 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2010年07月05日 15:51 | |
Looks good to me. |
|||
| msg109356 - (view) | Author: Eric V. Smith (eric.smith) * (Python committer) | Date: 2010年07月05日 21:26 | |
+1 from me, too. You might want to reference this issue in the Misc/NEWS entry. |
|||
| msg110030 - (view) | Author: Mark Dickinson (mark.dickinson) * (Python committer) | Date: 2010年07月11日 17:39 | |
Applied in r82818 (with issue number added to Misc/NEWS; thanks, Eric!). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:03 | admin | set | github: 53411 |
| 2010年07月11日 17:39:35 | mark.dickinson | set | status: open -> closed resolution: accepted messages: + msg110030 stage: patch review -> resolved |
| 2010年07月05日 21:26:53 | eric.smith | set | nosy:
+ eric.smith messages: + msg109356 |
| 2010年07月05日 15:51:36 | benjamin.peterson | set | messages: + msg109330 |
| 2010年07月05日 15:49:16 | mark.dickinson | set | files: - isfinite_v2.patch |
| 2010年07月05日 15:49:11 | mark.dickinson | set | files: + isfinite_v2.patch |
| 2010年07月05日 15:43:42 | mark.dickinson | set | files:
+ isfinite_v2.patch messages: + msg109328 |
| 2010年07月05日 15:26:37 | mark.dickinson | set | files:
+ isfinite.patch type: enhancement assignee: mark.dickinson keywords: + patch nosy: + mark.dickinson messages: + msg109326 stage: patch review |
| 2010年07月05日 15:16:47 | benjamin.peterson | create | |