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: Path sep. in IDLE on Windows changes
Type: behavior Stage: resolved
Components: IDLE Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: terry.reedy, wyz23x2
Priority: normal Keywords:

Created on 2020-06-26 00:39 by wyz23x2, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg372395 - (view) Author: wyz23x2 (wyz23x2) * Date: 2020-06-26 00:39
Python supports "/" and "\" separators on Windows.
So in IDLE, the path shown sometimes is:
D:\xxx\xxx
Sometimes is:
D:/xxx/xxx

That isn't right.
msg372398 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-06-26 01:25
This complaint is way too vague to work with.  And for anything specific, it is almost certainly misdirected as the behavior is almost certainly not an IDLE issue.  If your code, which is executed by python, not by IDLE, prints a path, IDLE displays it as is, which should be the same as printed by the same code executed directly by python.exe, without IDLE involved.  If IDLE displays a path as a result of other user actions, it displays the strings returned by os.path, or maybe someday by pathlib.

If you have specific complaints about the behavior of os.path, pathlib, or other stdlib functions, you could open a new issue.  But I strongly suggest posting to python-list first, as these functions are mostly old and their well-discussed behavior unlikely to be seen as a bug by the developers who maintain them.

If after posting to python-list (which I read), there appears to be a specific issue with IDLE, this could be re-opened.
History
Date User Action Args
2022-04-11 14:59:32adminsetgithub: 85293
2020-06-26 01:25:49terry.reedysetstatus: open -> closed
resolution: not a bug
messages: + msg372398

stage: resolved
2020-06-26 00:39:56wyz23x2create