[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-15 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- versions: +Python 3.6, Python 3.7 ___ Python tracker <http://bugs.python.org/issue28444> ___ ___ Python-bugs-list mailing list Unsub

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: The cross-build uses a native python to run setup.py to build the extension modules, and to run 'python -S -m sysconfig --generate-posix-vars' and to byte compile the modules from the standard library. So you do need a native python. That is why

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: The attached patch fixes the problem and allows cross-building the extension modules independently of the configuration of the native interpreter that may have set some modules to be statically built. The patch also prints now the list of modules that are

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for the reports. The next step is having the patch reviewed by one of the Python build machinery experts. Nosying Martin, Zachary and Matthias. -- nosy: +doko, martin.panter, zach.ware ___ Python tracker

[issue26942] android: test_ctypes crashes on armv7 and aarch64

2016-10-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: At least for non-Darwin POSIX builds: * Building _ctypes with the bundled copy of libffi is deprecated in 3.6 and the default is to use a system copy of libffi, issue 27976. * The bundled libffi is removed in 3.7, issue 27979. As this crash happens with the

[issue26942] android: test_ctypes crashes on armv7 and aarch64

2016-10-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks Chi Hsuan Yen for your contributions with this issue. -- ___ Python tracker <http://bugs.python.org/issue26942> ___ ___

[issue26942] android: test_ctypes crashes on armv7 and aarch64

2016-10-16 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue26942> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue27627] clang fails to build ctypes on Android armv7

2016-10-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: As this problem occurs with the bundled libffi, closing this issue as won't fix for the same reasons as those listed in msg278759. -- resolution: -> wont fix stage: needs patch -> resolved status: ope

[issue27659] Check for the existence of crypt()

2016-10-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: Android does not have crypt, but the crypt module is cross-built nevertheless after this warning has been issued: warning: implicit declaration of function 'crypt' is invalid in C99 [-Wimplicit-function-declaration] And at runtime, importing

[issue26944] android: test_posix fails

2016-10-19 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: -add the 'is_android' attribute to test.support ___ Python tracker <http://bugs.python.org/issue26944> ___ ___

[issue26944] test_posix: Android 'id -G' is entirely wrong or missing the effective gid

2016-10-19 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- title: android: test_posix fails -> test_posix: Android 'id -G' is entirely wrong or missing the effective gid ___ Python tracker <http://bugs.pytho

[issue26944] test_posix: Android 'id -G' is entirely wrong or missing the effective gid

2016-10-19 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-19 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for reviewing the patch Martin. > Why do you remove the code that loops over Modules/Setup? Maybe is it > redundant with the other code for removing the already-built-in modules? Yes because this is redundant, maybe not the case when this was w

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-20 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +akuchling ___ Python tracker <http://bugs.python.org/issue28444> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27659] Check for the existence of crypt()

2016-10-20 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- versions: +Python 3.7 -Python 3.6 ___ Python tracker <http://bugs.python.org/issue27659> ___ ___ Python-bugs-list mailing list Unsub

[issue28538] _socket module cross-compilation error on android-24

2016-10-26 Thread Xavier de Gaye
New submission from Xavier de Gaye: On the latest Android API level (android-24), the if_nameindex function is now found by configure in Android libc. But the if_nameindex function and structure are still not defined in the Android net/if.h header. The compilation fails with: clang

[issue26865] Meta-issue: support of the android platform

2016-10-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: issue #28538: _socket module cross-compilation error on android-24 -- dependencies: +_socket module cross-compilation error on android-24 ___ Python tracker <http://bugs.python.org/issue26

[issue28046] Remove the concept of platform-specific directories

2016-10-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: 'make install' fails to remove the sysconfigdata module from lib-dynload and prints now instead: rm: cannot remove '/path/to/install/lib/python3.7/lib-dynload/_sysconfigdata_m.py': No such file or directory The patch fixes thi

[issue28542] document cross compilation

