[issue26858] setting SO_REUSEPORT fails on android

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: Running the "Search" button on the tracker with "Components" set as "Cross-Build" lists 42 issues (20 in the last year). I guess using this existing category is fine if the titles' issues are prefixed with "android:". -- _

[issue26858] android: setting SO_REUSEPORT fails

2016-05-03 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- title: setting SO_REUSEPORT fails on android -> android: setting SO_REUSEPORT fails ___ Python tracker ___ ___

[issue26856] android does not have pwd.getpwall()

2016-05-03 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- components: +Cross-Build nosy: +Alex.Willmer ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue26855] android: add platform.android_ver()

2016-05-03 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- title: add platform.android_ver() for android -> android: add platform.android_ver() ___ Python tracker ___ __

[issue26852] android: add a COMPILEALL_FLAGS Makefile variable

2016-05-03 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- title: add a COMPILEALL_FLAGS Makefile variable -> android: add a COMPILEALL_FLAGS Makefile variable ___ Python tracker ___ __

[issue26862] android: SYS_getdents64 does not need to be defined on android API 21

2016-05-03 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- title: SYS_getdents64 does not need to be defined on android API 21 -> android: SYS_getdents64 does not need to be defined on android API 21 ___ Python tracker __

[issue26884] android: cross-compilation of extension module links to the wrong python library

2016-05-03 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- title: cross-compilation of extension module links to the wrong python library -> android: cross-compilation of extension module links to the wrong python library ___ Python tracker

[issue26914] Fix formatting of lists in PEP 420

2016-05-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 03a4c21ca991 by Berker Peksag in branch 'default': Issue #26914: Fix formatting of lists in PEP 420 https://hg.python.org/peps/rev/03a4c21ca991 -- nosy: +python-dev ___ Python tracker

[issue26914] Fix formatting of lists in PEP 420

2016-05-03 Thread Berker Peksag
Berker Peksag added the comment: Thanks, I pushed pep-0420.patch. -- keywords: +easy nosy: +berker.peksag stage: -> needs patch ___ Python tracker ___ __

[issue26914] Fix formatting of lists in PEP 420

2016-05-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset d420d6fe349f by Georg Brandl in branch 'default': Fix lists-in-blockquotes in 3xxx PEPs. Ref: #26914 https://hg.python.org/peps/rev/d420d6fe349f -- ___ Python tracker

[issue26914] Fix formatting of lists in PEP 420

2016-05-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset d34c698f63a3 by Georg Brandl in branch 'default': Fix lists-in-blockquotes in 0xxx PEPs. Ref: #26914 https://hg.python.org/peps/rev/d34c698f63a3 New changeset e7200e32b220 by Georg Brandl in branch 'default': Fixup some more lists-in-blockquotes. Fi

[issue26916] Word duplications in PEPs

2016-05-03 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch fixes typos in PEPs that cause words duplications. -- assignee: docs@python components: Documentation files: pep_duplicates.patch keywords: patch messages: 264695 nosy: docs@python, martin.panter, serhiy.storchaka priority: normal seve

[issue26914] Fix formatting of lists in PEP 420

2016-05-03 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue26914] Fix formatting of lists in PEP 420

2016-05-03 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue26916] Word duplications in PEPs

2016-05-03 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue26917] Inconsistency in unicodedata.normalize()?

2016-05-03 Thread Armin Rigo
New submission from Armin Rigo: There is an apparent inconsistency in unicodedata.normalize("NFC"), introduced with the switch from the Unicode DB 5.1.0 to 5.2.0 (in Python 2.7). First, please note that my knowledge of unicode is limited, so I may be wrong and the following behavior might be

[issue26917] Inconsistency in unicodedata.normalize()?

2016-05-03 Thread Armin Rigo
Armin Rigo added the comment: Note: the examples can also be written in this clearer way on Python 3: >>> from unicodedata import normalize >>> print(ascii(normalize("NFC", "---\uafb8\u11a7---"))) '---\uafb8\u11a7---' >>> print(ascii(normalize("NFC", "---\uafb8\u11a7---\U0002f8a1"))) '---\uafb8

