[issue40403] pdb does not drop into debugger upon SyntaxError caused by ast.literal_eval

2020-06-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Perhaps we should should test whether the exception happened there and not > drop in the debugger in that case? The same kind of problem occurs for any post-mortem debugging raised by an uncaught exception in the user code: the backtrace dis

[issue40403] pdb does not drop into debugger upon SyntaxError caused by ast.literal_eval

2020-06-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: In Kerrick's example ast.literal_eval('') could be ast.literal_eval(some_code) instead where some_code is a string containing dynamically generated Python code. pdb post-mortem debugging must allow finding the syntax error in this code. The patch proposed

[issue22699] Module source files not found when cross-compiling

2020-03-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Is that epic line automatically generated? When cross compiling it is generated by the configure script and configure replaces the right hand side of "PYTHON_FOR_BUILD=@PYTHON_FOR_BUILD@" of Makefile.pre.in with the generated value into Mak

[issue22699] Module source files not found when cross-compiling

2020-03-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: Steve wrote: > In my build, I've set PYTHON_FOR_BUILD=python3.8 This will not work, PYTHON_FOR_BUILD when cross-compiling is set by configure as: PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATF

[issue39430] tarfile.open(mode="r") race condition when importing lzma

2020-01-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: This fixed the bug. To reproduce the bug, substitute the "from _lzma import *" statement with "raise ImportError" in Lib/lzma.py to simulate that the _lzma module is missing and run the test.py script written an

[issue39430] tarfile.open(mode="r") race condition when importing lzma

2020-01-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: In msg360620 Serhiy wrote: > When the interpreter encounters "import foo" in bar.py, the import machinery > takes the module foo from sys.modules. > So you break an infinite cycle and can import modules with cyclic > dependencies. The

[issue22724] byte-compile fails for cross-builds

2020-01-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: PYTHON_FOR_BUILD does not use PYTHONPATH in the implementation of (closed) PR 17420 and should fix the current issue as a side effect. FWIW, PR 17420 fixes cross-compilation of third-party extension modules by replacing the complex PYTHON_FOR_BUILD command

[issue39052] import error when in python -m pdb debug mode

2019-12-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: As a workaround insert the following hard-coded breakpoint before the import statement and run your script with python, i.e. 'python myhome.py' instead of 'python -m pdb myhome.p'. from pdb import Pdb; Pdb(skip=['importlib*']).set_trace() -- nosy

[issue31114] 'make install' fails when the configure 'prefix' is '/' and DESTDIR is used

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue31114> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30386] Add a build infrastructure for Android

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> works for me stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue26859] unittest fails with "Start directory is not importable" when trying to run sourceless tests

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue26859> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26971] python v3.5.1: sys.paths not respecting DESTDIRS and DESTSHARED

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue26971> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22724] byte-compile fails for cross-builds

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue22724> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28125] identify cross builds by a more generic environment setting.

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue28125> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28207] Use pkg-config to find dependencies

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue28207> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28542] document cross compilation

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue28542> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20211] setup.py: do not add system header locations when cross compiling

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue20211> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29267] Cannot override some flags in CFLAGS from the command-line

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue29267> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32461] the first build after a change to Makefile.pre.in uses the old Makefile

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> not a bug stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32202] [ctypes] all long double tests fail on android-24-x86_64

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue32202> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26855] android: add platform.android_ver()

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue26855> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32203] [ctypes] test_struct_by_value fails on android-24-arm64

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue32203> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13886] readline-related test_builtin failure

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue13886> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31046] ensurepip does not honour the value of $(prefix)

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue31046> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35953] crosscompilation fails with clang on android

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue35953> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26852] add the '--enable-sourceless-distribution' option to configure

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue26852> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36145] android arm cross compilation fails, config issue

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue36145> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35997] ImportError: dlopen failed: cannot locate symbol "PyBool_Type"

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue35997> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36141] configure: error: could not find pthreads on your system during cross compilation

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue36141> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36125] Cannot cross-compile to more featureful but same tune

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue36125> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27640] add the '--disable-test-suite' option to configure

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue27640> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36214] AC_RUN_IFELSE macros not used as arguments of AC_CACHE_VAL et al

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue36214> ___ ___ Pyth

