[issue9949] os.path.realpath on Windows does not follow symbolic links

2018-01-23 Thread Étienne Dupuis
Étienne Dupuis added the comment: Referenced here: https://stackoverflow.com/questions/4640/python-os-path-realpath-for-symlink-in-windows. -- nosy: +Étienne Dupuis ___ Python tracker

[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2018-01-23 Thread Guido van Rossum
Guido van Rossum added the comment: No. I just mailed Yury with an explanation. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue32644] unittest.mock.call len() error

2018-01-23 Thread Snakevil
New submission from Snakevil : In some testcase, an instance of unittest.mock.call was generated as: call('solution', 'foo', {'__spots__': {}, '__event__': None, '__solution__': None}) The third argument is an instance of a derived component from dict. In this issue, result of len() is 2 but

[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2018-01-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: Thanks for the summary, Yury! One quick note: > Effectively, the previously merged origin-tracking API (the one with which we > replaced set_coroutine_wrapper) achieves the same goal. I would say the two features are complementary. This feature (unawaited t

[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2018-01-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Incidentally, why did this manifest as a segfault rather than a compilation error? -- nosy: +benjamin.peterson ___ Python tracker ___

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-01-23 Thread Eric Snow
Eric Snow added the comment: Sounds good, Ned. Thanks for taking a look. I should have everything finished up by Friday, so I'm hopeful for landing the change before the deadline. I may have a few minor tweaks to make after that, but I'll discuss that with you before making any changes if

[issue32643] Make Task._step, Task._wakeup and Future._schedule_callback methods private

2018-01-23 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +5140 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32643] Make Task._step, Task._wakeup and Future._schedule_callback methods private

2018-01-23 Thread Yury Selivanov
New submission from Yury Selivanov : I propose to drop support for overloading Task._step, Task._wakeup, and Future._schedule_callbacks. This makes the implementation easier for us to maintain and optimize. It also makes it easier for alternative asyncio event loops and interops with other as

[issue32642] add support for path-like objects in sys.path

2018-01-23 Thread Chris Jerdonek
New submission from Chris Jerdonek : This issue is to suggest enhancing sys.path to recognize path-like objects, per PEP 519. I recently ran into an issue where a path was getting added to sys.path, but the corresponding imports weren't working as they should, even though sys.path showed the

[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2018-01-23 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: Guido, This is another feature for native coroutines that Nathaniel proposes for 3.7. Here's a summary (this issue has too many messages): 1. It adds a new mechanism to detect un-awaited coroutines (i.e. when a user forgets to use await). 2. To enable the m

[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2018-01-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: Yury also asked me to try running a generator/coroutine microbenchmark from PEP 492 (https://www.python.org/dev/peps/pep-0492/#async-await). I'm attaching the actual script for that as well (pep492bench.py), since I had to add a few lines to actually run the

[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2018-01-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: Please insert the usual caveats around how reliable benchmarking is impossible. (Last month when I tried this with a previous version of the patch, the interpreter that had the patch applied -- and thus was doing slightly *more* work -- was consistently a fe

[issue32513] dataclasses: make it easier to use user-supplied special methods

2018-01-23 Thread Guido van Rossum
Guido van Rossum added the comment: Are we clear on the proposal now? It would be good to have this implemented in beta 1. Eric's long message looks good to me (though I have to admit the logic around __hash__ confuses me, but I've spent two long days at PyCascades, and I trust Eric's judgmen

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset b7a80d543e1e94475ab9c8214f7a9eab4e63c9ab by Yury Selivanov in branch 'master': bpo-32436: Don't use native popcount() (also fixes bpo-32641) (#5292) https://github.com/python/cpython/commit/b7a80d543e1e94475ab9c8214f7a9eab4e63c9ab -- re

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: I've pushed a commit that should fix the buildbot. Please reopen if it doesn't. -- ___ Python tracker ___

[issue32436] Implement PEP 567

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset b7a80d543e1e94475ab9c8214f7a9eab4e63c9ab by Yury Selivanov in branch 'master': bpo-32436: Don't use native popcount() (also fixes bpo-32641) (#5292) https://github.com/python/cpython/commit/b7a80d543e1e94475ab9c8214f7a9eab4e63c9ab -- _

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: In an off-list conversation with David, it was confirmed that the buildbot in question runs on an old hardware without SSE4.2 support. I decided to simply stop using native popcount instructions as there's no detectable performance difference when using them

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +5139 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32436] Implement PEP 567

2018-01-23 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +5138 stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs-list m

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith
Change by Nathaniel Smith : -- keywords: +patch pull_requests: +5137 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-01-23 Thread bbayles
Change by bbayles : -- pull_requests: +5136 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: Ah-hah, I get what's going on. @asyncio.coroutine has always been buggy: when debug mode is turned on, then it fails to set CO_ITERABLE_COROUTINE. However, when debug mode is turned on, then traditionally native coroutines got wrapped into CoroWrapper objec

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: No, it's this specific commit. I can double check later, but I'm pretty sure about that. -- ___ Python tracker ___ _

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: How confident are we that this is a regression from the coroutine origin tracking changes? (I'd double-check myself, but my cpython checkout is tied up for the next few hours doing --enable-optimizations builds.) Looking at @asyncio.coroutine, in particular

[issue32623] Resize dict on del/pop

2018-01-23 Thread INADA Naoki
INADA Naoki added the comment: For insert/pop loop, reduce table size aggressively on pop may cause performance regression. So reducing size should be conservative. So my opinion is: * When dict size become 0, make the dict shared-empty, like dict.clear() * When (dict size < dk_size/8), call

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: asyncio.coroutine sets the co_flags bit CO_ITERABLE_COROUTINE for generator functions' code objects. With that bit flag, Python allows to 'yield from' native coroutines. CoroWrapper.send() -> wrapped_generator.send() -> YIELD_FROM(native_coro) -> native_coro

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: (However, I can report that at least that particular test starts working again if I convert 'sleeper' into an 'async def' coroutine.) -- ___ Python tracker

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: Question: there are lots of tests -- for example test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_with_exception, which freezes for me -- that use 'yield from asyncio.sleep(...)', e.g.: @asyncio.coroutine def sleeper():

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-01-23 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset 6b273f7f4056f8276f61a97c789d6bb4425e653c by Barry Warsaw (Bo Bayles) in branch 'master': bpo-32502: Discard 64-bit (and other invalid) hardware addresses (#5254) https://github.com/python/cpython/commit/6b273f7f4056f8276f61a97c789d6bb4425e653c

[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: A similar change was proposed by pmp-p on MicroPython: https://github.com/micropython/micropython/pull/3564 His use case is to use ffi module on Android (see the PR for more information), currently ffi fails to locate libraries. -- _

[issue31000] Test failure in resource module on ZFS

2018-01-23 Thread Larry Hastings
Larry Hastings added the comment: I'm using ZFS on 64-bit Linux. I did see a Github issue / commit that claims to address this. I'm using a reasonably recent ZoL build, that should have that commit, and I still see the behavior. I actually experimented with it a little, and, hmm. The test

[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: > I suspect this is a compiler bug. It may be interesting to add the compiler version to test.pythoninfo. It would be simpler to compare Windows buildbots to identify a bug. Currently, the only info is: "sys.version: 3.7.0a4+ (heads/master:9d411c1, Jan 23 20

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2018-01-23 Thread paul j3
paul j3 added the comment: I attached a script that implements Evan's _match_argument idea, using a ArgumentParser subclass. I think this is the safest way to add different functionality to the parser. It (subclassing) is used, for example in pypi extensions like plac. My version places th

[issue28046] Remove the concept of platform-specific directories

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: The cleanup is not complete, so I reopen the issue: https://github.com/python/cpython/pull/5289 -- resolution: fixed -> status: closed -> open ___ Python tracker __

[issue28046] Remove the concept of platform-specific directories

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5135 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +db3l ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: I suspect this is a compiler bug. I can't reproduce it on my windows 7 virtual machine and on AppVeyor. It's not related to HAMT, btw, as there is a multitude of HAMT-specific tests that all pass. The crash is specifically in context.c, and the code there i

[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: The idea was first discussed on python-dev: https://mail.python.org/pipermail/python-dev/2018-January/151874.html me: "It seems like sys.platform == 'android' would be more appropriate since Android is not Linux: different libc, different filesystems, etc." h

[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5134 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32551] Zipfile & directory execution in 3.5.4 also adds the parent directory to sys.path

2018-01-23 Thread Ned Batchelder
Ned Batchelder added the comment: I can confirm that 3.5.5rc1 fixes the problem I had. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue22946] urllib gives incorrect url after open when using HTTPS

2018-01-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: @John.McKay, would you be interested in converting your patch to a Github pull request on the master branch? -- nosy: +csabella versions: +Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker

[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: Looks like this happened in PR1898. -- nosy: +Mariatta, csabella stage: -> needs patch ___ Python tracker ___ ___

[issue20709] os.utime(path_to_directory): wrong documentation for Windows.

2018-01-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: @jgehrcke, would you be able to convert your patch to a Github pull request on the master branch? -- nosy: +csabella stage: -> needs patch versions: +Python 3.7 -Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: No, these are trivial uint32_t/Py_SIZE: `for (uint32_t i = val_idx + 1; i < Py_SIZE(o); i++)`; it's something else. I suspect popcount instruction... -- ___ Python tracker

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: Some hints. Compiler warnings: ..\Python\hamt.c(625): warning C4018: '<': signed/unsigned mismatch [D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\pythoncore.vcxproj] ..\Python\hamt.c(733): warning C4018: '<': signed/unsigned mismatch [D:\cygw

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: It's not a regression, the newly added code doesn't work on some Windows buildbot... looking at it. -- ___ Python tracker ___ ___

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: test_asyncio started to crash at build 491: http://buildbot.python.org/all/#/builders/58/builds/491 This build contains the commit f23746a934177c48eff754411aba54c31d6be2f0: "bpo-32436: Implement PEP 567". I'm not 100% sure that it's the cause of the regressi

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread STINNER Victor
New submission from STINNER Victor : http://buildbot.python.org/all/#/builders/58/builds/498 0:36:25 [252/414/1] test_context crashed (Exit code 3) -- running: test_largefile (239 sec) Windows fatal exception: code 0xc01d Current thread 0x0944 (most recent call first): File "D:\cygw

[issue32639] Coverity: CID 1428443: Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in hamt_node_bitmap_without()

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: > Oh, I didn't know. The current workflow is not ideal to avoid duplicated > issues. If I fix something that's been reported there I usually update the coverity issue directly. But yeah... -- ___ Python tracker

[issue32639] Coverity: CID 1428443: Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in hamt_node_bitmap_without()

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: > (I also receive coverity reports :) Oh, I didn't know. The current workflow is not ideal to avoid duplicated issues. -- title: Coverity: CID 1428443: Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in hamt_node_bitmap_without() -> Co

[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-23 Thread Malcolm Smith
New submission from Malcolm Smith : At some point the Python 3 documentation of str.join has been copied to Python 2. This includes the sentence "A TypeError will be raised if there are any non-string values in iterable, including bytes objects." The second half of this sentence is wrong for

[issue32639] Coverity: CID 1428443: Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in hamt_node_bitmap_without()

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: Victor, it's been already fixed/tracked here: https://github.com/python/cpython/pull/5286 (I also receive coverity reports :) -- resolution: -> out of date stage: -> resolved status: open -> closed type: -> behavior ___

[issue32436] Implement PEP 567

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 0bad4d63c654d93e1f32ff35026405a3987db5ca by Yury Selivanov in branch 'master': bpo-32436: Fix potential NULL dereference (#5286) https://github.com/python/cpython/commit/0bad4d63c654d93e1f32ff35026405a3987db5ca -- _

[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +5133 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32639] Coverity: CID 1428443: Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in hamt_node_bitmap_without()

2018-01-23 Thread STINNER Victor
New submission from STINNER Victor : Coverity found a bug in hamt.c: ** CID 1428443: Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in hamt_node_bitmap_without() *** CID 14

[issue32202] [ctypes] all long double tests fail on android-24-x86_64

2018-01-23 Thread pmpp
Change by pmpp : -- nosy: +pmpp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailma

[issue32203] [ctypes] test_struct_by_value fails on android-24-arm64

2018-01-23 Thread pmpp
Change by pmpp : -- nosy: +pmpp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailma

[issue32436] Implement PEP 567

2018-01-23 Thread Yury Selivanov
Change by Yury Selivanov : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue32436] Implement PEP 567

2018-01-23 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +5132 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32410] Implement loop.sock_sendfile method

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: Andrew, test_cancel2 test fails 1 out of 10 times on my machine (log below). Could you please take a look? Also, can you rename sendfile tests to 'test_sock_sendfile_*'? {pydev} ~/d/p/cpython (master %) » ./python.exe -m test test_asyncio -v -m test_cancel

[issue32296] Implement asyncio._get_running_loop() and get_event_loop() in C

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 9d411c119fdd8e42209ec16be27686a843507f18 by Yury Selivanov in branch 'master': bpo-32296: Make get_running_loop() another 4-5x faster (#5277) https://github.com/python/cpython/commit/9d411c119fdd8e42209ec16be27686a843507f18 --

[issue32638] distutils test errors with AIX and xlc

2018-01-23 Thread Michael Felt
New submission from Michael Felt : While working in issue11191 I found a fix for Python3-3.6 and later for the following tests, and later - but not for Python3-3.5 I suppose "we" could ignore the error on Python3-3.5 (as I then have a quick - simple - fix for Python3-3.6 and later. Suggestion

[issue32637] Android: set sys.platform to android

2018-01-23 Thread pmpp
Change by pmpp : -- nosy: +pmpp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailma

[issue11191] test_search_cpp error on AIX (with xlc)

2018-01-23 Thread Michael Felt
Michael Felt added the comment: Just tested the patch presented. For Python3-3.6.4 the patch in PR-5206 works as is, however, for Python3-3.5.4 - the patch to Lib/test/support/__init__.py does not work. So, for Python3-3.5, Python3-3.6 and Python3-master - the test test_search_cpp is resolve

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: Huh, weird. I'll take a look. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: Wait, os.name is 'posix' on Android. That's fine in fact. Only sys.platform should be updated. -- title: Android: set sys.platform and os.name to android -> Android: set sys.platform to android ___ Python tracker

[issue32634] Message parsing fails where it has incompele headers

2018-01-23 Thread R. David Murray
R. David Murray added the comment: Yes, it is. -- stage: patch review -> resolved status: open -> closed type: crash -> behavior ___ Python tracker ___

[issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: > I don't think that 6934831e43d66222a626403dd775429d1c8963f3 can address the > leak in any way. If a coroutine lives longer than expected, its refcount may be decreased after regrtest checks the total reference counter. Anyway, it's not a big deal. If the b

[issue27321] Email parser creates a message object that can't be flattened

2018-01-23 Thread R. David Murray
R. David Murray added the comment: Note: I reviewed this a while ago but the review comments haven't been addressed. -- ___ Python tracker ___

[issue32612] pathlib.(Pure)WindowsPaths can compare equal but refer to different files

2018-01-23 Thread R. David Murray
R. David Murray added the comment: Could WindowsPath (as opposed to PureWindowsPath) call samefile as part of the equality test? (I'm not familiar enough with pathlib to know if that is a nonsense question.) -- ___ Python tracker

[issue32612] pathlib.(Pure)WindowsPaths can compare equal but refer to different files

2018-01-23 Thread R. David Murray
R. David Murray added the comment: Maybe we could at least mention the issue (and perhaps link to samefile) in the "General Properties" section? -- nosy: +r.david.murray ___ Python tracker __

[issue32637] Android: set sys.platform and os.name to android

2018-01-23 Thread STINNER Victor
New submission from STINNER Victor : Currently, sys.platform and os.name are equal to 'linux' on Android. While Android uses the Linux kernel, the operating system is not a regular Linux. The libc (bionic) is very different than the regular glibc, the filesystem is organized very differently,

[issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: However I ran the whole asyncio test suite in reftracking mode on my machine (latest master) and it passed. So I guess this issue is indeed closed. -- ___ Python tracker __

[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: I'd like to see benchmarks of coroutine creation time and awaits with and without the proposed patch. -- ___ Python tracker ___ _

[issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: I don't think that 6934831e43d66222a626403dd775429d1c8963f3 can address the leak in any way. -- ___ Python tracker ___ __

[issue31930] IDLE: Pressing "Home" on Windows places cursor before ">>>"

2018-01-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: #17060 and #18444 are similar issues for Mac. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Yury Selivanov
Yury Selivanov added the comment: Nathaniel, this is is a regression of fc2f407829d9817ddacccae6944dd0879cfaca24 -- bpo-32591: Add native coroutine origin tracking. Please take a look. -- nosy: +njs ___ Python tracker

[issue32618] fix test_codeccallbacks.test_mutatingdecodehandler

2018-01-23 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue32618] fix test_codeccallbacks.test_mutatingdecodehandler

2018-01-23 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 6abbf14a876ee1e04d1493bb27025f2f0aa56430 by Xiang Zhang (Miss Islington (bot)) in branch '3.6': bpo-32618: Fix test_mutatingdecodehandler not testing test.mutating (GH-5269) (#5285) https://github.com/python/cpython/commit/6abbf14a876ee1e04d1493bb2

[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset e768c86ef442ef89004089a8a34ce5909ffb90f2 by Victor Stinner (stratakis) in branch 'master': bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. (#5284) https://github.com/python/cpython/commit/e768c86ef442ef89004089a8a34ce5

[issue32618] fix test_codeccallbacks.test_mutatingdecodehandler

2018-01-23 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +5131 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue32618] fix test_codeccallbacks.test_mutatingdecodehandler

2018-01-23 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 370d04d1dcca50a52d59f40aff4d11434f71df6b by Xiang Zhang in branch 'master': bpo-32618: Fix test_mutatingdecodehandler not testing test.mutating (#5269) https://github.com/python/cpython/commit/370d04d1dcca50a52d59f40aff4d11434f71df6b -- _

[issue32493] UUID Module - FreeBSD build failure

2018-01-23 Thread David CARLIER
David CARLIER added the comment: In OpenBSD it s even "worse", the version for each call is random (not a surprise when looking at the source). The question is, do we go back to support only AIX or do we accept somehow wrong version ? -- ___ Python

[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20361] -W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset dc6b9462c00873c8404a7966b7ca210717718af5 by Victor Stinner in branch 'master': bpo-20361: Remove workaround for a now fixed bug (#5283) https://github.com/python/cpython/commit/dc6b9462c00873c8404a7966b7ca210717718af5 -- __

[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2018-01-23 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- pull_requests: +5130 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue32593] Drop support of FreeBSD 9 and older in Python 3.7

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 872f841b122160987845db8fdddfaee1aaa203f1 by Victor Stinner in branch 'master': bpo-32593: Run autoconf (#5282) https://github.com/python/cpython/commit/872f841b122160987845db8fdddfaee1aaa203f1 -- ___

[issue20361] -W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20361] -W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5129 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32072] Issues with binary plists

2018-01-23 Thread Larry Hastings
Larry Hastings added the comment: New changeset 43f014d3f12468edf61046f0612edc7660042fd5 by larryhastings (Serhiy Storchaka) in branch '3.5': [3.5] bpo-32072: Fix issues with binary plists. (GH-4455) (#4656) https://github.com/python/cpython/commit/43f014d3f12468edf61046f0612edc7660042fd5 --

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: I used this change to skip the test which hangs, (1): diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index 1c361c8ec1..cf01df7061 100644 --- a/Lib/test/test_asyncio/test_tasks.py +++ b/Lib/test/test_asyncio/test_tasks.py

[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread STINNER Victor
New submission from STINNER Victor : (1) test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_with_exception() hangs: vstinner@apu$ PYTHONASYNCIODEBUG=1 ./python -m test test_asyncio -m test_wait_with_exception -v == CPython 3.7.0a4+ (heads/freebsd_configure:27218edef7, Jan 23

[issue32593] Drop support of FreeBSD 9 and older in Python 3.7

2018-01-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5128 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32551] Zipfile & directory execution in 3.5.4 also adds the parent directory to sys.path

2018-01-23 Thread Larry Hastings
Larry Hastings added the comment: New changeset 891c91d8d38848377a9f475242507510873eb9c3 by larryhastings (Nick Coghlan) in branch '3.5': [3.5] bpo-32551: Consistently configure sys.path[0] (#5197) https://github.com/python/cpython/commit/891c91d8d38848377a9f475242507510873eb9c3 --

[issue29319] Embedded 3.6.0 distribution cannot run pyz files

2018-01-23 Thread Larry Hastings
Larry Hastings added the comment: New changeset 891c91d8d38848377a9f475242507510873eb9c3 by larryhastings (Nick Coghlan) in branch '3.5': [3.5] bpo-32551: Consistently configure sys.path[0] (#5197) https://github.com/python/cpython/commit/891c91d8d38848377a9f475242507510873eb9c3 -- n

[issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

2018-01-23 Thread STINNER Victor
STINNER Victor added the comment: FYI "x86 Gentoo Refleaks 3.x" buildbot failed with: http://buildbot.python.org/all/#builders/1/builds/109 --- /buildbot/buildarea/3.x.ware-gentoo-x86.refleak/build/Lib/test/libregrtest/refleak.py:248: RuntimeWarning: coroutine 'SetMethodsTest.test_set_excepti

  1   2   >