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 displayed
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
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
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_
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
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
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
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*']
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue31114>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
resolution: -> works for me
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue26859>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue26971>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue22724>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue28125>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue28207>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue28542>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue20211>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue29267>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
resolution: -> not a bug
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue32202>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue26855>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue32203>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue13886>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue31046>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue35953>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue26852>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue36145>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue35997>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue36141>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue36125>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue27640>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue36214>
___
___
Pyth
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue36351>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue36361>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue28190>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue28833>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue25172>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
stage: resolved ->
___
Python tracker
<https://bugs.python.org/issue38849>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue38850>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue38851>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue38840>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue38848>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue35813>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue36758>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue36414>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xavier de Gaye added the comment:
Not interested anymore in android stuff.
--
___
Python tracker
<https://bugs.python.org/issue25172>
___
___
Python-bugs-list m
Xavier de Gaye added the comment:
Not interested anymore in android stuff.
--
___
Python tracker
<https://bugs.python.org/issue38850>
___
___
Python-bugs-list m
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
Xavier de Gaye added the comment:
Not interested anymore in android stuff.
--
___
Python tracker
<https://bugs.python.org/issue38851>
___
___
Python-bugs-list m
Xavier de Gaye added the comment:
Not interested anymore in android stuff.
--
___
Python tracker
<https://bugs.python.org/issue38848>
___
___
Python-bugs-list m
Xavier de Gaye added the comment:
Not interested anymore in android stuff.
--
___
Python tracker
<https://bugs.python.org/issue38840>
___
___
Python-bugs-list m
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue38852>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Xavier de Gaye added the comment:
Yes PR GH-17513 does fix the problem.
Thanks Mark.
--
___
Python tracker
<https://bugs.python.org/issue38992>
___
___
Pytho
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
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
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 be
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
Change by Xavier de Gaye :
--
pull_requests: +16901
pull_request: https://github.com/python/cpython/pull/17420
___
Python tracker
<https://bugs.python.org/issue28
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
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
Xavier de Gaye added the comment:
See the android related issue #38852.
--
nosy: +xdegaye
___
Python tracker
<https://bugs.python.org/issue37906>
___
___
Pytho
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
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
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.8
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
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
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
Change by Xavier de Gaye :
--
resolution: fixed ->
stage: resolved -> needs patch
status: closed -> open
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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 p
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
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
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
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
Xavier de Gaye added the comment:
FWIW I checked the Android build after those last changes.
--
___
Python tracker
<https://bugs.python.org/issue21536>
___
___
Xavier de Gaye added the comment:
What do you mean ?
What is "this" ?
--
___
Python tracker
<https://bugs.python.org/issue28971>
___
___
Python-bugs-l
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
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
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +12928
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue35952>
___
___
Py
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +12924
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36747>
___
___
Py
Xavier de Gaye added the comment:
Agreed.
--
___
Python tracker
<https://bugs.python.org/issue36747>
___
___
Python-bugs-list mailing list
Unsubscribe:
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/ &&
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
Change by Xavier de Gaye :
--
pull_requests: +12912
stage: resolved -> patch review
___
Python tracker
<https://bugs.python.org/issue21536>
___
___
Python-
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
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
Change by Xavier de Gaye :
--
resolution: fixed ->
stage: resolved ->
status: closed -> open
versions: +Python 3.7
___
Python tracker
<https://bugs.python.or
Change by Xavier de Gaye :
--
resolution: fixed ->
stage: resolved ->
status: closed -> open
versions: +Python 3.7
___
Python tracker
<https://bugs.python.or
Change by Xavier de Gaye :
--
pull_requests: +12876
___
Python tracker
<https://bugs.python.org/issue16079>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
versions: +Python 3.7
___
Python tracker
<https://bugs.python.org/issue19119>
___
___
Python-bugs-list mailing list
Unsubscribe:
1 - 100 of 1492 matches
Mail list logo