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

[PATCH] Support for Python 3.3

Expand Messages
  • Ken Takata
    Hi, Attached patch adds support for Python 3.3. Some function names are changed because Unicode string representation is changed in Python 3.3. Additionally,
    Message 1 of 3 , Oct 5, 2012
    • 0 Attachment
      Hi,

      Attached patch adds support for Python 3.3.
      Some function names are changed because Unicode string representation
      is changed in Python 3.3.

      Additionally, initialization sequence is changed. According to the Python
      document, PyImport_AppendInittab() should be called before Py_Initialize().
      http://docs.python.org/py3k/c-api/import.html?highlight=pyimport_appendinittab#PyImport_AppendInittab
      Without this change, "import vim" causes an error.

      I checked this patch on Win32 + Python 3.3.

      Best regards,
      Ken Takata

      --
      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
      ... Is it backwards compatible with 3.1 and 3.2? -- LETTERS TO THE EDITOR (The Times of London) Dear Sir, I am firmly opposed to the spread of microchips
      Message 2 of 3 , Oct 5, 2012
      • 0 Attachment
        Ken Takata wrote:

        > Attached patch adds support for Python 3.3.
        > Some function names are changed because Unicode string representation
        > is changed in Python 3.3.
        >
        > Additionally, initialization sequence is changed. According to the Python
        > document, PyImport_AppendInittab() should be called before Py_Initialize().
        > http://docs.python.org/py3k/c-api/import.html?highlight=pyimport_appendinittab#PyImport_AppendInittab
        > Without this change, "import vim" causes an error.
        >
        > I checked this patch on Win32 + Python 3.3.

        Is it backwards compatible with 3.1 and 3.2?


        --
        LETTERS TO THE EDITOR (The Times of London)

        Dear Sir,

        I am firmly opposed to the spread of microchips either to the home or
        to the office.  We have more than enough of them foisted upon us in
        public places.  They are a disgusting Americanism, and can only result
        in the farmers being forced to grow smaller potatoes, which in turn
        will cause massive unemployment in the already severely depressed
        agricultural industry.

        Yours faithfully,
                Capt. Quinton D'Arcy, J. P.
                Sevenoaks

        /// 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
      • Ken Takata
        Hi Bram ... Yes. I also checked this patch with Python 3.2. Regards, Ken Takata -- You received this message from the vim_dev maillist. Do not top-post! Type
        Message 3 of 3 , Oct 5, 2012
        • 0 Attachment
          Hi Bram

          2012/10/06 Sat 5:32:00 UTC+9 Bram Moolenaar:
          > > I checked this patch on Win32 + Python 3.3.
          >
          >
          >
          > Is it backwards compatible with 3.1 and 3.2?

          Yes. I also checked this patch with Python 3.2.

          Regards,
          Ken Takata

          --
          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.