[issue26852] android: add a COMPILEALL_FLAGS Makefile variable

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: The python '-E' option was needed on 3.4 when this patch was first implemented and is not needed anymore at the current tip (changeset 2ef61a4747eb, Apr 27 2016). New patch. -- Added file: http://bugs.python.org/file42690/compileall-flags_2.patch ___

[issue26916] Word duplications in PEPs

2016-05-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset d0b969132758 by Serhiy Storchaka in branch 'default': Issue #26916: Fixed words duplications. https://hg.python.org/peps/rev/d0b969132758 -- nosy: +python-dev ___ Python tracker

[issue26904] Difflib quick_ratio() could use Counter()

2016-05-03 Thread Michael Cuthbert
Michael Cuthbert added the comment: @wolma -- you're right, that the inplace __iand__ version of Counter is substantially faster -- it is still slower than the current code (since it is still basically a superset of it). However, testing shows that it is close enough to the current code as to

[issue26918] android: test_pipes fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_pipes fails on an android emulator running an x86 system image at API level 21. root@generic_x86:/data/local/tmp # python -m test -v test_pipes == CPython 3.6.0a0 (default:f4c6dab59cd8+, May 3 2016, 10:42:45) [GCC 4.9 20140827 (prerelease)] == Linux-

[issue26919] android: test_cmd_line fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_cmd_line fails on an android emulator running an x86 system image at API level 21. == FAIL: test_non_ascii (test.test_cmd_line.CmdLineTest) -

[issue26917] Inconsistency in unicodedata.normalize()?

2016-05-03 Thread STINNER Victor
STINNER Victor added the comment: Extract of unicodedata_UCD_normalize_impl(): if (strcmp(form, "NFC") == 0) { if (is_normalized(self, input, 1, 0)) { Py_INCREF(input); return input; } return nfc_nfkc(self, input, 0); } is_normalized() is

[issue26920] android: test_sys fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_sys fails on an android emulator running an x86 system image at API level 21. ... test_implementation (test.test_sys.SysModuleTest) ... ok test_intern (test.test_sys.SysModuleTest) ... ok test_ioencoding (test.test_sys.SysModuleTest) ... ok test_ioencodi

[issue26917] Inconsistency in unicodedata.normalize()?

2016-05-03 Thread STINNER Victor
STINNER Victor added the comment: I tested http://minaret.info/test/normalize.msp (1) 꾸ᆧ (afb8 11a7) --NFC or NFKC--> 꾸ᆧ (afb8, 11a7) === same than python 꾸ᆧ (afb8 11a7) --NFD or NFKD--> 꾸ᆧ (1101 116e, 11a7) === same than python (2) 꾸ᆧ (1101 116e 11a7) --NFC or NFKC--> 꾸 (afb8) === same tha

[issue26917] unicodedata.normalize(): bug in Hangul Composition

2016-05-03 Thread STINNER Victor
Changes by STINNER Victor : -- title: Inconsistency in unicodedata.normalize()? -> unicodedata.normalize(): bug in Hangul Composition ___ Python tracker ___

[issue26917] unicodedata.normalize(): bug in Hangul Composition

