This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhabacker
Recipients paul.moore, rhabacker, steve.dower, tim.golden, zach.ware
Date 2019-05-23.21:13:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558646019.4.0.18611977167.issue37025@roundup.psfhosted.org>
In-reply-to
Content
When I started Kicad under Windows I got the following error message in dbgview: "Python could not load the default activation context".

This message is issued by the Python runtime environment when checking the return value of the Windows API function AddRefActCtx() if the return value is zero (see https://github.com/python/cpython/blob/a3488e5902f5c26e5cc289aec2518e7b5058e5d1/PC/dl_nt.c#L107).

According to https://docs.microsoft.com/de-de/windows/desktop/api/winbase/nf-winbase-AddRefActCtx, this function does not return a value, which makes the check result dependent on temporary internal register/stack values and does not indicate a real problem.

This check should be completely removed so as not to waste the precious time of developers and users searching for the reason for this misleading message.

The corresponding definitions https://github.com/python/cpython/blob/2.7/PC/dl_nt.c#L36 (and line 37) should also be adjusted.

The issue is also present in version 2.7.
History
Date User Action Args
2019-05-23 21:13:39rhabackersetrecipients: + rhabacker, paul.moore, tim.golden, zach.ware, steve.dower
2019-05-23 21:13:39rhabackersetmessageid: <1558646019.4.0.18611977167.issue37025@roundup.psfhosted.org>
2019-05-23 21:13:39rhabackerlinkissue37025 messages
2019-05-23 21:13:38rhabackercreate