[issue30852] _PyObject_GC_UNTRACK corruption when call a lambda function with C API

2017-07-04 Thread 盛茂家
New submission from 盛茂家: This corruption is so strange that I can't even reappear it. (gdb) bt #0 0x006d7e9f in func_dealloc.lto_priv () at Objects/funcobject.c:451 #1 0x005c730b in ask (printException=true, okIfFunctionNull=, errorPrefix=0x884bca "", pArgs=0x300dd440, pFunctio

[issue30850] [2.7] bsddb3: test01_basic_replication() of test_bsddb3 fails randomly on AMD64 Windows8.1 Refleaks 2.7

2017-07-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: First at all replace self.assertTrue(time.time() ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/pyth

[issue30814] Import dotted name as alias breaks with concurrency

2017-07-04 Thread Nick Coghlan
Nick Coghlan added the comment: Documenting explicitly what I believe the expected order of module lock acquisition would be in this case: Thread A acquires package.subpackage lock Thread B blocks on package.subpackage lock Thread A acquires package lock Thread A releases packag

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e5bb112ba2048cb3ea19481a7b38fe1433c5a7ef by terryjreedy in branch '3.6': [3.6] bpo-30777: IDLE: configdialog - add docstrings and improve comments (GH-2440) (#2577) https://github.com/python/cpython/commit/e5bb112ba2048cb3ea19481a7b38fe1433c5a7ef

[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1278d29000794085f1d9e25f2dadbf70b9076e30 by terryjreedy in branch '3.6': [3.6] bpo-21624: IDLE -- minor htest fixes (GH-2575) (#2578) https://github.com/python/cpython/commit/1278d29000794085f1d9e25f2dadbf70b9076e30 -- _

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

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

2017-07-04 Thread Ethan Smith
Changes by Ethan Smith : -- nosy: +Ethan Smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue30836] test_c_locale_coercion fails on AIX

2017-07-04 Thread Nick Coghlan
Nick Coghlan added the comment: Removing the "easy" tag, as I realised this isn't as clearcut a change as I first thought. Specifically, I'm wondering if in addition to changing the expectations for this particular test, we should *also* be disabling locale coercion on AIX in general. After

[issue30836] test_c_locale_coercion fails on AIX

2017-07-04 Thread Nick Coghlan
Nick Coghlan added the comment: Note that as far as I'm aware, AIX doesn't actually provide any of our coercion target locales yet, so the question in my previous comment is about how we want 3.7.x releases to behave on AIX if IBM *do* introduce a C.UTF-8 locale. The main argument I see in fav

[issue30836] test_c_locale_coercion fails on AIX

2017-07-04 Thread Nick Coghlan
Changes by Nick Coghlan : -- stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue30853] IDLE: configdialog -- factor out Variable subclass

2017-07-04 Thread Terry J. Reedy
New submission from Terry J. Reedy: configdialog.ConfigDialog creates about 20 tk Variables corresponding to configuration options. It defines a var_changed_xyz callback for each xyz variable. 6 have a common template. ConfigDialog turns tracing on in attach_var_callbacks and off in remove_

[issue30814] Import dotted name as alias breaks with concurrency

2017-07-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2650 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30814] Import dotted name as alias breaks with concurrency

2017-07-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have came to the same conclusion. PR 2580 adds a double check in _bootstrap._find_and_load() (and also moves the locking into it). It also simplifies the C code by removing the fast path for the case sys.module[name] is None. -- stage: -> patch r

[issue30844] selectors: Add urgent data to read event

2017-07-04 Thread Pim Klanke
Changes by Pim Klanke : -- title: selectors: Add exceptional conditions event -> selectors: Add urgent data to read event ___ Python tracker ___

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-07-04 Thread STINNER Victor
STINNER Victor added the comment: Steve Dower: "The approach used to suppress this warning will also suppress other warnings that might be fixable. Hard to say it's definitely a good thing in this case, though in general I agree that selectively suppressing warnings that cannot be fixed is a g

[issue30847] asyncio: selector_events: add_urgent() for urgent data to read, 3rd argument of select.select()

2017-07-04 Thread Pim Klanke
Changes by Pim Klanke : -- title: asyncio: selector_events: add_excepter(), 3rd argument of select.select() -> asyncio: selector_events: add_urgent() for urgent data to read, 3rd argument of select.select() ___ Python tracker

<    1   2