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
Change by Xavier de Gaye :
--
stage: -> needs patch
___
Python tracker
<https://bugs.python.org/issue36145>
___
___
Python-bugs-list mailing list
Unsubscrib
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
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
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
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
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
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__
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
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +12354
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
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
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
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
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
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +12368
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
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
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +12370
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Xavier de Gaye :
--
pull_requests: +12373
___
Python tracker
<https://bugs.python.org/issue24565>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +12383
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
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
Change by Xavier de Gaye :
--
nosy: +xdegaye
___
Python tracker
<https://bugs.python.org/issue35978>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +12464
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36342>
___
___
Py
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",
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
Xavier de Gaye added the comment:
Working on a PR
--
___
Python tracker
<https://bugs.python.org/issue36544>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +12632
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Xavier de Gaye :
--
pull_requests: +12633
___
Python tracker
<https://bugs.python.org/issue36146>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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'
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
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
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
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
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
Change by Xavier de Gaye :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Xavier de Gaye added the comment:
FWIW PR 12708 has been merged.
--
___
Python tracker
<https://bugs.python.org/issue36414>
___
___
Python-bugs-list mailin
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
Change by Xavier de Gaye :
--
dependencies: -Bdb: add docstrings
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Xavier de Gaye added the comment:
Still fails on Python 3.8.0a3+.
--
___
Python tracker
<https://bugs.python.org/issue19113>
___
___
Python-bugs-list mailin
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
Change by Xavier de Gaye :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Xavier de Gaye :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
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
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
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
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
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
Change by Xavier de Gaye :
--
pull_requests: +12812
___
Python tracker
<https://bugs.python.org/issue16079>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
Change by Xavier de Gaye :
--
pull_requests: +12864
___
Python tracker
<https://bugs.python.org/issue16079>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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 :
--
versions: +Python 3.7
___
Python tracker
<https://bugs.python.org/issue19113>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 :
--
versions: +Python 3.7
___
Python tracker
<https://bugs.python.org/issue19119>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 :
--
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
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
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
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:
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
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:
Agreed.
--
___
Python tracker
<https://bugs.python.org/issue36747>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +12924
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36747>
___
___
Py
Change by Xavier de Gaye :
--
keywords: +patch
pull_requests: +12928
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue35952>
___
___
Py
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
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
Change by Xavier de Gaye :
--
pull_requests: +5070
___
Python tracker
<https://bugs.python.org/issue19417>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Xavier de Gaye added the comment:
I fully concur with all points in Victor msg310345.
--
___
Python tracker
<https://bugs.python.org/issue32430>
___
___
Pytho
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
Change by Xavier de Gaye :
--
nosy: -xdegaye
___
Python tracker
<https://bugs.python.org/issue32637>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Xavier de Gaye :
--
pull_requests: +5699
___
Python tracker
<https://bugs.python.org/issue17288>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
<
Change by Xavier de Gaye :
--
pull_requests: +5870
___
Python tracker
<https://bugs.python.org/issue17288>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Xavier de Gaye :
--
pull_requests: +5874
___
Python tracker
<https://bugs.python.org/issue17288>
___
___
Python-bugs-list mailing list
Unsubscribe:
201 - 300 of 1492 matches
Mail list logo