2016-05-03 Thread STINNER Victor
STINNER Victor added the comment: Extract of nfc_nfkc(): /* Hangul Composition. We don't need to check for pairs, since we always have decomposed data. */ code = PyUnicode_READ(kind, data, i); if (LBase <= code && code < (LBase+LCount) && i + 1 < len &&

[issue26917] unicodedata.normalize(): bug in Hangul Composition

2016-05-03 Thread STINNER Victor
STINNER Victor added the comment: Attached patch changes Hangul Composition. I'm not sure that it is correct. -- keywords: +patch Added file: http://bugs.python.org/file42691/hangul_composition.patch ___ Python tracker

[issue26904] Difflib quick_ratio() could use Counter()

2016-05-03 Thread Michael Cuthbert
Michael Cuthbert added the comment: Here are the results I obtained along with the test code I used to get the results. The test code also has a "hybrid" code which I did not propose, but maybe I should have, which uses the old code for very short (but not degenerate) tests and then the new c

[issue26921] Incorrect usage of a/an articles in PEPs

2016-05-03 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch fixes the usage of a/an articles in PEPs. -- assignee: docs@python components: Documentation files: pep_articles.patch keywords: patch messages: 264710 nosy: docs@python, georg.brandl, martin.panter, serhiy.storchaka priority: normal s

[issue26917] unicodedata.normalize(): bug in Hangul Composition

2016-05-03 Thread Armin Rigo
Armin Rigo added the comment: See also https://bitbucket.org/pypy/pypy/issues/2289/incorrect-unicode-normalization . It seems that you reached the same conclusion than the OP in that issue: the problem would really be that normalizing "\uafb8\u11a7" should not drop the second character. Bot

[issue26914] Fix formatting of lists in PEP 420

2016-05-03 Thread Ned Batchelder
Ned Batchelder added the comment: Unless I have permissions I've never used, I don't think I can just push fixes to the peps repo. Also, it looks like Georg is working away at it! -- ___ Python tracker ___

[issue26921] Incorrect usage of a/an articles in PEPs

2016-05-03 Thread Georg Brandl
Georg Brandl added the comment: Also LGTM. It's easy to spot PEPs written by French people :) -- ___ Python tracker ___ ___ Python-bu

[issue26914] Fix formatting of lists in PEP 420

2016-05-03 Thread Georg Brandl
Georg Brandl added the comment: Yep, they should all be gone. I tried to make sure by running the sources through docutils and finding nested nodes. -- ___ Python tracker ___ _

[issue26921] Incorrect usage of a/an articles in PEPs

2016-05-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset d617c7ba4e14 by Serhiy Storchaka in branch 'default': Issue #26921: Fixed a/an articles. https://hg.python.org/peps/rev/d617c7ba4e14 -- nosy: +python-dev ___ Python tracker

[issue26916] Word duplications in PEPs

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

[issue26921] Incorrect usage of a/an articles in PEPs

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for reviews Georg. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue26922] build from fresh checkout fails

2016-05-03 Thread Antoine Pitrou
New submission from Antoine Pitrou: Building from a fresh checkout with "./configure" followed by "make -j4" fails here: $ make -j4 [... snip ...] ./python -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \ echo "generate-posix-vars failed" ; \ rm -f ./pybuild

[issue26922] build from fresh checkout fails

2016-05-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: $ cat /etc/os-release NAME="Ubuntu" VERSION="15.04 (Vivid Vervet)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 15.04" VERSION_ID="15.04" HOME_URL="http://www.ubuntu.com/"; SUPPORT_URL="http://help.ubuntu.com/"; BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

[issue26923] asyncio.gather drops cancellation

2016-05-03 Thread Johannes Ebke
New submission from Johannes Ebke: In a very specific case, asyncio.gather causes a cancel() call on the Task waiting on the _GatheringFuture to return a false positive. An example program demonstrating this is attached. The context: asyncio.gather creates a _GatheringFuture with a list of chi

[issue26039] More flexibility in zipfile write interface

2016-05-03 Thread Thomas Kluyver
Thomas Kluyver added the comment: Any further review comments on this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue26924] android: test_concurrent_futures fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_concurrent_futures fails on an android emulator running an x86 system image at API level 21. There are multiple ERRORs, all resulting in the same traceback: Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_

[issue26923] asyncio.gather drops cancellation

2016-05-03 Thread STINNER Victor
STINNER Victor added the comment: The doc: https://docs.python.org/dev/library/asyncio-task.html#asyncio.gather "Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledErr

[issue26925] android: test_multiprocessing_main_handling fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: All the tests of test_multiprocessing_main_handling fail on an android emulator running an x86 system image at API level 21. See the attached test_output.txt file. -- components: Cross-Build, Library (Lib) files: test_output.txt messages: 264723 nosy:

[issue26925] android: test_multiprocessing_main_handling fails

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: This seems to be related to issue #26924. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue26926] android: test_io fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_io fails on an android emulator running an x86 system image at API level 21. == ERROR: test_large_file_ops (test.test_io.CIOTest)

[issue26927] android: test_mmap fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_mmap fails on an android emulator running an x86 system image at API level 21. == ERROR: test_large_filesize (test.test_mmap.LargeMmapTests) -

