]> granicus.if.org Git - python/commit
issue 4804: Provide checks for the format string of strftime, and for the "mode...
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Wed, 4 Feb 2009 10:05:25 +0000 (10:05 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Wed, 4 Feb 2009 10:05:25 +0000 (10:05 +0000)
commitfd4c872726e650f1e43c4eed4fa7e7e326b3fee6
tree511e8c21bc40e5d71c8fd2328ff7fdbca2db8c11
parent8bdd3b3dcf38ba1b5bd460b3c309fb6a8ea1127c
issue 4804:  Provide checks for the format string of strftime, and for the "mode" string of fopen on Windows.  These strings are user provided from python and so we can avoid invoking the C runtime invalid parameter handler by first checking that they are valid.
Lib/test/test_file.py
Modules/timemodule.c
Objects/fileobject.c