2016-10-27 Thread Xavier de Gaye
New submission from Xavier de Gaye: Patch adding a section to the README. -- assignee: xdegaye files: readme.patch keywords: patch messages: 279532 nosy: xdegaye priority: normal severity: normal stage: patch review status: open title: document cross compilation type: enhancement

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch taking into account Martin last review and some updated comments. >> Why do you remove the code that loops over Modules/Setup? Maybe is it >> redundant with the other code for removing the already-built-in modules? > Yes because th

[issue28542] document cross compilation

2016-10-27 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- components: +Cross-Build, Documentation nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue28542> ___ ___ Pytho

[issue28528] Pdb.checkline()

2016-10-27 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker <http://bugs.python.org/issue28528> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26939] android: test_functools hangs on armv7

2016-10-28 Thread Xavier de Gaye
Xavier de Gaye added the comment: Patch attached. -- assignee: -> xdegaye components: +Tests -Library (Lib) dependencies: -android: add platform.android_ver() stage: -> patch review versions: +Python 3.7 Added file: http://bugs.python.org/file45249/setswitchinterval

[issue26940] android: test_importlib hangs on armv7

2016-10-28 Thread Xavier de Gaye
Xavier de Gaye added the comment: Adding a dependency to issue 26939. Patch attached. -- assignee: -> xdegaye components: +Tests -Library (Lib) dependencies: +android: test_functools hangs on armv7 keywords: +patch stage: -> patch review versions: +Python 3.7 Added file

[issue26941] android: test_threading hangs on armv7

2016-10-28 Thread Xavier de Gaye
Xavier de Gaye added the comment: Adding a dependency to issue 26939. Patch attached. -- assignee: -> xdegaye components: +Tests -Library (Lib) dependencies: +android: test_functools hangs on armv7 keywords: +patch stage: -> patch review versions: +Python 3.7 Added file

[issue26856] android does not have pwd.getpwall()

2016-10-28 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- assignee: -> xdegaye components: +Tests stage: -> patch review versions: +Python 3.7 ___ Python tracker <http://bugs.python.org/i

[issue26862] android: SYS_getdents64 does not need to be defined on android API 21

2016-10-28 Thread Xavier de Gaye
Xavier de Gaye added the comment: Sorry, AFAIK there is no plan to retrofit the Android changes to 3.5. Note that Python 3.6 is expected to be released in few weeks, by next mid-december. -- ___ Python tracker <http://bugs.python.org/issue26

[issue28503] [Patch] '_crypt' module: fix implicit declaration of crypt(), use crypt_r() where available

2016-10-28 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker <http://bugs.python.org/issue28503> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28546] Better explain setting pdb breakpoints

2016-10-28 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker <http://bugs.python.org/issue28546> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28542] document cross compilation

2016-10-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: > $(cd /path/to/source && pwd)/configure > Why do you use $(pwd) here? 'configure' fails with the following error message when used with '--prefix=../install': configure: error: expected an absolute directory nam

[issue28542] document cross compilation

2016-10-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch. -- Added file: http://bugs.python.org/file45263/readme_2.patch ___ Python tracker <http://bugs.python.org/issue28

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-29 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue28542] document cross compilation

2016-10-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: I have changed my Android build system to use DESTDIR, it is simpler than using 'mount --bind'. Thanks for the suggestion Martin. Here is a new patch adding some text for the Android cross compilation. -- Added file: http://bugs.python.org

[issue26936] android: test_socket fails

2016-10-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch simply skips the statements that fail on Android. -- assignee: -> xdegaye components: +Tests -Cross-Build, Library (Lib) stage: -> patch review versions: +Python 3.7 Added file: http://bugs.python.org/file45278/test_socket

[issue28562] test_asyncio fails on Android upon calling getaddrinfo()

