MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _PyVerify_Mode_WINNT

Function _PyVerify_Mode_WINNT

Objects/fileobject.c:193–263  ·  view source on GitHub ↗

The CRT on windows compiled with Visual Studio 2005 and higher may * assert if given invalid mode strings. This is all fine and well * in static languages like C where the mode string is typcially hard * coded. But in Python, were we pass in the mode string from the user, * we need to verify it first manually */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_PyFile_SanitizeModeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected