Xavier de Gaye added the comment:
New patch using support.less_than_android_api(level).
--
stage: patch review -> commit review
Added file: http://bugs.python.org/file45534/test_socket_2.patch
___
Python tracker
<http://bugs.python.org/issu
Xavier de Gaye added the comment:
> I proposed to add a new function to the sys module: sys.getandroidapilevel()
This would also help fixing the long standing issue 16255, and possibly also
issue 16353.
--
___
Python tracker
&l
Xavier de Gaye added the comment:
issue #28740: Add sys.getandroidapilevel()
--
dependencies: +Add sys.getandroidapilevel()
___
Python tracker
<http://bugs.python.org/issue26
Xavier de Gaye added the comment:
Patch tested with success on the android-24 emulator.
--
___
Python tracker
<http://bugs.python.org/issue28740>
___
___
Pytho
Xavier de Gaye added the comment:
__system_property_get() is not a public API, see Android bug report [1].
In this stackoverflow question, an Android developer confirms this point and
suggests to use the file /system/build.prop instead, noting however that
"build.prop isn't guaran
Xavier de Gaye added the comment:
The build time Android API level is also a valuable information to Python users
(application developers), it may be used at installation time or to detect a
version mismatch.
--
___
Python tracker
<h
New submission from Xavier de Gaye:
test_socket on Android fails with:
FAIL: test_set_inheritable (test.test_socket.InheritanceTest)
--
Traceback (most recent call last):
File "/sdcard/org.bitbucket.pyona/lib/python3.7
Xavier de Gaye added the comment:
It seems the code path run by Android is not tested by any of the buildbots.
Patch attached.
--
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file45547/set_inheritable.pa
Changes by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
New submission from Xavier de Gaye:
List of the tests that fail with PermissionError when run as a non-root user on
an Android emulator (API 24) and fixed by this patch:
test_posix test_shutil test_stat test_genericpath test_ntpath
test_posixpath test_macpath test_eintr test_pathlib
New submission from Xavier de Gaye:
The patch fixes the following error:
==
ERROR: test_lockf (test.test_posix.PosixTester)
--
Traceback (most recent call last
New submission from Xavier de Gaye:
The patch fixes the problem that on Android API 24, a non-root user is not
allowed to create the hard links used by the mailbox module.
Related to issue 28759.
--
assignee: xdegaye
components: Library (Lib)
files: test_mailbox_link.patch
keywords
Xavier de Gaye added the comment:
New issues raised upon testing on the Android API 24 emulator:
issue #28683: bind() on a unix socket raises PermissionError on Android for a
non-root user
issue #28684: [asyncio] bind() on a unix socket raises PermissionError on
Android for a non-root user
Xavier de Gaye added the comment:
I agree with Marc-Andre, Windows has sys.getwindowsversion() returning system
information for the Windows version, and a platform.win32_ver() returning
additional version information from the Registry obtained at run time. So it is
consistent to add the
1601 - 1614 of 1614 matches
Mail list logo