Author mark.dickinson
Recipients Decorater, brett.cannon, jkloth, mark.dickinson, ncoghlan, paul.moore, python-dev, steve.dower, tim.golden, vstinner, yan12125, zach.ware
Date 2016-09-09.08:55:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It looks as though this change in posixmodule.c is the cause:

 #ifdef MS_WINDOWS
-        if (path->wide)
-            fd = _wopen(path->wide, flags, mode);
-        else
+        fd = _wopen(path->wide, flags, mode);
         if (dir_fd != DEFAULT_DIR_FD)
             fd = openat(dir_fd, path->narrow, flags, mode);
             fd = open(path->narrow, flags, mode);

The move of the final #endif means that `fd` is not defined on OS X. If I move the #endif back again, the compile succeeds.
Date User Action Args
2016-09-09 08:55:59mark.dickinsonsetrecipients: + mark.dickinson, brett.cannon, paul.moore, ncoghlan, vstinner, tim.golden, jkloth, python-dev, zach.ware, steve.dower, yan12125, Decorater
2016-09-09 08:55:59mark.dickinsonsetmessageid: <>
2016-09-09 08:55:59mark.dickinsonlinkissue27781 messages
2016-09-09 08:55:59mark.dickinsoncreate