消息 [73883]
Victor, this is fp_setreadl's problem, so if put "tok->lineno = -1"
anywhere, it should be in fp_setreadl(), I think.
r = set_readline(tok, cs);
if (r) {
/* 1 */
tok->encoding = cs;
tok->decoding_state = STATE_NORMAL;
At /* 1 */, set_readline could be buf_setreadl(), and fp_setreadl is
called elsewhere. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2008-09-26 20:24:46 | ocean-city | 修改 | recipients:
+ ocean-city, barry, pitrou, vstinner, jmfauth, dlitz |
| 2008-09-26 20:24:45 | ocean-city | 修改 | messageid: <1222460685.93.0.836917120052.issue2384@psf.upfronthosting.co.za> |
| 2008-09-26 20:24:44 | ocean-city | 链接 | issue2384 messages |
| 2008-09-26 20:24:44 | ocean-city | 创建 | |
|