__line_number__ and __filename__

Gus Caplan me at gus.host
Thu Aug 23 23:27:40 UTC 2018

What is the reasoning behind wanting this data? For example, in exceptional cases you should be creating errors which already have stacks containing this information. -Gus ---- On Thu, 23 Aug 2018 17:56:43 -0500 Aaron Gray <aaronngray.lists at gmail.com> wrote ---- I wondering what people think about the idea of proposing being able to get the line number and filename of executing code in the code ? Maybe with something simular to C preprocessors __line_number__ and __filename__. Or as subobjects of global ? -- Aaron Gray Independent Open Source Software Engineer, Computer Language Researcher, Information Theorist, and amateur computer scientist. _______________________________________________ es-discuss mailing list es-discuss at mozilla.org https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180823/fc8bde57/attachment.html>

More information about the es-discuss mailing list