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.

classification
Title: PEP 263: help locating the offending character
Type: enhancement Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: loewis Nosy List: ajaksu2, doerwalter, loewis, mwh, pitrou
Priority: normal Keywords:

Created on 2004-08-06 11:15 by mwh, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg61174 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2004-08-06 11:15
Would it be (easily) possible to print the column as
well as the line of the character with the 8th bit set
in the message for the DeprecationWarning?

I make this request because emacs sometimes seems to
want to put latin1 non-breaking spaces (\xA0) in my
comments and they are quite hard to spot :-)

I can probably implement this myself, but you (Martin)
can probably do it in a snap -- if it's easy, anyway. 
If it's hard, I'm not sure it's worth it.
msg61175 - (view) Author: Walter Dörwald (doerwalter) * (Python committer) Date: 2004-08-06 11:51
Logged In: YES 
user_id=89016

StreamReaders that keep track of line and column numbers 
would help implementors of other types of parsers too.
msg81519 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) Date: 2009-02-10 01:38
IIUC, we don't have the PEP 263 DeprecationWarning mentioned anymore and
this should be closed.
msg81524 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-02-10 02:26
Daniel, do you have developer rights on the tracker? Otherwise, you may
ask for them on python-dev if you intend to do some housekeeping :)
History
Date User Action Args
2022-04-11 14:56:06adminsetgithub: 40699
2009-02-10 03:47:57loewissetstatus: open -> closed
resolution: wont fix
2009-02-10 02:26:49pitrousetnosy: + pitrou
messages: + msg81524
2009-02-10 01:38:29ajaksu2setnosy: + ajaksu2
messages: + msg81519
2004-08-06 11:15:35mwhcreate