os.mkdir() would crash with a Unicode filename and mode param.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 975c343..d203378 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1863,7 +1863,7 @@
#ifdef Py_WIN_WIDE_FILENAMES
if (unicode_file_names()) {
PyUnicodeObject *po;
- if (PyArg_ParseTuple(args, "U|i:mkdir", &po)) {
+ if (PyArg_ParseTuple(args, "U|i:mkdir", &po, &mode)) {
Py_BEGIN_ALLOW_THREADS
/* PyUnicode_AS_UNICODE OK without thread lock as
it is a simple dereference. */