New submission from Александр Семенов <[email protected]>:
Windows 10:
```
C:\Users\User\Downloads>py -3.7 -c "import os.path;os.path.realpath('nul')"
C:\Users\User\Downloads>py -3.8 -c "import os.path;os.path.realpath('nul')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Python38\lib\ntpath.py", line 592, in realpath
path = _getfinalpathname_nonstrict(path)
File "C:\Python38\lib\ntpath.py", line 566, in _getfinalpathname_nonstrict
path = _readlink_deep(path, seen)
File "C:\Python38\lib\ntpath.py", line 536, in _readlink_deep
path = _nt_readlink(path)
OSError: [WinError 1] Неверная функция: 'nul'
```
I think it's a bug. pip uses this code, so 'pip install pandas' won't work in
3.8
----------
components: Library (Lib)
messages: 351577
nosy: Александр Семенов
priority: normal
severity: normal
status: open
title: Different behavior of in 3.7 and 3.8 os.path.realpath('nul')
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38081>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com