[issue36145] android arm cross compilation fails, config issue

2019-02-28 Thread Xavier de Gaye
Xavier de Gaye added the comment: There is a bug in the implementation of pymonotonic() in Python/pytime.c: The call to pytime_fromtimespec() is not encapsulated by an #ifdef HAVE_CLOCK_GETTIME. @muhzi It seems that your pyconfig.h is generated with configure failing to find the NDK

[issue36145] android arm cross compilation fails, config issue

2019-02-28 Thread Xavier de Gaye
Change by Xavier de Gaye : -- stage: -> needs patch ___ Python tracker <https://bugs.python.org/issue36145> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue36145] android arm cross compilation fails, config issue

2019-02-28 Thread Xavier de Gaye
Xavier de Gaye added the comment: Obviously because you do not tell clang where to find those headers. -- ___ Python tracker <https://bugs.python.org/issue36

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

2019-03-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: @Ross > The intention appears to be that the sysconfig.py in the build is used. In > my case that directory is also full of shared libraries that Python happily > loads, and then fails. No, the intention is that the native python finds the sysc

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

2019-03-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: The cross-compilation rely on the fact that the cross-compiled shared libraries names are constructed using the configure `--host=HOST-TYPE' command line parameter and therefore cannot be loaded by the native compiler that uses a different suffix for

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

2019-03-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: Re-opening and setting the stage as 'needs patch': at least the cross-compilation should fail with a clear message when the cross-built libraries names and those of the native interpreter have the same suffix. > Assuming that you can rely on

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

2019-03-06 Thread Xavier de Gaye
New submission from Xavier de Gaye : When the AC_RUN_IFELSE macro is used as the 'COMMANDS-TO-SET-IT' argument of the AC_CACHE_VAL or AC_CACHE_CHECK macros, it is possible to override the last argument of AC_RUN_IFELSE that is used when cross-compiling and set the variable wit

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

2019-03-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: After changeset e895de3e7f3cc2f7213b87621cfe9812ea4343f0, test_all fails on platforms that lack the _posixshmem extension module (Android for example): == FAIL: test_all (test.test___all__

[issue36341] bind() on AF_UNIX socket may fail in tests run as non-root

2019-03-18 Thread Xavier de Gaye
New submission from Xavier de Gaye : This happens on Android where a SELinux policy prevents a plain user to bind() a pathname AF_UNIX socket (abstract and unnamed sockets are not constrained by this policy). The errors are: test_asyncio

[issue36341] bind() on AF_UNIX socket may fail in tests run as non-root

2019-03-18 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +12354 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36342] test_multiprocessing fails on platforms lacking a functioning sem_open

2019-03-18 Thread Xavier de Gaye
New submission from Xavier de Gaye : test_multiprocessing fails on platforms lacking a functioning sem_open (Android for example) with: == ERROR: test_multiprocessing (test.test_venv.BasicTest

[issue36342] test_venv fails on Android with clang

2019-03-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: You are right, this is a duplicate of bpo-35978. Closing as duplicate. -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed title: test_multiprocessing fails on platforms lacking a functioning sem_open -> tes

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2019-03-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: The new test added by changeset 454b3d4ea246e8751534e105548d141ed7b0b032 fails on Android: == FAIL: test_strftime_trailing_percent (test.datetimetester.TestDate_Pure

[issue36342] test_venv fails on Android with clang

2019-03-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: Too hasty again, remembering now why I linked this failure with sem_open :-( Re-opening this issue as the test does fail because Android lacks a functioning sem_open implementation. And tagging this issue as a dependency of bpo-35978 as we should wait for

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

2019-03-18 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +12368 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

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

2019-03-18 Thread Xavier de Gaye
New submission from Xavier de Gaye : The tests that set the 'ipv6type' variable in configure.ac check the local file system and this may give incorrect values when cross-compiling. For example the /etc/netconfig file exists on Archlinux, and configure sets ipv6type=solaris

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

2019-03-18 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +12370 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue24565] the f_lineno getter is broken

2019-03-18 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +12373 ___ Python tracker <https://bugs.python.org/issue24565> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-03-19 Thread Xavier de Gaye
New submission from Xavier de Gaye : 'configure' cache values are set to pessimistic defaults when cross-compiling. One of the most significant, ac_cv_computed_gotos, is set to 'no' in that case. When ac_cv_computed_gotos is set to 'yes' on platforms that

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

2019-03-19 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +12383 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36342] test_venv failure when the platform lacks a functional sem_open()

2019-03-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: It is a test_venv issue related to bpo-32126 and also related to the other issues listed in bpo-32126. Changing the title as it is ambiguous indeed. check_output() in test_venv.py does not print the full stack trace as it is done by test_asyncio in bpo

[issue35978] test_venv fails in Travis with GCC

2019-03-21 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker <https://bugs.python.org/issue35978> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36342] test_venv failure when executed by test_multiprocessing and the platform lacks a functional sem_open()

2019-03-23 Thread Xavier de Gaye
Xavier de Gaye added the comment: Removing the bpo-35978 dependency as changeset 8bba81fd55873148c65b7d0e6a6effbd63048c76 that fixes bpo-35978 only skips test_multiprocessing when test_venv is run from a venv. -- dependencies: -test_venv fails in Travis with GCC

[issue36342] test_venv failure when executed by test_multiprocessing and the platform lacks a functional sem_open()

2019-03-23 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +12464 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36342> ___ ___ Py

[issue36544] cannot import hashlib when openssl is missing

2019-04-06 Thread Xavier de Gaye
New submission from Xavier de Gaye : Python is built natively in a docker container (based on ubuntu bionic) that lacks openssl. pydev@979e9e009b08:~/build/python-native$ ./python Python 3.8.0a3+ (heads/master-dirty:d6bf6f2, Apr 6 2019, 14:43:30) [GCC 7.3.0] on linux Type "help",

[issue36544] cannot import hashlib when openssl is missing

2019-04-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: Changeset 5ec33a1c25a586552751ca35c85ab7ecb6b06ec3 appends to the new detect_openssl_hashlib() method, the detection for the _sha256, _sha512, _md5, ... extension modules. These modules were detected unconditionnaly before this change and are not detected

[issue36544] cannot import hashlib when openssl is missing

2019-04-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: Working on a PR -- ___ Python tracker <https://bugs.python.org/issue36544> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36544] cannot import hashlib when openssl is missing

2019-04-06 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +12632 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36146] Refactor setup.py

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

[issue36537] except statement block incorrectly assumes end of scope(?).

2019-04-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: This is not a bug. On the first pdb session from the OP: True --Return-- > (5)()->None -> import pdb; pdb.set_trace() (Pdb) print("err" in locals()) False <-- BUG?? Pdb has stopped on a '--Return--' line

[issue36537] except statement block incorrectly assumes end of scope(?).

2019-04-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: @Saim wrote > https://docs.python.org/3/reference/compound_stmts.html#the-try-statement says This is correct, the disassembly of foo.py below demonstrates that point: BEGIN_FINALLY at bytecode index 36 starts the implementation of the 'finally'

[issue36544] cannot import hashlib when openssl is missing

2019-04-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: Steps to reproduce (requires docker support, about 500 MB and only few minutes): 1. Create the file named 'Dockerfile' whose content is: FROM ubuntu RUN apt-get update && DEBIAN_FRONTEND=noninteractive

[issue36544] cannot import hashlib when openssl is missing

2019-04-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: Check that PR 12708 fixes the bug: Run the ubuntu:bpo-36544 image and enters bash as user pydev $ docker run -it ubuntu:bpo-36544 As user pydev, clone python and fetch PR 12708, build python and import hashlib: pydev@e4cfd6f74c2b:~$ git

[issue36537] except statement block incorrectly assumes end of scope(?).

2019-04-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: The *** Tracing *** section [1] of Objects/lnotab_notes.txt in the cpython repository provides detailed explanations for when the line trace function is called. [1] https://github.com/python/cpython/blob/9d7b2c0909b78800d1376fd696f73824ea680463/Objects

[issue24565] the f_lineno getter is broken

2019-04-08 Thread Xavier de Gaye
Xavier de Gaye added the comment: Fixed a bug in the implementation of PR 12419 while running the coverage.py test suite: f_lineno must be valid upon 'call' trace events. The confusion stems from the reason why until now we have prevented line jumps from 'call' tra

[issue36559] "import random" should import hashlib on demand (nor load OpenSSL)

2019-04-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: > You could also use the internal _sha512 module. It's always present This is not true at the moment, the _sha512 module is not present when openssl is missing. This is a bug in setup.py that prevents building the _sha512 module when openssl is miss

[issue36544] cannot import hashlib when openssl is missing

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

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

2019-04-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: FWIW PR 12708 has been merged. -- ___ Python tracker <https://bugs.python.org/issue36414> ___ ___ Python-bugs-list mailin

[issue36544] cannot import hashlib when openssl is missing

2019-04-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks Victor for the refactoring of setup.py. That was badly needed indeed. -- ___ Python tracker <https://bugs.python.org/issue36

[issue19417] Bdb: add a unittest file (test.test_bdb)

2019-04-12 Thread Xavier de Gaye
Change by Xavier de Gaye : -- dependencies: -Bdb: add docstrings resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36537] except statement block incorrectly assumes end of scope(?).

2019-04-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Now, I need to *inconveniently* put some dummy code after the ser_trace call > every time I want to access the exception inside the except block Knowing that pdb stops just before the interpreter executes the line after pdb.set_trace(), what preven

[issue19113] duplicate test names in Lib/ctypes/test/test_functions.py

2019-04-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: Still fails on Python 3.8.0a3+. -- ___ Python tracker <https://bugs.python.org/issue19113> ___ ___ Python-bugs-list mailin

[issue16079] list duplicate test names with patchcheck

2019-04-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: Upgrading the script to account for Python changes. This is now duplicate_code_names_3.py $ ./python ./duplicate_code_names_3.py --ignore ignored_duplicates Lib/test Duplicate method names: Lib/test/test_dataclasses.py:1406

[issue22991] test_gdb leaves the terminal in raw mode with gdb 7.8.1

2019-04-13 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue23768] assert on getting the representation of a thread in atexit function

2019-04-13 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36630] failure of test_colors_funcs in test_curses with ncurses 6.1

2019-04-14 Thread Xavier de Gaye
New submission from Xavier de Gaye : ncurses version: 6.1 TERM: screen-256color $ ./python -m test -u curses test_curses Run tests sequentially 0:00:00 load avg: 0.55 [1/1] test_curses test test_curses failed -- Traceback (most recent call last): File "/path/to/Lib/test/test_curses.py&q

[issue27326] SIGSEV in test_window_funcs of test_curses

2019-04-14 Thread Xavier de Gaye
Xavier de Gaye added the comment: Cannot reproduce the crash with Python 3.7.3 on ncurses 6.1. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue16079] list duplicate test names with patchcheck

2019-04-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: False positives must be added to the 'ignored_duplicates' file in order to have duplicate_code_names.py exit with success. Not sure whether this may be considered as an annoyance by commiters, if TRAVIS would fail when duplicate_code_names.py f

[issue16079] list duplicate test names with patchcheck

2019-04-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for the link Gregory. I will write a script based on ast and check its output against pylint and against the current script based on tokenize. The travis() function of Tools/scripts/patchcheck.py may be modified to import this script and run it only

[issue36678] duplicate method definitions in Lib/test/test_dataclasses.py

2019-04-20 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following methodes are duplicates: Lib/test/test_dataclasses.py:700 TestCase.test_not_tuple Lib/test/test_dataclasses.py:1406 TestCase.test_helper_asdict_builtin_containers Lib/test/test_dataclasses.py:1579

[issue36679] duplicate method definition in Lib/test/test_genericclass.py

2019-04-20 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following method is a duplicate: Lib/test/test_genericclass.py:161 TestClassGetitem.test_class_getitem -- components: Library (Lib) messages: 340579 nosy: xdegaye priority: normal severity: normal stage: needs patch

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

2019-04-20 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following method is a duplicate: Lib/test/test_importlib/test_util.py:755 PEP3147Tests.test_source_from_cache_path_like_arg -- components: Library (Lib) messages: 340580 nosy: xdegaye priority: normal severity

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

2019-04-20 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following method is a duplicate: Lib/test/test_logging.py:328 BuiltinLevelsTest.test_regression_29220 -- components: Library (Lib) messages: 340581 nosy: xdegaye priority: normal severity: normal stage: needs patch

[issue36682] duplicate method definitions in Lib/test/test_sys_setprofile.py

2019-04-20 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following methods are duplicates: Lib/test/test_sys_setprofile.py:354 ProfileSimulatorTestCase.test_unbound_method_no_args Lib/test/test_sys_setprofile.py:363 ProfileSimulatorTestCase.test_unbound_method_invalid_args

[issue36683] duplicate method definition in Lib/test/test_utf8_mode.py

2019-04-20 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following method is a duplicate: Lib/test/test_utf8_mode.py: UTF8ModeTests.test_io_encoding -- components: Library (Lib) messages: 340583 nosy: xdegaye priority: normal severity: normal stage: needs patch status

[issue16079] list duplicate test names with patchcheck

2019-04-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: List of issues entered for all the current duplicate method definitions: #19113 #19119 #36678 #36679 #36680 #36681 #36682 #36683 -- ___ Python tracker <https://bugs.python.org/issue16

[issue16079] list duplicate test names with patchcheck

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

[issue16079] list duplicate test names with patchcheck

2019-04-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: PR 12886 adds a check on duplicate method definitions to the travis() function of patchcheck.py. False positives must be entered to Tools/scripts/duplicates_ignored.txt. The existing duplicates have been entered to this file (with the corresponding bpo

[issue36712] duplicate method definition in Lib/email/test/test_email_renamed.py

2019-04-24 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following method is a duplicate: Lib/email/test/test_email_renamed.py:521 TestEncoders.test_default_cte -- components: Library (Lib) messages: 340781 nosy: xdegaye priority: normal severity: normal stage: needs patch

[issue36711] duplicate method definition in Lib/email/feedparser.py

2019-04-24 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following method is a duplicate: Lib/email/feedparser.py:140 BufferedSubFile.pushlines -- components: Library (Lib) messages: 340778 nosy: xdegaye priority: normal severity: normal stage: needs patch status: open

[issue19113] duplicate test names in Lib/ctypes/test/test_functions.py

2019-04-24 Thread Xavier de Gaye
Change by Xavier de Gaye : -- versions: +Python 2.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue19113> ___ ___ Python-bug

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

2019-04-24 Thread Xavier de Gaye
Change by Xavier de Gaye : -- versions: +Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue19119> ___ ___ Python-bugs-list m

[issue36713] uplicate method definition in Lib/ctypes/test/test_unicode.py

2019-04-24 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following method is a duplicate: Lib/ctypes/test/test_unicode.py:110 StringTestCase.test_ascii_replace -- components: Library (Lib) messages: 340782 nosy: xdegaye priority: normal severity: normal stage: needs patch

[issue16079] list duplicate test names with patchcheck

2019-04-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: List of issues entered for all the current duplicate method definitions in 2.7: #19113 #36711 #36712 #36713 -- ___ Python tracker <https://bugs.python.org/issue16

[issue16079] list duplicate test names with patchcheck

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

[issue16079] list duplicate test names with patchcheck

2019-04-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not sure the unittest module is the right place to implement these checks. The following issues deal with duplicates that are not unittest methods: #19127 #19128 #36711 -- ___ Python tracker <ht

[issue36679] duplicate method definition in Lib/test/test_genericclass.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

[issue19113] duplicate test names in Lib/ctypes/test/test_functions.py

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

[issue36678] duplicate method definitions in Lib/test/test_dataclasses.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

[issue36683] duplicate method definition in Lib/test/test_utf8_mode.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

[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:

[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:

[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

[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

[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/p

[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 with

[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: 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 $ pytho

[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/ &&

[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-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

[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

[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

[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

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-01-17 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +5070 ___ Python tracker <https://bugs.python.org/issue19417> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-01-17 Thread Xavier de Gaye
Xavier de Gaye added the comment: PR 5217 adds the test.test_bdb module and provides a framework for adding more tests to the bdb module. Added versions 3.6 and 2.7. This is consistent with what was done in issues #21916 and #25616 for example, but the main reason is that most bdb bug fixes

[issue32430] Simplify Modules/Setup{,.dist,.local}

2018-01-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: I fully concur with all points in Victor msg310345. -- ___ Python tracker <https://bugs.python.org/issue32430> ___ ___ Pytho

[issue32430] Simplify Modules/Setup{,.dist,.local}

2018-01-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: A solution to this issue must deal with the following use case: A developer has made changes to Modules/Setup and is tracking these changes in a VCS, for example with mercurial or with a git submodule through a symlink. By the time he is about to pull the

[issue32637] Android: set sys.platform to android

2018-01-25 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker <https://bugs.python.org/issue32637> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: Those are the changes with the current behavior from the behavior in 3.5 observed at the time of the initial bug report: python 3.7: return.pyUnchanged. exception.py After a jump from the 'exception' event into the previous stat

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +5699 ___ Python tracker <https://bugs.python.org/issue17288> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: Added PR 5928 for the 3.7 branch. -- ___ Python tracker <https://bugs.python.org/issue17288> ___ ___ Python-bugs-list mailin

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: Yes, rebase fails merging two changes in Objects/frameobject.c. I can write another PR for master if you want. -- ___ Python tracker <https://bugs.python.org/issue17

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: Actually $ git rebase --onto master 3.7 bpo-17288 fails with one single change in Objects/frameobject.c and one simply needs to (as I have tested it) remove all the three confict markers in this file and remove the following two lines that were enclosed

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: xdegaye wrote: > An explanation should be given for the behavior of 3.7 and 3.8 in the jump.py > case. In 3.7 when running jump.py as in msg183254, Python aborts with a frame stack overflow. The reason is that when the generator is resumed after th

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-03-08 Thread Xavier de Gaye
Xavier de Gaye added the comment: Sorry, for some reason github did not send me the emails of your review and I did not think about checking the PR :-( Thanks for your review, I will work on it shortly. -- ___ Python tracker <ht

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-03-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: Serhiy, I have updated the tests for using the jump_test() decorator and replied to your comment about RETURN_VALUE. -- ___ Python tracker <https://bugs.python.org/issue17

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-03-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: In PR 5928 Serhiy Storchaka wrote: > Great! Could you please create a backport to master? Yes. I prefer to answer in the issue as I am still not getting any mail from github. -- ___ Python tracker <

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-03-13 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +5870 ___ Python tracker <https://bugs.python.org/issue17288> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-03-13 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +5874 ___ Python tracker <https://bugs.python.org/issue17288> ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2   3   4   5   6   7   8   9   10   >