[issue22425] 2to3 import fixer writes dotted_as_names into import_as_names

2014-09-16 Thread Simon Weber
New submission from Simon Weber: When dealing with implicit relative imports of the form "import as...", the 2to3 import fixer will rewrite them as "from . import as...". This is invalid syntax. Here's an example: $ tree package/ package/ ├── __init__.py ├──

[issue19789] Improve wording of how to "undo" a call to logging.disable(lvl)

2013-11-30 Thread Simon Weber
Simon Weber added the comment: That sounds much clearer. Thanks! -- ___ Python tracker <http://bugs.python.org/issue19789> ___ ___ Python-bugs-list mailin

[issue19789] Improve wording of how to "undo" a call to logging.disable(lvl)

2013-11-25 Thread Simon Weber
New submission from Simon Weber: In http://bugs.python.org/issue14864, this line was added to the logging.disable docstring: To undo the effect of a call to logging.disable(lvl), call logging.disable(logging.NOTSET). To prevent misunderstanding, I propose that this line be changed to