Loading ...
Sorry, an error occurred while loading the content.

Patch 7.3.716

Expand Messages
  • Bram Moolenaar
    Patch 7.3.716 Problem: Error on exit when using Python 3. Solution: Remove PythonIO_Fini(). (Roland Puntaier) Files: src/if_python3.c ...
    Message 1 of 3 , Nov 20, 2012
    • 0 Attachment
      Patch 7.3.716
      Problem: Error on exit when using Python 3.
      Solution: Remove PythonIO_Fini(). (Roland Puntaier)
      Files: src/if_python3.c


      *** ../vim-7.3.715/src/if_python3.c 2012-10-23 05:17:33.000000000 +0200
      --- src/if_python3.c 2012-11-20 10:59:54.000000000 +0100
      ***************
      *** 657,663 ****
      static PyObject *globals;

      static int PythonIO_Init(void);
      - static void PythonIO_Fini(void);
      PyMODINIT_FUNC Py3Init_vim(void);

      /******************************************************
      --- 657,662 ----
      ***************
      *** 685,691 ****
      // acquire lock before finalizing
      pygilstate = PyGILState_Ensure();

      - PythonIO_Fini();
      Py_Finalize();
      }

      --- 684,689 ----
      ***************
      *** 989,1001 ****
      return PythonIO_Init_io();
      }

      - static void
      - PythonIO_Fini(void)
      - {
      - PySys_SetObject("stdout", NULL);
      - PySys_SetObject("stderr", NULL);
      - }
      -
      /******************************************************
      * 3. Implementation of the Vim module for Python
      */
      --- 987,992 ----
      *** ../vim-7.3.715/src/version.c 2012-11-14 22:38:04.000000000 +0100
      --- src/version.c 2012-11-15 21:40:47.000000000 +0100
      ***************
      *** 727,728 ****
      --- 727,730 ----
      { /* Add new patch number below this line */
      + /**/
      + 716,
      /**/

      --
      Nothing is fool-proof to a sufficiently talented fool.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      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
    • Charles Campbell
      ... Hello! This patch hasn t been entered onto ftp://ftp.home.vim.org/pub/vim/patches/7.3/7.3.716 yet... Chip Campbell -- You received this message from the
      Message 2 of 3 , Nov 20, 2012
      • 0 Attachment
        Bram Moolenaar wrote:
        > Patch 7.3.716
        > Problem: Error on exit when using Python 3.
        > Solution: Remove PythonIO_Fini(). (Roland Puntaier)
        > Files: src/if_python3.c
        >
        Hello!

        This patch hasn't been entered onto
        ftp://ftp.home.vim.org/pub/vim/patches/7.3/7.3.716 yet...

        Chip Campbell

        --
        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
      • Bram Moolenaar
        ... Hmm, uploading to the ftp site fails without any error message... Actually, the ftp site does have the files, but for some strange reason they don t show
        Message 3 of 3 , Nov 20, 2012
        • 0 Attachment
          Charles Campbell wrote:

          > Bram Moolenaar wrote:
          > > Patch 7.3.716
          > > Problem: Error on exit when using Python 3.
          > > Solution: Remove PythonIO_Fini(). (Roland Puntaier)
          > > Files: src/if_python3.c
          > >
          > Hello!
          >
          > This patch hasn't been entered onto
          > ftp://ftp.home.vim.org/pub/vim/patches/7.3/7.3.716 yet...

          Hmm, uploading to the ftp site fails without any error message...

          Actually, the ftp site does have the files, but for some strange reason
          they don't show up when accessing though ftp. Weird.

          --
          hundred-and-one symptoms of being an internet addict:
          42. Your virtual girlfriend finds a new net sweetheart with a larger bandwidth.

          /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
          /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
          \\\ an exciting new programming language -- http://www.Zimbu.org ///
          \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

          --
          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
        Your message has been successfully submitted and would be delivered to recipients shortly.