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.

classification
Title: os.path.normcase broken.
Type: behavior Stage: resolved
Components: Windows Versions: Python 3.5
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: lll9p, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-08-05 05:39 by lll9p, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg272013 - (view) Author: Lilin Lao (lll9p) Date: 2016-08-05 05:39
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()
msg272015 - (view) Author: Lilin Lao (lll9p) Date: 2016-08-05 05:42
This issue happened after I update the system to "Windows 10 Anniversary Update".
msg272017 - (view) Author: Lilin Lao (lll9p) Date: 2016-08-05 06:00
I Fixed it by uninstall and then reinstall python, thanks
History
Date User Action Args
2022-04-11 14:58:34adminsetgithub: 71877
2016-08-08 14:01:02r.david.murraysettype: crash -> behavior
2016-08-05 06:42:51serhiy.storchakasetstatus: open -> closed
resolution: works for me
stage: resolved
2016-08-05 06:00:29lll9psetmessages: + msg272017
2016-08-05 05:42:36lll9psetmessages: + msg272015
2016-08-05 05:39:53lll9pcreate