You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Passing NSURL objects (representing a file path) from ObjC to Python code can be tedious, I have a wrapper which calls [NSURL fileSystemRepresentation] and then copies that into an NSString to pass to Python code.
Describe the solution you'd like
If NSURL implemented the os.PathLike protocol to make it a path-like object, Python file APIs would be able to use NSURL objects directly.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Passing NSURL objects (representing a file path) from ObjC to Python code can be tedious, I have a wrapper which calls
[NSURL fileSystemRepresentation]
and then copies that into anNSString
to pass to Python code.Describe the solution you'd like
If
NSURL
implemented theos.PathLike
protocol to make it a path-like object, Python file APIs would be able to useNSURL
objects directly.The text was updated successfully, but these errors were encountered: