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.

Author ocean-city
Recipients barry, dlitz, jmfauth, ocean-city, pitrou, vstinner
Date 2008-09-26.20:24:44
SpamBayes Score 0.0004539506
Marked as misclassified No
Message-id <1222460685.93.0.836917120052.issue2384@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-09-26 20:24:46ocean-citysetrecipients: + ocean-city, barry, pitrou, vstinner, jmfauth, dlitz
2008-09-26 20:24:45ocean-citysetmessageid: <1222460685.93.0.836917120052.issue2384@psf.upfronthosting.co.za>
2008-09-26 20:24:44ocean-citylinkissue2384 messages
2008-09-26 20:24:44ocean-citycreate