A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-November/040485.html below:

[Python-Dev] less quick patch for better debugging.

[Python-Dev] less quick patch for better debugging. [Python-Dev] less quick patch for better debugging.Greg Ewing greg at cosc.canterbury.ac.nz
Thu Nov 27 18:08:14 EST 2003
Michael Hudson <mwh at python.net>:

> > This would be considerably improved if the error message could
> > just point out the position in the line instead of just the line
> > number.
> 
> Any ideas how to do that?  I guess you could obfuscate c_lnotab even
> more...

It would need to contain a lot more information, one way or another.

I don't know whether it would be worth going to heroic lengths to
compress it, though.  Maybe it would be better to invest the effort in
making the lineno tables lazily loaded instead -- leave them in the
.pyc file until they're needed.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4