[issue26923] asyncio.gather drops cancellation

2016-05-03 Thread Johannes Ebke
Johannes Ebke added the comment: Thank you for providing the relevant documentation link. I just noticed that it should probably be clarified that in case the outer Future is cancelled, and all children that are not already done ignore the cancellation (a.k.a. catch the CancelledError), the ca

[issue26928] android: test_site fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: One test of test_site fails on an android emulator running an x86 system image at API level 21. See the attached test_output.txt file. -- components: Cross-Build, Library (Lib) files: test_output.txt messages: 264728 nosy: Alex.Willmer, xdegaye prior

[issue26906] format(object.__reduce__) fails intermittently

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is similar issue on 3.x: >>> import array >>> it = iter(array.array('i')) >>> format(it) Traceback (most recent call last): File "", line 1, in TypeError: Type arrayiterator doesn't define __format__ >>> type(it).__format__ >>> format(it) '' ---

[issue26929] android: test_strptime fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_strptime fails on an android emulator running an x86 system image at API level 21. See the attached test_output.txt file. -- components: Cross-Build, Library (Lib) files: test_output.txt messages: 264729 nosy: Alex.Willmer, belopolsky, lemburg,

[issue26930] Upgrade installers to OpenSSL 1.0.2h

2016-05-03 Thread Alex Gaynor
New submission from Alex Gaynor: https://www.openssl.org/news/secadv/20160503.txt -- keywords: security_issue messages: 264731 nosy: alex, ned.deily, paul.moore, ronaldoussoren, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Upgrade installers

[issue26931] android: test_distutils fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_distutils fails on an android emulator running an x86 system image at API level 21. See the attached test_output.txt file. Some of these failed tests could be skipped, supposing that native compilation of extension modules on android itself (as opposed

[issue26933] android: test_posixpath fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_posixpath fails on an android emulator running an x86 system image at API level 21. On android we have: root@generic_x86:/data/local/tmp # python Python 3.6.0a0 (default:f4c6dab59cd8+, May 3 2016, 10:42:45) [GCC 4.9 20140827 (prerelease)] on linux Type

[issue26932] android: test_posix fails

2016-05-03 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. For the first ERROR, 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) groups=1003(graphics),1004(input),10

[issue26934] android: test_faulthandler fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_faulthandler fails on an android emulator running an x86 system image at API level 21. See the attached test_output.txt file. -- components: Cross-Build, Library (Lib) files: test_output.txt messages: 264735 nosy: Alex.Willmer, haypo, xdegaye pr

[issue26935] android: test_os fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: One test of test_os fails on an android emulator running an x86 system image at API level 21. See the attached test_output.txt file. -- components: Cross-Build, Library (Lib) files: test_output.txt messages: 264736 nosy: Alex.Willmer, loewis, xdegaye

[issue26937] android: test_tarfile fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_tarfile fails on an android emulator running an x86 system image at API level 21. == [0/9481] FAIL: test_extract_with_numeric_owner (test.test_tarfile.NumericOwner

[issue26936] android: test_socket fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_socket fails on an android emulator running an x86 system image at API level 21. == ERROR: testGetServBy (test.test_socket.GeneralModuleTests) --

[issue26933] android: test_posixpath fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue24950. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> FAIL: test_expanduser when $HOME=/ ___ Python tracker

[issue24950] FAIL: test_expanduser when $HOME=/

2016-05-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26922] build from fresh checkout fails

2016-05-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note this is a data point of how obscure and hard to debug the current early startup phase is :-) -- nosy: +ncoghlan ___ Python tracker ___ ___

[issue26939] android: test_functools hangs on armv7

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_functools hangs on an android emulator running an armv7 system image (but not on x86) at API level 21. The test suite hangs at test_lru_cache_threaded (test.test_functools.TestLRUC) ... A cause of this problem may be related to the fact that the android

[issue26938] android: test_concurrent_futures hangs on armv7

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_concurrent_futures hangs on an android emulator running an armv7 system image (but not on x86) at API level 21. The test suite hangs at: test_pending_calls_race (test.test_concurrent_futures.ThreadPoolWaitTests) ... A cause of this problem may be relate

