[issue14545] html module should not be available in Python 3.1

2012-04-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2776ccf003cc by Georg Brandl in branch '3.2': Closes #14545: make clearer what was added. http://hg.python.org/cpython/rev/2776ccf003cc New changeset f5f8a7fd881c by Georg Brandl in branch 'default': #14545: merge 3.2 http://hg.python.org/cpython/r

[issue14545] html module should not be available in Python 3.1

2012-04-11 Thread Georg Brandl
Georg Brandl added the comment: The comment that "html" was a package was not meant as a correction, but as an explanation why it already exists previous to its status as an official "module" in 3.2. No correction to "package"is needed. -- ___ Pyth

[issue14545] html module should not be available in Python 3.1

2012-04-11 Thread Chris Jerdonek
Chris Jerdonek added the comment: Ezio, I appreciate the suggestion/tip. Thanks. Regarding Georg's clarification that '"html" is a package,' I don't know if that was intended to correct my comment, Ezio's comment, the docs, or all of the above. In any case, that point should also be correct

[issue14545] html module should not be available in Python 3.1

2012-04-10 Thread Georg Brandl
Georg Brandl added the comment: "html" is a package. The "html.parser" module, which was already in 3.0, cannot be importable without a "html" package, so in all 3.x versions there was at least an empty html/__init__.py. That said, I have no objection to Ezio's suggestion. -- nosy: +

[issue14545] html module should not be available in Python 3.1

2012-04-10 Thread Ezio Melotti
Ezio Melotti added the comment: The doc for the html module was added in 5633af590057 (see #2830) and it was previously undocumented even if it was importable. Moving the versionadded under html.escape sounds good to me. As a side note, it would be better to do try: # Python 3.2 depreca

[issue14545] html module should not be available in Python 3.1

2012-04-10 Thread Chris Jerdonek
New submission from Chris Jerdonek : The Python documentation says that the html module (defining html.escape()) is new in Python 3.2: http://docs.python.org/dev/library/html.html However, it's importable in Python 3.1, but without the escape() function. See below for evidence. This preven