Issue 11972: input does not strip a trailing newline correctly on Windows (original) (raw)
Issue11972
Created on 2011-05-01 14:58 by Michal.Molhanec, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg134911 - (view) | Author: Michal Molhanec (Michal.Molhanec) | Date: 2011-05-01 14:58 |
input() returns string including trailing '\r'. IMHO the problem is not directly in the input() function which just expects that the input string was read in text mode so all of the platform specific newlines were normalized into single '\n'. | ||
msg134912 - (view) | Author: Andreas Stührk (Trundle) * | Date: 2011-05-01 15:00 |
See issue #11272. | ||
msg134913 - (view) | Author: Brian Curtin (brian.curtin) * ![]() |
Date: 2011-05-01 15:00 |
Duplicate of #11642, #11272, and #11278. This is fixed. It'll be released in 3.2.1 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:16 | admin | set | github: 56181 |
2011-05-07 00:33:55 | terry.reedy | set | status: open -> closed |
2011-05-01 15:00:46 | brian.curtin | set | nosy: + brian.curtinmessages: + resolution: duplicatestage: resolved |
2011-05-01 15:00:30 | Trundle | set | nosy: + Trundlemessages: + |
2011-05-01 14:58:30 | Michal.Molhanec | create |