[issue26940] android: test_importlib hangs on armv7

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_importlib hangs on an android emulator running an armv7 system image (but not on x86) at API level 21. The test suite hangs at test_deadlock (test.test_importlib.test_locks.Frozen_DeadlockAvoidanceTests) ... A cause of this problem may be related to the

[issue26941] android: test_threading hangs on armv7

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_threading hangs on an android emulator running an armv7 system image (but not on x86) at API level 21. The test suite hangs at test_is_alive_after_fork (test.test_threading.ThreadTests) ... A cause of this problem may be related to the fact that the and

[issue26942] android: test_ctypes crashes on armv7

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_ctypes crashes on an android emulator running an armv7 system image (but not on x86) at API level 21. 143|root@generic:/data/local/tmp # python -m test -v test_ctypes == CPython 3.6.0a0 (default:f4c6dab59cd8+, May 3 2

[issue26537] ConfigParser has optionxform, but not sectionxform

2016-05-03 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

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

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: All the dependencies of this issue are tagged with Components:Cross-Build and a title starting with 'android'. Tests that fail on an android emulator running an x86 system image at API level 21: issue #26918: android: test_pipes fails issue #26919: androi

[issue26922] build from fresh checkout fails

2016-05-03 Thread Brett Cannon
Brett Cannon added the comment: That exception usually stems from when importlib.h has an error in it. -- nosy: +brett.cannon ___ Python tracker ___ _

[issue26933] android: test_posixpath fails

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: That was fast! Thanks Serhiy. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue26696] Document collections.abc.ByteString

2016-05-03 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue26933] android: test_posixpath fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'll push a patch for issue24950 in short time. Try to search precedences for other your issues. May be they have patches, additional information or experienced people. -- ___ Python tracker

[issue26933] android: test_posixpath fails

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: You are right. I will do that. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24950] FAIL: test_expanduser when $HOME=/

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yet one corner case is empty HOME value. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue24950] FAIL: test_expanduser when $HOME=/

2016-05-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 194b356c84f5 by Serhiy Storchaka in branch '3.5': Issue #24950: Fixed expanduser tests when the users home directory in pwd is "/". https://hg.python.org/cpython/rev/194b356c84f5 New changeset b9b99cb85a5f by Serhiy Storchaka in branch 'default': I

[issue20120] Percent-signs (%) in .pypirc should not be interpolated

2016-05-03 Thread Jason R. Coombs
Jason R. Coombs added the comment: Łukasz, my proposal was to also update distutils (in all Python versions that get bugfixes) to match the Setuptools behavior and Python 2 behavior. I'd still like to do that to harmonize the implementations. -- ___

[issue20120] Percent-signs (%) in .pypirc should not be interpolated

2016-05-03 Thread Łukasz Langa
Łukasz Langa added the comment: Oh, my bad. Yeah, that sounds like a worthwhile change. -- resolution: not a bug -> status: closed -> open ___ Python tracker ___ ___

[issue26876] Extend MSVCCompiler class to respect environment variables

2016-05-03 Thread Steve Dower
Steve Dower added the comment: I was thinking more like this: if DISTUTILS_USE_SDK: assume PATH is configured execute os.getenv("CC", "cl.exe") directly else: find VS in the registry execute "cl.exe" etc. The only change here from the current situation is preferring the CC varia

[issue24950] FAIL: test_expanduser when $HOME=/

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

