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月23日 20:20 by paulsmith, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| rename-html-parser.diff | paulsmith, 2007年08月23日 20:20 | |||
| rename-html-parser-fix-imports.diff | paulsmith, 2007年08月23日 20:20 | |||
| Messages (11) | |||
|---|---|---|---|
| msg55200 - (view) | Author: Paul Smith (paulsmith) | Date: 2007年08月23日 20:20 | |
HTMLParser is renamed to html_parser. |
|||
| msg55202 - (view) | Author: Paul Smith (paulsmith) | Date: 2007年08月23日 20:20 | |
Patch to 2to3 fix_imports. |
|||
| msg55216 - (view) | Author: Paul Smith (paulsmith) | Date: 2007年08月23日 21:21 | |
Note that patch doesn't include `svn mv Lib/HTMLParser.py Lib/html_parser.py`. |
|||
| msg55257 - (view) | Author: Senthil Kumaran (orsenthil) * (Python committer) | Date: 2007年08月24日 15:56 | |
what is this and other series of patches you have submitted, paulsmith? I fail to understand. Why is the need for changing Library? You are just adding up SPAM here. |
|||
| msg55258 - (view) | Author: Paul Smith (paulsmith) | Date: 2007年08月24日 16:14 | |
I am participating in the Python Sprint here at Google, and was just going through the Py3k Sprint Tasks spreadsheet, one of them being to rename standard library modules which use CamelCase to lower_and_underscore, the more modern naming. |
|||
| msg55259 - (view) | Author: Senthil Kumaran (orsenthil) * (Python committer) | Date: 2007年08月24日 16:34 | |
But your "standalone diffs" will break things and dependencies with other modules, so I was worried about them. Are you taking care of them all? |
|||
| msg55266 - (view) | Author: Paul Smith (paulsmith) | Date: 2007年08月24日 19:02 | |
I grep'd for HTMLParser module imports in other standard library modules, renamed, and ran the unit tests. I also updated the mapping in 2to3's fix_imports.py. The only thing I can't do is the actual `svn mv` to rename the module itself. Is part of the problem that this issue was initially flagged as Python 2.6? It's supposed to be 3.0, but that flag wasn't available yesterday when I opened it. |
|||
| msg55495 - (view) | Author: Collin Winter (collinwinter) * (Python committer) | Date: 2007年08月30日 17:54 | |
orsenthil: that this will break external modules is completely acceptable. Those modules won't work out-of-the-box with Python 3 anyway, and hopefully Paul's patch to 2to3 will alleviate some of the burden. |
|||
| msg56122 - (view) | Author: Paul F. Dubois (dubois) (Python triager) | Date: 2007年09月24日 18:10 | |
Hoping I have learned to spell, another test. |
|||
| msg66797 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2008年05月13日 19:27 | |
Do note that HTMLParse is slated to become html.parser in 3.0, so these patches are out-of-date. They can be used, though, to possibly help all references to HTMLParser (although 2to3 should handle that). |
|||
| msg66896 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2008年05月16日 04:42 | |
Closing as out of date to try to make the number of PEP 3108 issues more manageable. HTMLParser is becoming html.parser in 3.0. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:26 | admin | set | github: 45343 |
| 2008年05月16日 05:17:13 | brett.cannon | unlink | issue2775 dependencies |
| 2008年05月16日 04:42:28 | brett.cannon | set | status: open -> closed resolution: out of date messages: + msg66896 |
| 2008年05月13日 19:27:23 | brett.cannon | set | nosy:
+ brett.cannon messages: + msg66797 |
| 2008年05月13日 19:23:58 | georg.brandl | link | issue2775 dependencies |
| 2007年09月24日 18:10:27 | dubois | set | assignee: collinwinter messages: + msg56122 |
| 2007年09月24日 17:49:13 | dubois | set | messages: - msg56117 |
| 2007年09月24日 17:49:05 | dubois | set | messages: - msg56116 |
| 2007年09月24日 17:48:22 | dubois | set | messages: + msg56117 |
| 2007年09月24日 17:32:42 | dubois | set | nosy:
+ dubois messages: + msg56116 |
| 2007年09月17日 08:31:40 | jafo | set | priority: normal |
| 2007年09月06日 18:01:39 | collinwinter | set | components: + 2to3 (2.x to 3.x conversion tool) |
| 2007年09月02日 20:06:23 | loewis | set | keywords: + patch |
| 2007年08月30日 17:54:45 | collinwinter | set | nosy:
+ collinwinter messages: + msg55495 |
| 2007年08月24日 19:02:52 | paulsmith | set | messages:
+ msg55266 versions: + Python 3.0, - Python 2.6 |
| 2007年08月24日 16:34:48 | orsenthil | set | messages: + msg55259 |
| 2007年08月24日 16:14:34 | paulsmith | set | messages: + msg55258 |
| 2007年08月24日 15:56:20 | orsenthil | set | nosy:
+ orsenthil messages: + msg55257 |
| 2007年08月23日 21:21:58 | paulsmith | set | messages: + msg55216 |
| 2007年08月23日 20:20:43 | paulsmith | set | files:
+ rename-html-parser-fix-imports.diff messages: + msg55202 |
| 2007年08月23日 20:20:17 | paulsmith | create | |