[issue36351] the ipv6type variable in configure.ac may be set incorrectly when cross-compiling

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue36351> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36361] generate correct pyconfig.h when cross-compiling

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue36361> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28190] Cross-build _curses failed if host ncurses headers and target ncurses headers have different layouts

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue28190> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28833] cross compilation of third-party extension modules

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue28833> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25172] Unix-only crypt should not be present on Windows.

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue25172> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38849] test_timestamp_naive fails on android

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- stage: resolved -> ___ Python tracker <https://bugs.python.org/issue38849> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue38850] test_largefile fails on android

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue38850> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38851] UDPLITE tests fail on android

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue38851> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38840] incorrect __all__ list in multiprocessing.managers module

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue38840> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38848] compileall fails when the platform lacks a functional sem_open()

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue38848> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35813] shared memory construct to avoid need for serialization between processes

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue35813> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36758] configured libdir not correctly passed to Python executable

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue36758> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36414] Multiple test failures in GCC and Clang optional builds on Travis CI

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue36414> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25172] Unix-only crypt should not be present on Windows.

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- ___ Python tracker <https://bugs.python.org/issue25172> ___ ___ Python-bugs-list m

[issue38850] test_largefile fails on android

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- ___ Python tracker <https://bugs.python.org/issue38850> ___ ___ Python-bugs-list m

[issue38849] test_timestamp_naive fails on android

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue38851] UDPLITE tests fail on android

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- ___ Python tracker <https://bugs.python.org/issue38851> ___ ___ Python-bugs-list m

[issue38848] compileall fails when the platform lacks a functional sem_open()

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- ___ Python tracker <https://bugs.python.org/issue38848> ___ ___ Python-bugs-list m