2016-10-30 Thread Xavier de Gaye
New submission from Xavier de Gaye: The error: == ERROR: test_create_connection_service_name (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests

[issue26865] Meta-issue: support of the android platform

2016-10-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: issue #28562: test_asyncio fails on Android upon calling getaddrinfo() -- dependencies: +test_asyncio fails on Android upon calling getaddrinfo() ___ Python tracker <http://bugs.python.org/issue26

[issue26937] the chown() method of the tarfile.TarFile class fails on Android

2016-10-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: The chown() method of the tarfile.TarFile class does not attempt to do a chown when pwd is None, even when numeric_owner is True, and although an attempt is made to fall back to tarinfo.gid when getgrnam() fails, or to tarinfo.uid when getgrnam() fails

[issue28542] document cross compilation

2016-10-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: One must also add '--(en|dis)able-ipv6' to configure, otherwise configure exits with: Fatal: You must get working getaddrinfo() function. or you can specify "--disable-ipv6". The ACTION-IF-CROSS-COMPILING parameter of the AC_RU

[issue28542] document cross compilation

2016-10-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: > The ACTION-IF-CROSS-COMPILING parameter of the AC_RUN_IFELSE that checks for > getaddrinfo is $ac_cv_buggy_getaddrinfo="no -- configured with > --(en|dis)able-ipv6". Hum, I should have written: The ACTION-IF-CROSS-COMPILING parameter o

[issue26936] android: test_socket fails

2016-10-31 Thread Xavier de Gaye
Xavier de Gaye added the comment: Entered https://code.google.com/p/android/issues/detail?id=226677 on the AOSP issue tracker. -- ___ Python tracker <http://bugs.python.org/issue26

[issue28542] document cross compilation

2016-10-31 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch, less verbose and taking into account the previous posts. -- Added file: http://bugs.python.org/file45294/readme_4.patch ___ Python tracker <http://bugs.python.org/issue28

[issue26919] android: test_cmd_line fails

2016-10-31 Thread Xavier de Gaye
Xavier de Gaye added the comment: An interactive session confirms that the problem is indeed with the command line arguments of python invoked by subprocess (and the problem is fixed by the patch): >>> from test.support import FS_NONASCII >>> cmd = "assert(ord(%r) == %

[issue26919] android: test_cmd_line fails

2016-10-31 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- assignee: -> xdegaye components: +Interpreter Core -Cross-Build, Library (Lib) stage: -> commit review versions: +Python 3.7 ___ Python tracker <http://bugs.python.org/i

[issue26919] on Android python fails to decode/encode command line arguments

2016-10-31 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- title: android: test_cmd_line fails -> on Android python fails to decode/encode command line arguments ___ Python tracker <http://bugs.python.org/issu

[issue26920] android: test_sys fails

2016-10-31 Thread Xavier de Gaye
Xavier de Gaye added the comment: For the record, on the Android emulator we have now (not sure where this change has been made): >>> sys.getfilesystemencoding() 'utf-8' >>> locale.getpreferredencoding(False) 'ascii' So test_ioencoding_nonascii succeeds

[issue26920] android: test_sys fails

2016-10-31 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- assignee: -> xdegaye components: +Interpreter Core -Cross-Build, Extension Modules stage: -> commit review versions: +Python 3.7 ___ Python tracker <http://bugs.python.org/i

[issue28589] get error when compile .py file during install stage if cross compile

2016-11-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: msg269617 details how this problem can also be reproduced on 3.6 by cross-building for Android before the issue 27917 that added platform triplets for Android had been fixed. Since the changes in issue 23968 have not be retrofited to 3.5, the same problem

[issue28542] document cross compilation

2016-11-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: About 2.7, this is a list of the issues I am aware of, that may have to be fixed also in 2.7 (and 3.5 for some of them): issues #26884 #27434 #28444 and #22724. Issue #28589 was entered today and is a duplicate of the previous one. > FWIW, DESTDIR, --pre

[issue28596] on Android _bootlocale on startup relies on too many library modules

2016-11-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: Android does not have langinfo.h and this results in _bootlocale importing locale on startup (see issue 26928). IMHO it is not acceptable to fallback to locale.py if CODESET is not available (in answer to Victor question in msg199367), because there are now

[issue26928] _bootlocale imports locale at startup on Android, causing test_site to fail

2016-11-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch fixes test_startup_imports when the platform does not have langinfo.h. Entered new issue 28596: "on Android _bootlocale on startup relies on too many library modules". -- assignee: -> xdegaye components: +Tests -Cross-Build,

[issue26865] Meta-issue: support of the android platform

2016-11-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: issue #28596: on Android _bootlocale on startup relies on too many library modules -- dependencies: +on Android _bootlocale on startup relies on too many library modules ___ Python tracker <http://bugs.python.

[issue26935] android: test_os fails

2016-11-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: This new patch takes into account Martin comment in msg265099 and fixes a call to getpwall() as Android does not have getpwall(). -- assignee: -> xdegaye stage: patch review -> commit review versions: +Python 3.7 Added file: http://bugs.pyth

[issue26931] android: test_distutils fails

2016-11-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: The problem raised in msg264946 has been fixed at changeset 15835311b5e6. This new cross-compiled-skip_2.patch is not specific to Android and fixes test_distutils when the executables used to build the interpreter do not exist on the platform where the test

[issue26926] test_io large file test failure on 32 bits Android platforms

2016-11-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: The tests are run on an ext4 file system. test_large_file_ops does not fail on the x86_64 and arm64 (aka aarch64) Android 64 bits platforms. test_large_file_ops still fails on x86 with the latest Android API level 24 (i.e. the latest released libc). FWIW, the

[issue28610] Provide PDB hook to customize how to find source files

2016-11-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: The lazycache() function of the linecache module meets your request, I think. See the following debugging session using the attached script: $ python -m pdb debug_script.py > /path/to/cwd/debug_script.py(1)() -> def debug_script(script): (Pdb) n > /pa

[issue28610] Provide PDB hook to customize how to find source files

2016-11-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch is an attempt at allowing the source debugging of scripts executed by the Python exec() function. It misses tests and documentation. You may use it using the idiom given in the following example to avoid stepping into the pdb code on the first

[issue28542] document cross compilation

2016-11-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: Yes, I was not aware of DESTDIR. The 2.7 README contains also useful information on the build process, for example about some use cases of the '*shared*' entries in the Setup files (for when setup.py cannot detect/build an extension module) or

[issue26935] android: test_os fails

2016-11-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch. Thanks for the review Martin! -- Added file: http://bugs.python.org/file45368/test_urandom_fd_reopened_3.patch ___ Python tracker <http://bugs.python.org/issue26

[issue26934] android: test_faulthandler fails

2016-11-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: The problem: raise() does not cause the program to exit in a Python interactive session and a spawned Python process exits with 0. Android fixed this problem at API level 24 (Android 6.0 aka Marshmallow). The attached patch fixes this (tested at API levels 21

[issue26855] android: add platform.android_ver()

2016-11-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: ANDROID_API_LEVEL can only be used in the Python test suite and platform.android_ver() must be used in the standard library. The reason why ANDROID_API_LEVEL can be used in the tests instead of using the runtime API level is that the Python test suite purpose

[issue26934] android: test_faulthandler fails

2016-11-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for the suggestion Victor. The decorator may be used in other tests as well, and referring to the concern raised by Chi Hsuan in msg280147 and my answer, it makes it more clear that the build time _android_api_level should not be used in the standard

[issue26934] android: test_faulthandler fails

2016-11-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch following Victor code review. -- Added file: http://bugs.python.org/file45380/buggy_raise_3.patch ___ Python tracker <http://bugs.python.org/issue26

[issue28538] _socket module cross-compilation error on android-24

2016-11-08 Thread Xavier de Gaye
Xavier de Gaye added the comment: Patch attached. -- components: +Cross-Build keywords: +patch nosy: +Alex.Willmer, doko stage: needs patch -> patch review Added file: http://bugs.python.org/file45394/if_nameindex.patch ___ Python tracker &l

[issue28610] Provide PDB hook to customize how to find source files

2016-11-08 Thread Xavier de Gaye
Xavier de Gaye added the comment: This is a simple code object compiled from a source (the string), a module is quite different and more complex. The patch uses a fake module Loader to use linecache, there is no gain in going any further and pulling from the importlib machinery, I think

[issue26934] android: test_faulthandler fails

2016-11-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch. -- Added file: http://bugs.python.org/file45404/buggy_raise_4.patch ___ Python tracker <http://bugs.python.org/issue26

[issue26934] android: test_faulthandler fails

2016-11-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Thanks for your patience :-) No problem, your suggestions and code reviews are always very much welcome :) I will push this patch with the other Android patches after 3.6 is released. The patch at issue 26936 will also use @requires_android_le

