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.

Author dday52
Recipients dday52
Date 2021-01-19.20:26:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611087981.59.0.713366355851.issue42970@roundup.psfhosted.org>
In-reply-to
Content
The following code generates a path that works in Pythons 3.7.6 on macOS Big Sur but not in Catalina  with 3.8.2.. 
mySrcFldr="~/Library/Mobile Documents/com~apple~CloudDocs/Utilities/"
srcFldr=os.path.expanduser(mySrcFldr)
f=os.path.join(srcFldr,"mortgage.py")

When python tries to run the code file(montage.py) on 3.8.2, an open error results.
/Library/Developer/CommandLineTools/usr/bin/python3: can't open file '/Users/Doug/Library/Mobile': [Errno 2] No such file or directory
 I tried putting a backslash after 'Mobile'. Does not help.
The complete path is:
'/Users/Doug/Library/Mobile Documents/com~apple~CloudDocs/Utilities/mortgage.py'

While the doc changes show some changes in the os.path module, I see no mention of this issue.
History
Date User Action Args
2021-01-19 20:26:21dday52setrecipients: + dday52
2021-01-19 20:26:21dday52setmessageid: <1611087981.59.0.713366355851.issue42970@roundup.psfhosted.org>
2021-01-19 20:26:21dday52linkissue42970 messages
2021-01-19 20:26:21dday52create