diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2011-11-28 19:09:45 +0100 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-11-28 19:09:45 +0100 |
| commit | 3a852cd214d726eb2bb96f94e498eda7ba042887 (patch) | |
| tree | 71081d83765f4c721093b504ca9bd3b7673d41cd /Python/dtoa.c | |
| parent | 07ee349b41ca8f94aadaf39be3ec9ca5aca692f9 (diff) | |
| parent | 07b3714e5b40f0208a7640d315213a479d3742a0 (diff) | |
| download | cpython-3a852cd214d726eb2bb96f94e498eda7ba042887.tar.gz | |
Issue #7111: Python can now be run without a stdin, stdout or stderr stream.
It was already the case with Python 2. However, the corresponding
sys module entries are now set to None (instead of an unusable file object).
Diffstat (limited to 'Python/dtoa.c')
| -rw-r--r-- | Python/dtoa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/dtoa.c b/Python/dtoa.c index 44dc01f1d5..82b6faa80c 100644 --- a/Python/dtoa.c +++ b/Python/dtoa.c @@ -2055,7 +2055,7 @@ _Py_dg_strtod(const char *s00, char **se) + Exp_msk1 ; word1(&rv) = 0; - dsign = 0; + /* dsign = 0; */ break; } } @@ -2092,7 +2092,7 @@ _Py_dg_strtod(const char *s00, char **se) goto undfl; } } - dsign = 1 - dsign; + /* dsign = 1 - dsign; */ break; } if ((aadj = ratio(delta, bs)) <= 2.) { |
