Xavier de Gaye added the comment:
New changeset ea5b545e38b3fec7ff29276b5cd59dec583ebf34 by xdegaye in branch
'3.6':
[3.6] bpo-30696: Fix the REPL looping endlessly when no memory (GH-4160).
(#4379)
https://github.com/python/cpython/commit/ea5b545e38b3fec7ff29276b5cd59d
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Xavier de Gaye :
--
pull_requests: +4328
___
Python tracker
<https://bugs.python.org/issue28759>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xavier de Gaye added the comment:
New changeset 6a55d09573e5c35c9e4a24a6f811120b41a2a994 by xdegaye in branch
'master':
bpo-29180: Skip test_os tests on PermissionError raised by Android (GH-4374)
https://github.com/python/cpython/commit/6a55d09573e5c35c9e4a24a6f81112
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
New changeset d7d4fea4a39da4bfdea1de22fe040023eb4ddc17 by xdegaye in branch
'master':
bpo-29181: Skip test_tarfile tests on PermissionError raised by Android
(GH-4375)
https://github.com/python/cpython/commit/d7d4fea4a39da4bfdea1de22fe0400
Xavier de Gaye added the comment:
New changeset ad004f9b5a581f577374c56d8ab27e9ef2e73452 by xdegaye in branch
'3.6':
[3.6] bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350)
(#4380)
https://github.com/python/cpython/commit/ad004f9b5a581f577374c56d8ab27e
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
> What about Python 2.7?
_testcapi.set_nomemory() does not exist on Pyhton 2.7 so the changes cannot be
tested. Applying the changes to PyRun_InteractiveLoopFlags() in 2.7 looks
rather straightforward but there are too many differences
Xavier de Gaye added the comment:
Also the existing test coverage of these functions in all the Python versions
is very weak.
--
___
Python tracker
<https://bugs.python.org/issue30
Change by Xavier de Gaye :
--
pull_requests: +4335
___
Python tracker
<https://bugs.python.org/issue29184>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
versions: -Python 3.6
___
Python tracker
<https://bugs.python.org/issue29185>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Xavier de Gaye :
test_mixed_case_module_names_are_lower_cased fails when there is a symlink in
the directory path of the installed standard library.
--
components: Tests
messages: 306259
nosy: xdegaye
priority: normal
severity: normal
stage: needs patch
status: open
New submission from Xavier de Gaye :
On Android API 24:
$ python -c "import pwd; print(pwd.getpwuid(0))"
pwd.struct_passwd(pw_name='root', pw_passwd='', pw_uid=0, pw_gid=0,
pw_gecos=None, pw_dir='/', pw_shell='/system/bin/sh')
The pw_gecos me
Xavier de Gaye added the comment:
> I'm not sure that it's very useful to distinguish NULL and an empty char*
> string.
I agree. An attribute of a ('pwd' Python module) password database entry
corresponds to the field of a line in a 'passwd' text file. So
Change by Xavier de Gaye :
--
pull_requests: +4380
___
Python tracker
<https://bugs.python.org/issue29185>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xavier de Gaye added the comment:
The error:
generic_x86_64:/data/local/tmp/python $ python -m test test_pydoc
Run tests sequentially
0:00:00 [1/1] test_pydoc
test test_pydoc failed -- Traceback (most recent call last):
File "/sdcard/org.python/lib/python3.7/test/test_pydoc.py", li
Xavier de Gaye added the comment:
The path returned by inspect.getabsfile(xml.etree.ElementTree) is not the
canonical path, hence the test failure.
--
___
Python tracker
<https://bugs.python.org/issue32
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +4383
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
New submission from Xavier de Gaye :
When cross-compiling, the gcc and clang `--sysroot=` compiler option may be
used to change the logical path of the system headers and libraries to a path
located within the install path of the cross-compiler tool chain.
Android is a special case
Xavier de Gaye added the comment:
> while on a standard platform where the root path of usr/include and usr/lib
> is common, one would only need to set sysroot to this root path in CFLAGS
s/CFLAGS/CC/
--
___
Python tracker
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +4389
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Xavier de Gaye :
--
nosy: +brett.cannon, martin.panter, twouters
___
Python tracker
<https://bugs.python.org/issue32059>
___
___
Python-bugs-list mailin
Xavier de Gaye added the comment:
New changeset 9001d1f438e968f4d327313e0a95a49f22e724f4 by xdegaye in branch
'master':
bpo-29184: Skip test_socketserver tests on PermissionError raised by Android
(GH-4387)
https://github.com/python/cpython/commit/9001d1f438e968f4d327313e0a95a4
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
New changeset d34d8fc24f23ccff5de03c9277da5acbbdc30e90 by xdegaye in branch
'master':
bpo-29185: Fix `test_distutils` failures on Android (GH-4438)
https://github.com/python/cpython/commit/d34d8fc24f23ccff5de03c9277da5a
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
New changeset ebfaa71c2e8c018f72c179395dafaf06dcaf29e2 by xdegaye in branch
'master':
bpo-32031: Fix pydoc `test_mixed_case_module_names_are_lower_cased` (GH-4441)
https://github.com/python/cpython/commit/ebfaa71c2e8c018f72c179395dafaf
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Xavier de Gaye :
--
pull_requests: +4416
___
Python tracker
<https://bugs.python.org/issue28538>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xavier de Gaye added the comment:
These changes are not needed anymore now that Unified Headers are supported by
android-ndk-r14 (see issue 29040)
--
resolution: fixed -> not a bug
stage: resolved -> patch review
status: closed -> open
_
Change by Xavier de Gaye :
--
pull_requests: +4426
___
Python tracker
<https://bugs.python.org/issue28762>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xavier de Gaye added the comment:
This change is not needed anymore now that Unified Headers are supported by
android-ndk-r14 (see issue 29040)
--
resolution: fixed -> not a bug
stage: resolved -> patch review
status: closed -> open
_
Change by Xavier de Gaye :
--
versions: -Python 3.6
___
Python tracker
<https://bugs.python.org/issue29040>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +4429
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Xavier de Gaye added the comment:
test_create_connection_service_name does not fail on android-24-x86_64.
--
___
Python tracker
<https://bugs.python.org/issue28
Xavier de Gaye added the comment:
Changing test_pwd does not correct the fact that the current implementation of
the pwd module may break an existing Python application since this (old indeed)
API states "The uid and gid items are integers, all others are strings".
> retur
Change by Xavier de Gaye :
--
pull_requests: +4441
___
Python tracker
<https://bugs.python.org/issue28684>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xavier de Gaye added the comment:
New changeset 5ad7ef8e420de8a54fb30ed37362194c6b96012c by xdegaye in branch
'master':
bpo-28538: Revert all the changes (now using Android Unified Headers) (GH-4479)
https://github.com/python/cpython/commit/5ad7ef8e420de8a54fb30ed3736219
Change by Xavier de Gaye :
--
resolution: not a bug -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
New changeset c06c22e9a9fb9326e79fcf1551601eacc1fd457d by xdegaye in branch
'master':
bpo-29040: Support building Android with Unified Headers (GH-4492)
https://github.com/python/cpython/commit/c06c22e9a9fb9326e79fcf1551601e
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Xavier de Gaye :
--
resolution: not a bug -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
New changeset 5ce1069a6ff0d5443074d33ba1d403ccd2eaf3d3 by xdegaye in branch
'master':
bpo-28762: Revert last commit (now using Android Unified Headers) (GH-4488)
https://github.com/python/cpython/commit/5ce1069a6ff0d5443074d33ba1d403
Change by Xavier de Gaye :
--
versions: -Python 3.6
___
Python tracker
<https://bugs.python.org/issue28684>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xavier de Gaye added the comment:
New changeset 0f86cd38f4a38f25a4aed3759a654a4b7fa49031 by xdegaye in branch
'master':
bpo-28684: asyncio tests handle PermissionError raised on binding unix sockets
(GH-4503)
https://github.com/python/cpython/commit/0f86cd38f4a38f25a4aed3759a654a
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Xavier de Gaye :
test_get_event_loop_new_process fails on Android API 24 with the error:
==
ERROR: test_get_event_loop_new_process
(test.test_asyncio.test_events.EPollEventLoopTests
Xavier de Gaye added the comment:
See also the related issues:
#3770: test_multiprocessing fails on systems with HAVE_SEM_OPEN=0
#28668: instanciation of multiprocessing.Queue raises ImportError in
test_logging
#26924: android: test_concurrent_futures fails
Change by Xavier de Gaye :
--
pull_requests: +4477
___
Python tracker
<https://bugs.python.org/issue28684>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xavier de Gaye added the comment:
New changeset 5742f674f7561dc9a1fc66d650e18e31b941183b by xdegaye in branch
'master':
bpo-28684: Remove useless import added by the previous commit (GH-4547)
https://github.com/python/cpython/commit/5742f674f7561dc9a1fc66d650e18e
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +4487
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Xavier de Gaye :
--
pull_requests: +4489
___
Python tracker
<https://bugs.python.org/issue28668>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xavier de Gaye added the comment:
The multiprocessing module is not functional when the
multiprocessing.synchronize module cannot be imported and all the
multiprocessing tests are skipped in that case. Use the same idiom (i.e.
test.support.import_module('multiprocessing.synchronize&
Change by Xavier de Gaye :
--
pull_requests: +4490
___
Python tracker
<https://bugs.python.org/issue26856>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xavier de Gaye added the comment:
The pwd module is broken when a member of the 'passwd’ data structure is NULL
(issue 32033).
Remove _getpwall() and therefore skip test_pwd on Android until issue 32033 is
fixed.
--
dependencies: +The pwd module implementation incorrectly sets
Xavier de Gaye added the comment:
New changeset 77f5139954a878b856b0ac4c76486b27b6f4ec26 by xdegaye in branch
'master':
bpo-32059: setup.py now also searches the sysroot paths (GH-4452)
https://github.com/python/cpython/commit/77f5139954a878b856b0ac4c76486b
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
New changeset 76fdac4c9f53eb8433a54bd3daf9f5cc2e702a44 by xdegaye in branch
'master':
bpo-26856: Skip test_pwd on Android until issue 32033 is fixed (GH-4561)
https://github.com/python/cpython/commit/76fdac4c9f53eb8433a54bd3daf9f5
Change by Xavier de Gaye :
--
stage: patch review ->
___
Python tracker
<https://bugs.python.org/issue26856>
___
___
Python-bugs-list mailing list
Unsubscrib
Xavier de Gaye added the comment:
New changeset 04af8ace86d4396bc64fc401f36049ab745fd8c1 by xdegaye (Miss
Islington (bot)) in branch '3.6':
bpo-32059: setup.py now also searches the sysroot paths (GH-4452) (#4562)
https://github.com/python/cpyt
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
New changeset a6fba9b827e395fc9583c07bc2d15cd11f684439 by xdegaye in branch
'master':
bpo-32126: Skip asyncio test when sem_open() is not functional (GH-4559)
https://github.com/python/cpython/commit/a6fba9b827e395fc9583c07bc2d15c
New submission from Xavier de Gaye :
Issue 26934 skipped some tests of test_faulthandler on Android API < 24 to fix
the problem that python does not crash upon _sigsegv(). But the same problem
occurs on API 24 except randomly, you need to run test_faulthandler many times
before reproducing
New submission from Xavier de Gaye :
Test results:
1 test altered the execution environment:
test_strftime
Warning -- locale was modified by test_strftime
Before: [(6, 'C.UTF-8'), (3, 'C.UTF-8'), (0, 'C.UTF-8'), (5, 'C.UTF-8
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +4497
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +4521
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Xavier de Gaye added the comment:
New changeset cc55e78acab93a495c974b9a2ea71c8bb9cc2f5d by xdegaye in branch
'master':
bpo-32139: test_strftime does not anymore modify the locale (GH-4569)
https://github.com/python/cpython/commit/cc55e78acab93a495c974b9a2ea71c
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
New changeset ef83806f5ec01f34f6cbf4ebb5752875b5961f7e by xdegaye in branch
'master':
bpo-32138: Skip on Android test_faulthandler tests that raise SIGSEGV (GH-4604)
https://github.com/python/cpython/commit/ef83806f5ec01f34f6cbf4ebb57528
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
New changeset b0df786258c99f98295b82ec62daea1f49912c33 by xdegaye (Miss
Islington (bot)) in branch '3.6':
bpo-32139: test_strftime does not anymore modify the locale (GH-4569) (#4635)
https://github.com/python/cpyt
Xavier de Gaye added the comment:
New changeset bc19cf57a8f061bbb1961aa069ed54e8361023ae by xdegaye (Miss
Islington (bot)) in branch '2.7':
bpo-32139: test_strftime does not anymore modify the locale (GH-4569) (#4636)
https://github.com/python/cpyt
Xavier de Gaye added the comment:
Closing now.
Thanks Victor :-)
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
ARMV5TE is deprecated in NDK r16 and will be removed in r17.
See https://developer.android.com/ndk/guides/abis.html
Closing as won't fix.
--
resolution: -> wont fix
stage: -> resolved
status: ope
Xavier de Gaye added the comment:
New changeset bf2b65e413ca5ec705c7e2f463d0d75e947588a4 by xdegaye in branch
'master':
bpo-28668: test.support.requires_multiprocessing_queue is removed (GH-4560)
https://github.com/python/cpython/commit/bf2b65e413ca5ec705c7e2f463d0d7
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
test_uuid fails now on android-24-armv7 on the master branch:
==
FAIL: test_getnode (test.test_uuid.TestUUIDWithoutExtModule
Xavier de Gaye added the comment:
> I don't know how the proposed change can help.
It helps by fixing the regression introduced by a change made in
23df2d1304ece169d7e0dfc843dfb8026b413d9f in this issue, a change that has been
made only in the master branch. Before that change, su
New submission from Xavier de Gaye :
Currently uuid.getnode() returns a random 48-bit number and so the UUIDs are
not persistent across time. The reason is that on Android the 'ip link list'
command fails.
uuid._ip_getnode() should invoke the 'ip link' command instead.
-
New submission from Xavier de Gaye :
UUIDs are unique and persistent across time and space.
UUIDs generated using the getnode() function of the uuid module on a plaform
where getnode() cannot use the MAC address are based on a random number created
for that purpose and are therefore transient
Xavier de Gaye added the comment:
Hum, I misunderstood the meaning of persistency in this context. It is the
uniqueness that is persistent. Sorry for the noise, closing now.
--
resolution: -> not a bug
stage: -> resolved
status: open -&g
New submission from Xavier de Gaye :
These tests are ok on Android API 24 on the armv7, x86 and arm64 architectures.
==
FAIL: test_longdouble (ctypes.test.test_callbacks.Callbacks
New submission from Xavier de Gaye :
test_struct_by_value is ok on Android API 24 on the armv7, x86 and x86_64
architectures.
==
FAIL: test_struct_by_value (ctypes.test.test_win32.Structures
Xavier de Gaye added the comment:
1. Before the regression made by 23df2d1304ece169d7e0dfc843dfb8026b413d9f, on
the first invocation of getnode(), the returned value is cached in '_node' (a
global variable) and getnode() is idempotent.
2. After 23df2d1304ece169d7e0dfc843dfb8026b4
Xavier de Gaye added the comment:
When I am the author of a regression (as I have been too many times
unfortunately), I prefer to be the one that reverts the changes and I would not
like someone else to do it.
--
___
Python tracker
<ht
New submission from Xavier de Gaye :
When cross-compiling the only useful information printed by pythoninfo is the
cross-built sysconfig data since everything else is related to the native
python process used during the cross-build.
Currently pythoninfo prints the native sysconfig data
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +4600
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
New submission from Xavier de Gaye :
* The NDK version can be obtained by parsing the file
$ANDROID_NDK_ROOT/source.properties.
* The versions of the SDK build-tools, emulator and platform-tools packages as
well as those of the system images can be obtained by parsing the output of
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +4609
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Xavier de Gaye added the comment:
I may have misunderstood the scope of pythoninfo. On Android the readline or
sqlite versions are known at build time since they have to be built at that
time, but much more useful information can be obtained (or will be obtained)
from python running on the
Change by Xavier de Gaye :
--
resolution: -> wont fix
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
The NDK version may be printed by the pythoninfo make target before
test.pythoninfo is run on Android.
platform.android_ver() (not yet implemented, see issue 26855) must be added to
collect_sys() in test.pythoninfo
Xavier de Gaye added the comment:
I cannot find a reference to the "build.prop" file in the Android documentation
but google answers at the question ' what is "build.prop"':
The “build.prop” file is a system file that exists on every Android device.
The f
Change by Xavier de Gaye :
--
dependencies: +android: add platform.android_ver()
title: Add the versions of the Android SDK and NDK to test.pythoninfo -> Add
platform.android_ver() to test.pythoninfo for Android platforms
___
Python tracker
<
Xavier de Gaye added the comment:
Yes, and fall back to spawning getprop if that fails.
In the following link Robin Gawenda is reporting that /system/build.prop is
world readable on all the devices he checked:
https://stackoverflow.com/questions/9937099/how-to-get-the-build-prop-values
Xavier de Gaye added the comment:
The result of various 'ip' commands on Android, the last 'ip link list' command
is run as root and succeeds (did not think about trying that before):
generic_x86_64:/data/local/tmp/python $ ip link list
request send failed: Permission deni
Xavier de Gaye added the comment:
Whatever the change made to fix this issue, it is not possible to add a test
case for this change.
So following the suggestion made by Barry in PR 4696, we can add (in another
issue) a new keyword parameter to getnode() named 'methods' whose va
Xavier de Gaye added the comment:
You may be right Serhiy. Those tests have been run on the emulator at API 24
(Android 7.0 Nougat, the first API version where SELinux is run in enforced
mode) where 'ip link list' fails, but on my device (a Samsung API 21, Android
5.1 Lollipop) r
501 - 600 of 1614 matches
Mail list logo