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.
Created on 2007年08月27日 02:20 by adrianholovaty, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| 2to3_insert_comment.diff | adrianholovaty, 2007年08月27日 02:20 | |||
| 2to3_comment_warnings.diff | adrianholovaty, 2007年08月27日 02:21 | |||
| issue1034.diff | brian.curtin, 2010年01月07日 04:29 | patch against r77336 | ||
| Messages (6) | |||
|---|---|---|---|
| msg55331 - (view) | Author: Adrian Holovaty (adrianholovaty) | Date: 2007年08月27日 02:20 | |
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: http://mail.python.org/pipermail/python-3000/2007-August/009881.html |
|||
| msg55332 - (view) | Author: Adrian Holovaty (adrianholovaty) | Date: 2007年08月27日 02:21 | |
I'm also attaching 2to3_comment_warnings.diff, which is an example of how we could integrate the insert_comment() method from the first patch to replace the current functionality of fixes.basefix.BaseFix.warning(). |
|||
| msg73152 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2008年09月12日 23:11 | |
On the patch: 1. I think both a log message and the comment should be written. The point needs to be reinforced to users. 2. I'd like to see some tests. 3. Maybe an option to turn the auto comments off? This is interesting. I'd like to have someone else weigh in before it is applied though. |
|||
| msg97342 - (view) | Author: Brian Curtin (brian.curtin) * (Python committer) | Date: 2010年01月07日 04:29 | |
I think this would be a good addition so I took Adrian's patch and brought it up to date. I'll need to expand the testing, but I think Benjamin's 1 and 3 are covered. |
|||
| msg116774 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2010年09月18日 13:13 | |
Removed 2.7 as too late, can we get this into 3.2? |
|||
| msg213599 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2014年03月14日 22:44 | |
(2to3 is an exception and can get improvements in stable versions.) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:26 | admin | set | github: 45375 |
| 2021年10月20日 22:40:39 | iritkatriel | set | resolution: duplicate -> wont fix |
| 2021年10月20日 22:37:49 | iritkatriel | set | status: open -> closed superseder: Close 2to3 issues and list them here resolution: duplicate stage: test needed -> resolved |
| 2014年03月14日 22:44:09 | eric.araujo | set | nosy:
+ eric.araujo messages: + msg213599 versions: + Python 2.7, Python 3.3, Python 3.4, - Python 3.2 |
| 2014年02月03日 19:42:48 | BreamoreBoy | set | nosy:
- BreamoreBoy |
| 2010年09月18日 13:13:45 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg116774 versions: - Python 2.7 |
| 2010年01月07日 14:29:47 | brian.curtin | set | type: enhancement |
| 2010年01月07日 04:31:10 | brian.curtin | set | stage: test needed versions: + Python 2.7, Python 3.2, - Python 3.0 |
| 2010年01月07日 04:29:09 | brian.curtin | set | files:
+ issue1034.diff nosy: + brian.curtin messages: + msg97342 |
| 2008年09月12日 23:11:06 | benjamin.peterson | set | nosy:
+ benjamin.peterson messages: + msg73152 |
| 2008年01月06日 22:29:44 | admin | set | keywords:
- py3k versions: Python 3.0 |
| 2007年11月23日 08:27:36 | christian.heimes | set | keywords:
+ py3k versions: + Python 3.0 |
| 2007年09月17日 08:26:29 | jafo | set | priority: normal |
| 2007年09月06日 17:58:56 | collinwinter | set | assignee: collinwinter components: + 2to3 (2.x to 3.x conversion tool), - Demos and Tools nosy: + collinwinter |
| 2007年09月02日 20:09:16 | loewis | set | keywords: + patch |
| 2007年08月27日 02:21:54 | adrianholovaty | set | files:
+ 2to3_comment_warnings.diff messages: + msg55332 |
| 2007年08月27日 02:20:52 | adrianholovaty | create | |