Re: [Python-Dev] Exposing the Android platform existence to Python modules

2014-08-03 Thread Nick Coghlan
On 4 Aug 2014 03:18, "Phil Thompson" wrote: > > On 03/08/2014 4:58 pm, Guido van Rossum wrote: >> >> But *are* we going to support Android officially? What's the point? Do you >> have a plan for getting Python apps to first-class status in the App Store >> (um, Google Play)? > > > I do... > > http

Re: [Python-Dev] Exposing the Android platform existence to Python modules

2014-08-03 Thread Guido van Rossum
On Sun, Aug 3, 2014 at 10:16 AM, Phil Thompson wrote: > On 03/08/2014 4:58 pm, Guido van Rossum wrote: > >> But *are* we going to support Android officially? What's the point? Do you >> have a plan for getting Python apps to first-class status in the App Store >> (um, Google Play)? >> > > I do...

Re: [Python-Dev] Exposing the Android platform existence to Python modules

2014-08-03 Thread Phil Thompson
On 03/08/2014 4:58 pm, Guido van Rossum wrote: But *are* we going to support Android officially? What's the point? Do you have a plan for getting Python apps to first-class status in the App Store (um, Google Play)? I do... http://pyqt.sourceforge.net/Docs/pyqtdeploy/introduction.html Phil

Re: [Python-Dev] Exposing the Android platform existence to Python modules

2014-08-03 Thread Shiz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Guido van Rossum wrote: > But *are* we going to support Android officially? What's the point? > Do you have a plan for getting Python apps to first-class status in > the App Store (um, Google Play)? > > Regardless, I recommend that you add a new met

Re: [Python-Dev] Exposing the Android platform existence to Python modules

2014-08-03 Thread Shiz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Akira Li wrote: > FYI, /bin/sh is not POSIX, see > http://bugs.python.org/issue16353#msg224514 Ah right, my apologies. Android doesn't seem to have getconf(1) either, but sh /is/ on $PATH. Anyway, even if it weren't, os.defpath could be tweaked on

Re: [Python-Dev] Exposing the Android platform existence to Python modules

2014-08-03 Thread Guido van Rossum
But *are* we going to support Android officially? What's the point? Do you have a plan for getting Python apps to first-class status in the App Store (um, Google Play)? Regardless, I recommend that you add a new method to the platform module (careful people can test for the presence of the new met

Re: [Python-Dev] Exposing the Android platform existence to Python modules

2014-08-03 Thread Akira Li
Shiz writes: > The most obvious change would be to subprocess.Popen(). The reason a > generic approach there won't work is also the reason I expect more > changes might be needed: the Android file system doesn't abide by any > POSIX file system standards. Its shell isn't located at /bin/sh, but a

Re: [Python-Dev] Exposing the Android platform existence to Python modules

2014-08-03 Thread Akira Li
Guido van Rossum writes: > Well, it really does look like checking for the presence of those ANDROID_* > environment variables it the best way to recognize the Android platform. > Anyone can do that without waiting for a ruling on whether Android is Linux > or not (which would be necessary becaus