Fix potential file i/o problem with python handles.

llvm-svn: 250838
This commit is contained in:
Zachary Turner
2015-10-20 17:38:49 +00:00
parent cffe8caed3
commit 32064024b9
4 changed files with 50 additions and 37 deletions

View File

@@ -605,6 +605,11 @@ PythonDictionary::CreateStructuredDictionary() const
return result;
}
PythonFile::PythonFile()
: PythonObject()
{
}
PythonFile::PythonFile(File &file, const char *mode)
{
Reset(file, mode);