[New-bugs-announce] [issue27690] os.path.normcase broken.

Lilin Lao report at bugs.python.org
Fri Aug 5 01:39:53 EDT 2016


New submission from Lilin Lao:

orz> python
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Failed calling sys.__interactivehook__
Traceback (most recent call last):
  File "C:\Users\lao\AppData\Local\Programs\Python\Python35\lib\site.py", line 388, in register_readline
    import readline
  File "C:\Users\lao\AppData\Local\Programs\Python\Python35\lib\site-packages\readline.py", line 6, in <module>
    from pyreadline.rlmain import Readline
  File "C:\Users\lao\AppData\Local\Programs\Python\Python35\lib\site-packages\pyreadline\__init__.py", line 12, in <module>
    from . import logger, clipboard, lineeditor, modes, console
  File "C:\Users\lao\AppData\Local\Programs\Python\Python35\lib\site-packages\pyreadline\logger.py", line 10, in <module>
    import socket, logging, logging.handlers
  File "C:\Users\lao\AppData\Local\Programs\Python\Python35\lib\logging\__init__.py", line 170, in <module>
    _srcfile = os.path.normcase(addLevelName.__code__.co_filename)
AttributeError: module 'ntpath' has no attribute 'normcase'
>>> exit()

----------
components: Windows
messages: 272013
nosy: lll9p, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: os.path.normcase broken.
type: crash
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27690>
_______________________________________


More information about the New-bugs-announce mailing list