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.

classification
Title: Visual Studio 2005 CRT error handler
Type: Stage:
Components: Interpreter Core, Windows Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: christian.heimes Nosy List: amaury.forgeotdarc, christian.heimes, shireii
Priority: normal Keywords:

Created on 2006-04-16 10:16 by shireii, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
invparamhandler.c christian.heimes, 2008-01-05 22:06
Messages (2)
msg28246 - (view) Author: ShireII (shireii) Date: 2006-04-16 10:16
Visual Studio 2005 CRT has new default behavior for 
invalid parameters. When invalid parameter is passed, 
function calls CrtDbgReport, and after - handler for 
invalid parameter. Default handler crushes application.

Solution - set handler on initialization and restore 
on uninitization. Sample source code - on attachment.

msg75774 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2008-11-12 01:37
Already implemented, since r47223.
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43221
2008-11-12 01:37:29amaury.forgeotdarcsetstatus: open -> closed
resolution: out of date
messages: + msg75774
nosy: + amaury.forgeotdarc
2008-01-05 22:06:39christian.heimessetfiles: - invparamfix.c
2008-01-05 22:06:29christian.heimessetfiles: + invparamhandler.c
2008-01-05 19:36:32christian.heimessetassignee: christian.heimes
nosy: + christian.heimes
components: + Windows
versions: + Python 2.6
2006-04-16 10:16:09shireiicreate