[issue26929] android: test_strptime fails

2016-11-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Patch attached. -- assignee: -> xdegaye components: -Cross-Build keywords: +patch stage: -> patch review versions: +Python 3.7 Added file: http://bugs.python.org/file45406/exclude_ymd.patch ___ Python t

[issue26929] android: test_strptime fails

2016-11-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Entered new issue https://code.google.com/p/android/issues/detail?id=227388 on the AOSP issue tracker. -- ___ Python tracker <http://bugs.python.org/issue26

[issue28662] catch also PermissionError in tests when spawning a non existent program

2016-11-10 Thread Xavier de Gaye
New submission from Xavier de Gaye: This is yet another idiosyncrasy of Android, the /sbin directory is in the $PATH of the adb shell used for running the tests on the emulator or on a device connected with usb to the build platform, and /sbin is readable and searchable only by root. For a

[issue28664] test_bz2 fails with BrokenPipeError when bunzip2 is missing

2016-11-11 Thread Xavier de Gaye
New submission from Xavier de Gaye: bunzip2 is missing on Android and the following tests of test_bz2 fail randomly: test_implicit_binary_modes, test_binary_modes and testAppend, with the following backtrace: ERROR: testAppend (test.test_bz2.BZ2FileTest

[issue28664] test_bz2 fails with BrokenPipeError when bunzip2 is missing

2016-11-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: Much better indeed :) With this patch, the test runs fine on Android. I left some minor comments on rietveld. -- ___ Python tracker <http://bugs.python.org/issue28

