On Jun 5, 2013 7:50 PM, "Ken Takata" <[email protected]> wrote: > > Hi, > > 2013/06/05 Web 13:07:20 UTC+9 ZyX wrote: > > vim._*chdir is holding original implementations: I do not want to collect references at exit in python*_end() functions if I can just record them in the vim module and be sure that they both won’t get garbage-collected and will be correctly Py_DECREFed at exit. > > I have updated the patch. > Now the patch adds a NULL check to avoid a crash, and also adds > help messages which say that vim.*chdir are used internally. > The messages can be seen when type the following commands: > > :py help(vim.chdir) > :py help(vim.fchdir) > > Thanks, > Ken Takata
Now os.chdir claims it is for internal use only. "Like posix.chdir" also means that os.chdir is vim.chdir. You just should not use chdir from vim module, but use it from os module. > > -- > -- > 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. > > -- -- 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.
