Commit 043358a
committed
gh-XXXXX: Fix pprint.isreadable() returning True for inf/nan
inf, -inf, nan are not valid Python literals so eval() fails on them.
isreadable() should return False for these values.1 parent 5944a53 commit 043358a
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
629 | 633 | | |
630 | 634 | | |
631 | 635 | | |
| |||
0 commit comments