[issue28668] instanciation of multiprocessing.Queue raises ImportError in test_logging

2016-11-11 Thread Xavier de Gaye
New submission from Xavier de Gaye: Occurs on Android that has a broken shared semaphore implementation (issue 26924). Patch attached. One of the backtraces: == ERROR: test_handle_called_with_mp_queue

[issue26929] android: test_strptime fails

2016-11-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch following Serhiy comments. -- Added file: http://bugs.python.org/file45449/exclude_ymd_2.patch ___ Python tracker <http://bugs.python.org/issue26

[issue26929] android: test_strptime fails

2016-11-12 Thread Xavier de Gaye
Changes by Xavier de Gaye : Added file: http://bugs.python.org/file45456/exclude_ymd_3.patch ___ Python tracker <http://bugs.python.org/issue26929> ___ ___ Python-bug

[issue26929] android: test_strptime fails

2016-11-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks Serhiy for your help with this issue. I will push this patch with the other Android patches after 3.6 is released. -- ___ Python tracker <http://bugs.python.org/issue26

[issue28668] instanciation of multiprocessing.Queue raises ImportError in test_logging

2016-11-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: When the test is to be skipped: * The decorator in the previous patch (a decorator with arguments that takes no argument) returns a decorator which is unittest.skip (to be applied to the test method). * On the other side, the skip_unless_symlink decorator

[issue26934] android: test_faulthandler fails

2016-11-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch using a plain 'requires_raise' decorator without argument. -- Added file: http://bugs.python.org/file45459/buggy_raise_5.patch ___ Python tracker <http://bugs.python.o

