Pythonista-Issues icon indicating copy to clipboard operation
Pythonista-Issues copied to clipboard

In `sysinfo.py`, the Pythonista3 version appears as `N/A`.

Open pome-ta opened this issue 2 years ago • 0 comments
trafficstars

I am really happy with the Pythonista3 version upgrade. Thanks for the best app.

--- SYSTEM INFORMATION ---
**System Information**

* Pythonista N/A (N/A), Default interpreter 3.10.4
* iOS 16.3.1, model iPhone12,1, resolution (portrait) 828.0 x 1792.0 @ 2.0
--- SYSTEM INFORMATION ---
Please, attach everything between --- SYSTEM INFORMATION --- to your GitHub issue, many thanks.
System information was just stored in the system clipboard. You can paste it with Cmd V.

plistlib — Generate and parse Mac OS X .plist files — Python 3.8.16 documentation

plistlib — Generate and parse Apple .plist files — Python 3.10.11 documentation

In python version 3.10, the function plistlib.readPlist does not seem to exist. It seems that the plistlib.loads function can be used to solve this problem for version 3.10.

I will also be sending pull requests. I'm new to everything, so I would appreciate feedback if there are any mistakes.

Thanks for reading to the end.

pome-ta avatar May 01 '23 15:05 pome-ta