Malcolm Smith
Malcolm Smith
* Related: #2832
It looks like the recommended intent for saving files is ACTION_CREATE_DOCUMENT. I don't have an example in Python, but here's one in Java: https://gist.github.com/neonankiti/05922cf0a44108a2e2732671ed9ef386.
There's some discussion of this at https://github.com/beeware/toga/issues/766#issuecomment-1155164170.
Since Python 3.8 there is now a syntax for [positional-only arguments](https://peps.python.org/pep-0570/#syntax-and-semantics).
We're already using keyword-only arguments in a few places, but positional-only arguments are a more recent addition to the language which I don't think we've ever used before.
Pillow version 9.2.0 doesn't have any Python 3.12 wheels on PyPI, so we should probably upgrade the testbed to a newer version. Meanwhile, you can run the tests on Python...
Since we do officially support Python 3.12, let's leave it open as a reminder to do the upgrade.
> the problem is that 99% of Windows users aren't set up to compile wheels. This is much leas prevalent as a problem on Linux and macOS It doesn't work...
As part of the Toga 0.4 work, the Android WebView stopped using base64 encoding in its `data` URLs. But according to the [Android documentation](https://developer.android.com/reference/android/webkit/WebView#loadData(java.lang.String,%20java.lang.String,%20java.lang.String)): > Applications targeting [Build.VERSION_CODES.Q](https://developer.android.com/reference/android/os/Build.VERSION_CODES#Q) or later...
The documentation I quoted was from the native `loadData` method, which is what Toga's `set_content` method currently uses on Android. The workaround is to wrap the `content` argument in urllib.parse.quote,...