[issue26939] android: test_functools hangs on armv7

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: The attached test_output.txt file is the corresponding gdb backtrace[1]. Interestingly, all the tests (issues #26938, #26939, #26940 and #26941) that hang on arm use sys.setswitchinterval() aggressively. [1] The backtrace is interleaved with: * Python Excep

[issue26938] android: test_concurrent_futures hangs on armv7

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: Interestingly, all the tests (issues #26938, #26939, #26940 and #26941) that hang on arm use sys.setswitchinterval() aggressively. -- ___ Python tracker __

[issue26941] android: test_threading hangs on armv7

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: Interestingly, all the tests (issues #26938, #26939, #26940 and #26941) that hang on arm use sys.setswitchinterval() aggressively. -- ___ Python tracker __

[issue26940] android: test_importlib hangs on armv7

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: Interestingly, all the tests (issues #26938, #26939, #26940 and #26941) that hang on arm use sys.setswitchinterval() aggressively. -- ___ Python tracker __

[issue17909] Autodetecting JSON encoding

2016-05-03 Thread Geoffrey Sneddon
Changes by Geoffrey Sneddon : -- nosy: +gsnedders ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue26039] More flexibility in zipfile write interface

2016-05-03 Thread Марк Коренберг
Changes by Марк Коренберг : -- nosy: -mmarkk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue26929] android: test_strptime fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is the output of following code? import datetime for i in range(1, 10): print(datetime.date(1905, 1, i).strftime('%Y %U %w %G %V %u')) -- nosy: +serhiy.storchaka ___ Python tracker

[issue26929] android: test_strptime fails

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: root@generic_x86:/data/local/tmp # python Python 3.6.0a0 (default:f4c6dab59cd8+, May 3 2016, 21:59:47) [GCC 4.9 20140827 (prerelease)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import datetime >>> for i in range(1, 10):

[issue26929] android: test_strptime fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks. And what is the output of following code? for i in range(25, 32): print(datetime.date(1904, 12, i).strftime('%Y %U %w %G %V %u')) -- ___ Python tracker ___

[issue26929] android: test_strptime fails

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: >>> for i in range(25, 32): ... print(datetime.date(1904, 12, i).strftime('%Y %U %w %G %V %u')) ... 1904 52 0 1904 51 7 1904 52 1 1904 52 1 1904 52 2 1904 52 2 1904 52 3 1904 52 3 1904 52 4 1904 52 4 1904 52 5 1904 52 5 1904 52 6 1904 52 6 >>>

[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

2016-05-03 Thread Josh Rosenberg
Josh Rosenberg added the comment: At some point someone really needs to decide if the C layer behavior of performing an identity test before full equality checking is something that should be emulated at the Python layer or not. The current state seems ridiculous, where C containers check iden

[issue26929] android: test_strptime fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thus there is a gap between 1904-12-31 and 1905-1-1. This is a bug in strftime() on Android. -- ___ Python tracker ___ __

[issue26219] implement per-opcode cache in ceval

2016-05-03 Thread Josh Rosenberg
Changes by Josh Rosenberg : -- nosy: +josh.r ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue26110] Speedup method calls 1.2x

2016-05-03 Thread Josh Rosenberg
Changes by Josh Rosenberg : -- nosy: +josh.r ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

2016-05-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> rhettinger nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23003] traceback.{print_exc, print_exception, format_exc, format_exception}: Potential AttributeError

2016-05-03 Thread Andy Edwards
Andy Edwards added the comment: I'm seeing this issue in Python 2.7 Andys-MacBook-Pro:jcore-api-py andy$ which python /Library/Frameworks/Python.framework/Versions/2.7/bin/python Andys-MacBook-Pro:jcore-api-py andy$ python setup.py test running test running egg_info writing requirements to j

[issue26812] ExtendedInterpolation drops user-defined 'vars' during _interpolate_some() recursion

2016-05-03 Thread Yih-En Andrew Ban
Yih-En Andrew Ban added the comment: Sure, patch attached. -- keywords: +patch Added file: http://bugs.python.org/file42702/issue26812.patch ___ Python tracker ___ __

[issue26929] android: test_strptime fails

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: GNU libc says: ‘%V’ The ISO 8601:1988 week number as a decimal number (range ‘01’ through ‘53’). ISO weeks start with Monday and end with Sunday. Week ‘01’ of a year is the first week which has the majority of its d

[issue26929] android: test_strptime fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is other bug at the last week of a year: import datetime for i in range(25, 32): print(datetime.date(1906, 12, i).strftime('%Y %U %w %G %V %u')) for i in range(1, 10): print(datetime.date(1907, 1, i).strftime('%Y %U %w %G %V %u')) -

[issue26926] android: test_io fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This looks similar to issue11184. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bug

  1   2   >