[issue26945] difflib.HtmlDiff().make_file() treat few change as whole line change

2016-05-04 Thread Fairuz Zack
New submission from Fairuz Zack: html diff threat 2.011 as whole line added instead of only "11" is changed. example file i want to diff is under bug_report.txt. seems the diff not reasonable for other line in the txt as well. -- components: Library (Lib) files: bug_report.txt

[issue26919] android: test_cmd_line fails

2016-05-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: There is a related issue #4388 although different, and issue #22747 may also be related. -- nosy: +haypo ___ Python tracker

[issue26926] Large files are not supported on Android

2016-05-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: On android x86: >>> import resource >>> resource.setrlimit(resource.RLIMIT_FSIZE, (2**31, 2**31)) Traceback (most recent call last): File "", line 1, in OverflowError: Python int too large to convert to C long >>> resource.setrlimit(resource.RLIMIT_FSIZE,

[issue26926] Large files are not supported on Android

2016-05-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: The relevant part of the output of configure on x86: checking size of int... 4 checking size of long... 4 checking size of void *... 4 checking size of short... 2 checking size of float... 4 checking size of double... 8 checking size of fpos_t... 4 checking

[issue26826] Expose new copy_file_range() syscall in os module.

2016-05-04 Thread Marcos Dione
Marcos Dione added the comment: Sorry for the delay. Based on suggestions in the mailing list, I changed the *count* handling as if it were a ssize_t, and I added a note about ignored output parameters. -- title: Expose new copy_file_range() syscal in os module. -> Expose new

[issue26924] android: test_concurrent_futures fails

2016-05-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: On android: root@generic_x86:/data/local/tmp # python Python 3.6.0a0 (default:811ccdee6f87+, May 4 2016, 10:31:14) [GCC 4.9 20140827 (prerelease)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from _multiprocessing import

[issue26873] xmlrpclib raises when trying to convert an int to string when unicode is available

2016-05-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0d015f6aba8b by Serhiy Storchaka in branch '3.5': Issue #26873: xmlrpc now raises ResponseError on unsupported type tags https://hg.python.org/cpython/rev/0d015f6aba8b New changeset 8f7cb3b171f3 by Serhiy Storchaka in branch 'default': Issue

[issue26873] xmlrpclib raises when trying to convert an int to string when unicode is available

2016-05-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue26932] RTLD_* macros are not defined on Android

2016-05-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Xavier, please check that issues with ctypes and threading are not gone. No ctypes still crashes and threading still hangs. -- ___ Python tracker

[issue26944] android: test_posix fails

2016-05-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See more information in comments in issue26932. Since the id tool looks fixed in Android 6.x we should skip the test on Android <6.x. -- components: +Tests -Cross-Build, Library (Lib) dependencies: +android: add platform.android_ver() nosy:

[issue26944] android: test_posix fails

2016-05-04 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_posix fails on an android emulator running an x86 system image at API level 21. On android we have instead of a list of group IDs: root@generic_x86:/data/local/tmp # id -G uid=0(root) gid=0(root)

[issue26922] build from fresh checkout fails

2016-05-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue26932] RTLD_* macros are not defined on Android

2016-05-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: > I will enter a separate issue for test_getgroups and reference it here as > well as in issue #26865. issue #26944: android: test_posix fails. -- ___ Python tracker

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

2016-05-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: Tests that fail on an android emulator running an x86 system image at API level 21: issue #26944: android: test_posix fails -- ___ Python tracker

[issue26929] android: test_strptime fails

2016-05-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 1904 52 6 1904 52 6 1905 01 0 1904 53 7 ^^ 1906 52 0 1906 52 7 1906 52 1 1907 53 1 strftime() on Android incorrectly formats %V or %G for the last or the first incomplete week in a year. --

[issue26932] RTLD_* macros are not defined on Android

2016-05-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: test_rtld_constants is now ok at the tip of the default branch. Thanks Chi Hsuan Yen. I will enter a separate issue for test_getgroups and reference it here as well as in issue #26865. -- ___ Python tracker

[issue26881] modulefinder should reuse the dis module

2016-05-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: modulefinder in 2.7 should be compatible with Python 2.2 (see PEP 291). Thus we can't just add new function in dis and reuse it in modulefinder. We should duplicate this function in modulefinder. I don't know if there is corresponding rule for 3.x. Should

[issue26923] asyncio.gather drops cancellation

2016-05-04 Thread Mathias Arens
Changes by Mathias Arens : -- nosy: +tatellos ___ Python tracker ___ ___ Python-bugs-list

[issue26929] android: test_strptime fails

2016-05-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: Here is the result of running on android:

[issue26922] build from fresh checkout fails

2016-05-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 04/05/2016 05:10, Nick Coghlan a écrit : > > Does strace give any potentially useful hints? > > For me: > > $ strace -e trace=file ./python -c "pass" Ah, thanks. It seems this was failing due to a pyvenv.cfg in the parent directory, which I removed.

[issue26943] Datetime.strptime crash

2016-05-04 Thread Jens de Bruijn
New submission from Jens de Bruijn: Datetime crashes while running script from the command line. When running the same date string from the interpreter (Ubuntu 16.04) it does not crash. date = datetime.datetime.strptime('May 01 23:59:59 + 2016', '%b %d %H:%M:%S + %Y') --

[issue26932] RTLD_* macros are not defined on Android

2016-05-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Xavier, please check that issues with ctypes and threading are not gone. -- ___ Python tracker ___

[issue26932] RTLD_* macros are not defined on Android

2016-05-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Chi Hsuan Yen. Please open separate issue for "id -G". -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue26932] RTLD_* macros are not defined on Android

2016-05-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 811ccdee6f87 by Serhiy Storchaka in branch 'default': Issue #26932: Fixed support of RTLD_* constants defined as enum values, https://hg.python.org/cpython/rev/811ccdee6f87 -- nosy: +python-dev ___

[issue26932] RTLD_* macros are not defined on Android

2016-05-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge, pitrou stage: -> patch review title: android: test_posix fails -> RTLD_* macros are not defined on Android ___ Python tracker

[issue26932] android: test_posix fails

2016-05-04 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Version 2. -- Added file: http://bugs.python.org/file42705/rtld_constants.patch ___ Python tracker ___

[issue26926] Large files are not supported on Android

2016-05-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: android: test_io fails -> Large files are not supported on Android ___ Python tracker ___

<    1   2