[issue26865] Meta-issue: support of the android platform

2016-11-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: issue #28662: catch also PermissionError in tests when spawning a non existent program issue #28664: test_bz2 fails with BrokenPipeError when bunzip2 is missing issue #28668: instanciation of multiprocessing.Queue raises ImportError in test_logging

[issue28668] instanciation of multiprocessing.Queue raises ImportError in test_logging

2016-11-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: IMHO other tests in the future may instantiate multiprocessing.Queue() and come up with another new decorator when the test fails on the (yet to come) Android buildbot, ignoring that one already exists if we move the decorator to the test_logging module

[issue28683] bind() on a unix socket raises PermissionError on Android for a non-root user

2016-11-13 Thread Xavier de Gaye
New submission from Xavier de Gaye: Tests in test_socket and test_asyncore fail on Android when bind() on a unix socket raises PermissionError for a non-root user. This occurs also in test_asyncio and this is logged in a separate issue as asyncio has its own project. Patch attached

[issue26934] android: test_faulthandler fails

2016-11-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: New changeset f37ac1a003f3 in branch 3.6. New changeset 892f13827219 in branch default. -- ___ Python tracker <http://bugs.python.org/issue26

[issue26934] android: test_faulthandler fails

2016-11-13 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2016-11-13 Thread Xavier de Gaye
New submission from Xavier de Gaye: Tests in test_asyncio fail on Android when bind() on a unix socket raises PermissionError for a non-root user. See the attached test_asyncio.log. See also issue 28683 and its patch(es). -- components: Tests, asyncio files: test_asyncio.log messages

[issue26934] android: test_faulthandler fails

2016-11-13 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue26934> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue28662] catch also PermissionError in tests when spawning a non existent program

2016-11-14 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue28668] instanciation of multiprocessing.Queue raises ImportError in test_logging

2016-11-15 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26929] android: test_strptime fails

2016-11-15 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26926] test_io large file test failure on 32 bits Android platforms

2016-11-15 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue26926> ___ ___ Python-bugs-list mai

[issue26920] android: test_sys fails

2016-11-15 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26931] android: test_distutils fails

2016-11-15 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- assignee: -> xdegaye stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue26931> ___ ___ Pyth

[issue26935] android: test_os fails

2016-11-15 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: -android: add platform.android_ver() resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26072] pdb fails to access variables closed over

2016-11-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: It seems that the last patch in issue 21161 fixes all the problems described here, msg 149096 explains why. Can you confirm that this is a duplicate of issue 21161. -- ___ Python tracker <http://bugs.python.

[issue26072] pdb fails to access variables closed over

2016-11-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch fixes the problems raised in this issue and allows accessing the globals at the Pdb prompt with the globals() dictionary: (Pdb) list 1 y = 2 2 3 def f(): 4 y = 9 5 z = 10 6 -> import pdb; pdb.set_trace();

[issue26931] android: test_distutils fails

2016-11-17 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26926] test_io large file test failure on 32 bits Android platforms

2016-11-17 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2016-11-17 Thread Xavier de Gaye
Xavier de Gaye added the comment: With this patch, test_asyncio runs successfully with no ResourceWarning when run on the android-24 emulator. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file45518/test_asyncio_bind.pa

[issue26939] android: test_functools hangs on armv7

2016-11-17 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue26939> ___ ___ Python-bugs-list mai

[issue26940] android: test_importlib hangs on armv7

2016-11-17 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue26940> ___ ___ Python-bugs-list mai

[issue26941] android: test_threading hangs on armv7

2016-11-17 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue26941> ___ ___ Python-bugs-list mai

[issue26928] _bootlocale imports locale at startup on Android, causing test_site to fail

2016-11-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: Patch that follows closely the conditionals in the __bootlocale module. -- stage: patch review -> commit review Added file: http://bugs.python.org/file45530/skip_test_2.patch ___ Python tracker &l

<    11   12   13   14   15   16   17   >