[issue38840] incorrect __all__ list in multiprocessing.managers module

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- ___ Python tracker <https://bugs.python.org/issue38840> ___ ___ Python-bugs-list m

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue38852> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38949] incorrect prefix, exec_prefix in distutils.command.install

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: get_config_vars() defined in distutils.sysconfig sets 'prefix' and 'exec_prefix' using sys.prefix (resp. sys.exec_prefix) on non nt platforms so there is no problem. Closing the issue as not a bug. -- resolution: -> not a bug stage: needs pa

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Yes PR GH-17513 does fix the problem. Thanks Mark. -- ___ Python tracker <https://bugs.python.org/issue38992> ___ ___ Pytho

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-07 Thread Xavier de Gaye
Change by Xavier de Gaye : Added file: https://bugs.python.org/file48763/foo.arm64 ___ Python tracker <https://bugs.python.org/issue38992> ___ ___ Python-bugs-list mailin

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-07 Thread Xavier de Gaye
New submission from Xavier de Gaye : Title: testFsum failure caused by constant folding of a float expression Description: Python (Python 3.9.0a1+ heads/master-dirty:ea9835c5d1) is built on a Linux x86_64. This native interpreter is used to cross-compile Python (using the same

[issue38949] incorrect prefix, exec_prefix in distutils.command.install

2019-12-01 Thread Xavier de Gaye
New submission from Xavier de Gaye : In function finalize_options() of Lib/distutils/command/install.py at https://github.com/python/cpython/blob/575d0b46d122292ca6e0576a91265d7abf7cbc3d/Lib/distutils/command/install.py#L284 (prefix, exec_prefix) is set using get_config_vars(). This may

[issue28833] cross compilation of third-party extension modules

2019-11-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: PR 17420 fixes cross-compilation of third-party extension modules. The PYTHON_PROJECT_BASE environment variable is the path to the directory where Python has been cross-compiled. It is used by the native python interpreter to find the target sysconfigdata

[issue28833] cross compilation of third-party extension modules

2019-11-30 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +16901 pull_request: https://github.com/python/cpython/pull/17420 ___ Python tracker <https://bugs.python.org/issue28

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-11-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: Using test and try with _thread.stack_size(new_size), the pthread stack sizes must be set to the following minimums to prevent stack overflow and get a RecursionError: * debug builds:7 Mb * no-debug builds: 1 Mb The default stack size for the main

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-11-22 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +16821 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17337 ___ Python tracker <https://bugs.python.org/issu

[issue37906] FreeBSD: test_threading: test_recursion_limit() crash with SIGSEGV and create a coredump

2019-11-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: See the android related issue #38852. -- nosy: +xdegaye ___ Python tracker <https://bugs.python.org/issue37906> ___ ___ Pytho

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-11-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: The crash occurs only on debug builds. See the FreeBSD related issue #37906. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38848] compileall fails when the platform lacks a functional sem_open()

2019-11-20 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +16792 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17300 ___ Python tracker <https://bugs.python.org/issu

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

2019-11-20 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker <https://bugs.python.or

[issue38848] compileall fails when the platform lacks a functional sem_open()

2019-11-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: Changing the title to "compileall fails when the platform lacks a functional sem_open()" as the problem lies in the compileall module itself. Nosying Antoine as the author of issue #36786. compileall fails on android API 24: generic_x86_64:/data

[issue38840] incorrect __all__ list in multiprocessing.managers module

2019-11-20 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +16788 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17296 ___ Python tracker <https://bugs.python.org/issu

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

2019-11-20 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +16787 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17294 ___ Python tracker <https://bugs.python.org/issu

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-11-19 Thread Xavier de Gaye
New submission from Xavier de Gaye : Actually it is the script that is spawned by test_recursion_limit that crashes with SIGSEGV on android API 24. Lowering the recursion limit in the script from 1000 to 100 with sys.setrecursionlimit() fixes the problem. Here is the error: generic_x86_64

[issue38851] UDPLITE tests fail on android

2019-11-19 Thread Xavier de Gaye
New submission from Xavier de Gaye : Attached test_socket.txt is the output of running 'python -m test -v test_socket' on android API 24. The 108 tests in error are UDPLITE tests introduced in issue #37345. -- components: Tests files: test_socket.txt messages: 356985 nosy: asvetlov

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

2019-11-19 Thread Xavier de Gaye
Xavier de Gaye added the comment: No, it is the SELinux configuration on android devices that forbids binds to named UNIX sockets. Changing from a named UNIX socket to an unnamed UNIX socket would fix the problem. I don't know if all platforms support unnamed UNIX sockets. The fix in issue

[issue38850] test_largefile fails on android

2019-11-19 Thread Xavier de Gaye
New submission from Xavier de Gaye : The failure on andoid API 24: generic_x86_64:/data/local/tmp/python $ python -m test -v test_largefile -m test_it == CPython 3.9.0a0 (heads/abifa-dirty:cf805c25e6, Nov 18 2019, 16:40:26) [Clang 8.0.2 (https://andro id.googlesource.com/toolchain/clang

[issue38849] test_timestamp_naive fails on android

2019-11-19 Thread Xavier de Gaye
New submission from Xavier de Gaye : test_timestamp_naive of test_datetime fails on android API 24: generic_x86_64:/data/local/tmp/python $ python -m test -v test_datetime -m test_timestamp_naive == CPython 3.9.0a0 (heads/abifa-dirty:cf805c25e6, Nov 18 2019, 16:40:26) [Clang 8.0.2 (https

[issue25172] Unix-only crypt should not be present on Windows.

2019-11-19 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: fixed -> stage: resolved -> needs patch status: closed -> open ___ Python tracker <https://bugs.python.or

[issue38848] test_compileall fails when the platform lacks a functional sem_open()

2019-11-19 Thread Xavier de Gaye
New submission from Xavier de Gaye : See also the related issues: #32126: [asyncio] test failure when the platform lacks a functional sem_open() #28668: instanciation of multiprocessing.Queue raises ImportError in test_logging The test failure on android API 24: generic_x86_64:/data/local

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

2019-11-18 Thread Xavier de Gaye
New submission from Xavier de Gaye : This is the same kind of issue as reported in #28684. python -m test -v test_asyncio -m test_create_datagram_endpoint_existing_sock_unix == CPython 3.9.0a0 (heads/abifa-dirty:cf805c25e6, Nov 18 2019, 16:40:26) [Clang 8.0.2 (https://andro

[issue38840] incorrect __all__ list in multiprocessing.managers module

2019-11-18 Thread Xavier de Gaye
New submission from Xavier de Gaye : On android which is a platform that is missing the shared memory implementation, test___all__ fails because 'multiprocessing.managers' has no attribute 'SharedMemoryManager' which is listed in __all__. 2|generic_x86_64:/data/local/tmp/python $ python

[issue25172] Unix-only crypt should not be present on Windows.

2019-11-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: test_crypt fails on android following last changes made at 243a73deee4ac61fe06602b7ed56b6df01e19f27. The android libc does not have a crypt() function and the _crypt module is not built. generic_x86_64:/data/local/tmp/python $ python Python 3.9.0a0 (heads

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

2019-10-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: According to my last post on this issue 2 years ago, this test "does not fail on android-24-x86_64". This means that it does not fail on API level 24. IMO the issue may be closed. -- ___ Python track

[issue37011] pdb: restore original tracing function instead of sys.settrace(None)

2019-05-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: The main goal of test coverage is to verify that the tests cover the code that is being tested, it is not to get '100 %' printed. Measuring the coverage of the tests themselves is entirely another matter and not very useful. Since it is not possible

[issue37011] pdb: restore original tracing function instead of sys.settrace(None)

2019-05-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Is getting accurate coverage reports not enough? But it does not achieve that goal, does it ? -- ___ Python tracker <https://bugs.python.org/issu

[issue37011] pdb: restore original tracing function instead of sys.settrace(None)

2019-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Would it work to store it on the class then (once)? A motivation for this change should be provided first: the incorrect behavior it is trying to fix or the enhancement it is providing. -- ___ Python trac

[issue37011] pdb: restore original tracing function instead of sys.settrace(None)

2019-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: > While typically pdb is not used in tests, it is just good practice, given > that there can only be a single trace function. IMO invoking "good practice" is not sufficient to motivate such a change. The proposed change is not backward comp

[issue36954] test_recursive_repr breaks tracing in test_xml_etree

2019-05-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: @gphemsley Can you please provide the output of running test_xml_etree with tracing. -- nosy: +xdegaye ___ Python tracker <https://bugs.python.org/issue36

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-05-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: FWIW I checked the Android build after those last changes. -- ___ Python tracker <https://bugs.python.org/issue21536> ___ ___

[issue28971] nntplib is broken when responses are longer than _MAXLINE

2019-05-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: What do you mean ? What is "this" ? -- ___ Python tracker <https://bugs.python.org/issue28971> ___ ___ Python-bugs-l

[issue36758] configured libdir not correctly passed to Python executable

2019-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: I can reproduce the problem. The Makefile uses LIBDIR as set by configure to install the libraries and this is not consistent with Modules/getpath.c that finds the locations of the libraries (see the detailed comments at the top of the source file) without

[issue35952] test.pythoninfo prints a stack trace and exits with 1 when the compiler does not exist

2019-04-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: Attached pythoninfo_api_24.txt, the output of pythoninfo for Android API 24 with PR 13007. -- nosy: +vstinner Added file: https://bugs.python.org/file48290/pythoninfo_api_24.txt ___ Python tracker <ht

[issue35952] test.pythoninfo prints a stack trace and exits with 1 when the compiler does not exist

2019-04-29 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +12928 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35952> ___ ___ Py

[issue36747] Tools/scripts/setup.py is missing

2019-04-29 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +12924 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36747> ___ ___ Py

[issue36747] Tools/scripts/setup.py is missing

2019-04-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: Agreed. -- ___ Python tracker <https://bugs.python.org/issue36747> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36747] Tools/scripts/setup.py is missing

2019-04-28 Thread Xavier de Gaye
New submission from Xavier de Gaye : The 'scriptsinstall' Makefile target runs the $(srcdir)/Tools/scripts/setup.py script that does not exist anymore. It has been removed by changeset d3f467ac7441a100eb26412424c2dd96ec3ceb67 (found after running 'cd Tools/scripts/ && git log --diff-

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: PR 12989 fixes the Android issue and has been checked on the Android emulator at API 24. Python is cross-compiled with '--enable-shared' and the python-config scripts give the expected result: generic_x86_64:/data/local/tmp/python/bin $ python -c "

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-27 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +12912 stage: resolved -> patch review ___ Python tracker <https://bugs.python.org/issue21536> ___ ___ Python-

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for fixing the regression Victor. Here is another potential problem. On Android API 24 built with NDK r19, symbol resolution fails in the _socket shared library after changeset 8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b when python is built

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: Please revert the change in Makefile.pre.in made by changeset 8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b as it breaks builds made out of the source tree (OST). The error message is: make: *** No rule to make target '/path_to_build_dir/Misc/python

[issue36680] duplicate method definition in Lib/test/test_importlib/test_util.py

2019-04-25 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: fixed -> stage: resolved -> status: closed -> open versions: +Python 3.7 ___ Python tracker <https://bugs.python.or

[issue36681] duplicate method definition in Lib/test/test_logging.py

2019-04-25 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: fixed -> stage: resolved -> status: closed -> open versions: +Python 3.7 ___ Python tracker <https://bugs.python.or

[issue16079] list duplicate test names with patchcheck

2019-04-25 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +12876 ___ Python tracker <https://bugs.python.org/issue16079> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19119] duplicate test name in Lib/test/test_heapq.py

2019-04-25 Thread Xavier de Gaye
Change by Xavier de Gaye : -- versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue19119> ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   3   4   5   6   7   8   9   10   >