[New-bugs-announce] [issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

Adrian Holovaty report at bugs.python.org
Mon Aug 27 04:20:52 CEST 2007

New submission from Adrian Holovaty:

Per a Python-3000 mailing list discussion here --
http://mail.python.org/pipermail/python-3000/2007-August/009835.html --
I have implemented an addition to the 2to3 utility that enables warnings
to be output as comments in Python source code instead of being logged
to stdout.

See the attached patch and a description of the changes here:

components: Demos and Tools
files: 2to3_insert_comment.diff
messages: 55331
nosy: adrianholovaty
severity: normal
status: open
title: [patch] Add 2to3 support for displaying warnings as Python comments

Tracker <report at bugs.python.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2to3_insert_comment.diff
Type: application/octet-stream
Size: 11032 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20070827/1be486fe/attachment.obj 

More information about the New-bugs-announce mailing list