Staging
v0.5.1
https://github.com/python/cpython
Revision ad845becf29afe0507a46a4b885a9670b5d7639d authored by Miss Islington (bot) on 17 September 2019, 03:32:55 UTC, committed by GitHub on 17 September 2019, 03:32:55 UTC

It no longer tries to create or access .idlerc or any files within.
Users must run IDLE to discover problems with saving settings.
(cherry picked from commit 0048afc16a7e7301d5c565237db271505e5fbed9)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
1 parent 7076764
Raw File
Tip revision: ad845becf29afe0507a46a4b885a9670b5d7639d authored by Miss Islington (bot) on 17 September 2019, 03:32:55 UTC
bpo-38183: Test_idle ignores user config directory GH-16198)
Tip revision: ad845be
invalid_parameter_handler.c
#ifdef _MSC_VER

#include <stdlib.h>

#if _MSC_VER >= 1900
/* pyconfig.h uses this function in the _Py_BEGIN/END_SUPPRESS_IPH
 * macros. It does not need to be defined when building using MSVC
 * earlier than 14.0 (_MSC_VER == 1900).
 */

static void __cdecl _silent_invalid_parameter_handler(
    wchar_t const* expression,
    wchar_t const* function,
    wchar_t const* file,
    unsigned int line,
    uintptr_t pReserved) { }

_invalid_parameter_handler _Py_silent_invalid_parameter_handler = _silent_invalid_parameter_handler;

#endif

#endif
back to top