вторник, 4 июня 2013 г., 1:57:55 UTC+4 пользователь Ken Takata написал: > Hi, > > 2013/06/03 Mon 21:01:27 UTC+9 Ken Takata wrote: > > There is still another problem on Windows. > > The following commands cause a crash: > > > > :py import vim > > :py vim.fchdir() > > > > I think NULL check of _chdir is needed in _VimChdir(), > > or vim.fchdir should be undefined on Windows. > > Attached patch at least fixes the crash. > But I still think vim.fchdir should be removed on Windows. > > Thanks, > Ken Takata
os.fchdir does not exist there. And vim.*chdir is similar to posix.chdir: you are not supposed to use this directly, but it holds implementation of functions in os.* in case somebody needs this. Even tests are using os.*, not vim.*. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
