summaryrefslogtreecommitdiffstats
path: root/src/if_python3.c
AgeCommit message (Collapse)Author
2022-02-07patch 8.2.4317: MS-Windows: Vim exits when Python 3 initialisation failsv8.2.4317Bram Moolenaar
Problem: MS-Windows: Vim exits when Python 3 initialisation fails. Solution: Hook into the exit() function to recover from the failure. (Ken Takata, closes #9710)
2022-01-05patch 8.2.4010: error messages are spread outv8.2.4010Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-01patch 8.2.3977: error messages are spread outv8.2.3977Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-01patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-27patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle
Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
2021-07-24patch 8.2.3208: dynamic library load error does not mention why it failedv8.2.3208Martin Tournoij
Problem: Dynamic library load error does not mention why it failed. Solution: Add the error message. (Martin Tournoij, closes #8621)
2021-06-14patch 8.2.2995: linker errors with dynamic Python 3.10v8.2.2995Zdenek Dohnal
Problem: Linker errors with dynamic Python 3.10. Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381, closes #8356)
2020-12-25patch 8.2.2211: MS-Windows: can't load Python dll if not in the pathv8.2.2211Bram Moolenaar
Problem: MS-Windows: can't load Python dll if not in the path. Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540)
2020-12-21patch 8.2.2178: Python 3: non-utf8 character cannot be handledv8.2.2178Bram Moolenaar
Problem: Python 3: non-utf8 character cannot be handled. Solution: Change the string decode. (Björn Linse, closes #1053)
2020-10-21patch 8.2.1883: compiler warnings when using Pythonv8.2.1883Bram Moolenaar
Problem: Compiler warnings when using Python. Solution: Adjust PyCFunction to also have the second argument. Use "int" return type for some functions. Insert "(void *)" to get rid of the remaining warnings.
2020-10-11patch 8.2.1834: PyEval_InitThreads() is deprecated in Python 3.9v8.2.1834Bram Moolenaar
Problem: PyEval_InitThreads() is deprecated in Python 3.9. Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken Takata, closes #7113) Avoid warnings for functions.
2020-10-10patch 8.2.1830: MS-Windows: Python3 issue with stdinv8.2.1830Bram Moolenaar
Problem: MS-Windows: Python3 issue with stdin. Solution: Check if stdin is readable. (Ken Takata, closes #7106)
2020-10-06patch 8.2.1806: MS-Windows with Python: Vim freezes after import commandv8.2.1806Bram Moolenaar
Problem: MS-Windows with Python: Vim freezes after import command. Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro Matsumoto, closes #7083)
2020-10-03patch 8.2.1790: MS-Windows with Python: crash when executed from Vifmv8.2.1790Bram Moolenaar
Problem: MS-Windows with Python: crash when executed from Vifm. Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053)
2020-08-06patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirectedv8.2.1381Bram Moolenaar
Problem: MS-Windows: crash with Python 3.5 when stdin is redirected. Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
2020-07-16patch 8.2.1225: linker errors when building with dynamic Python 3.9v8.2.1225Bram Moolenaar
Problem: Linker errors when building with dynamic Python 3.9. Solution: Add #defined items. (closes #6461)
2020-07-06patch 8.2.1146: not enough testing for Pythonv8.2.1146Bram Moolenaar
Problem: Not enough testing for Python. Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan, closes #6392)
2020-03-29patch 8.2.0479: unloading shared libraries on exit has no purposev8.2.0479Bram Moolenaar
Problem: Unloading shared libraries on exit has no purpose. Solution: Do not unload shared libraries on exit.
2020-03-04patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTALv8.2.0354Bram Moolenaar
Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal) Solution: Remove it, it was only for debugging.
2020-02-26patch 8.2.0319: file missing in distribution, comments outdatedv8.2.0319Bram Moolenaar
Problem: File missing in distribution, comments outdated. Solution: Correct path of README file. Update comments.
2019-12-04patch 8.1.2387: using old C style commentsv8.1.2387Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-10-23patch 8.1.2201: cannot build with dynamically linked Python 3.8v8.1.2201Bram Moolenaar
Problem: Cannot build with dynamically linked Python 3.8. Solution: Implement py3__Py_DECREF() and py3__Py_XDECREF(). (Ken Takata, closes #4080)
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
2019-05-24patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar
Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
2019-03-30patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
2019-03-19patch 8.1.1021: pyeval() and py3eval() leak memoryv8.1.1021Bram Moolenaar
Problem: pyeval() and py3eval() leak memory. Solution: Do not increase the reference count twice. (Ozaki Kiichi, closes #4129)
2019-03-19patch 8.1.1020: compiler warning for Python3 interfacev8.1.1020Bram Moolenaar
Problem: Compiler warning for Python3 interface. Solution: Add type cast. (Ozaki Kiichi, closes #4128, closes #4103)
2019-02-18patch 8.1.0950: using :python sets 'pyxversion' even when not executedv8.1.0950Bram Moolenaar
Problem: Using :python sets 'pyxversion' even when not executed. Solution: Check the "skip" flag. (Shane Harper, closes #3995)
2019-02-17patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
2019-01-12patch 8.1.0735: cannot handle binary datav8.1.0735Bram Moolenaar
Problem: Cannot handle binary data. Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-07-04patch 8.1.0147: compiler warning when building with Python 3.7v8.1.0147Bram Moolenaar
Problem: Compiler warning when building with Python 3.7. Solution: #undef PySlice_GetIndicesEx before redefining it. (Ozaki Kiichi, closes #3153)
2018-05-15patch 8.0.1846: Python interface is incompatible with lldbv8.0.1846Bram Moolenaar
Problem: Python interface is incompatible with lldb. Solution: For OutputType set the base to be PyFile_Type. (Boxu Zhang) Partly disabled to avoid a crash.
2018-04-14patch 8.0.1709: some non-C89 code may slip throughv8.0.1709Bram Moolenaar
Problem: Some non-C89 code may slip through. Solution: Enforce C89 in configure. Fix detected problems. (James McCoy, closes #2735)
2018-03-29patch 8.0.1654: warnings for conversion of void to function pointerv8.0.1654Bram Moolenaar
Problem: Warnings for conversion of void to function pointer. Solution: Use a temp variable that is a function pointer.
2018-03-24patch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3v8.0.1635Bram Moolenaar
Problem: Undefining _POSIX_THREADS causes problems with Python 3. (Micah Bucy, closes #2748) Solution: Remove the lines.
2018-01-31patch 8.0.1451: difficult to set the python home directories properlyv8.0.1451Bram Moolenaar
Problem: It is difficult to set the python home directory properly for Python 2.7 and 3.5 since both use $PYTHONHOME. Solution: Add the 'pythonhome' and 'pythonthreehome' options. (Kazuki Sakamoto, closes #1266)
2017-10-28patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar
Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
2017-07-07patch 8.0.0698: crash on exit when using Python function in timer.v8.0.0698Bram Moolenaar
Problem: When a timer uses ":pyeval" or another Python command and it happens to be triggered while exiting a Crash may happen. (Ricky Zhou) Solution: Avoid running a Python command after python_end() was called. Do not trigger timers while exiting. (closes #1824)
2017-01-28patch 8.0.0251: not easy to select Python 2 or 3v8.0.0251Bram Moolenaar
Problem: It is not so easy to write a script that works with both Python 2 and Python 3, even when the Python code works with both. Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata)
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-04-21patch 7.4.1769v7.4.1769Bram Moolenaar
Problem: No "closed", "errors" and "encoding" attribute on Python output. Solution: Add attributes and more tests. (Roland Puntaier, closes #622)
2016-04-14patch 7.4.1731v7.4.1731Bram Moolenaar
Problem: Python: turns partial into simple funcref. Solution: Use partials like partials. (Nikolai Pavlov, closes #734)
2016-03-14patch 7.4.1559v7.4.1559Bram Moolenaar
Problem: Passing cookie to a callback is clumsy. Solution: Change function() to take arguments and return a partial.
2016-02-16patch 7.4.1334v7.4.1334Bram Moolenaar
Problem: Many compiler warnings with MingW. Solution: Add type casts. (Yasuhiro Matsumoto)
2016-02-13patch 7.4.1315v7.4.1315Bram Moolenaar
Problem: Using a channel handle does not allow for freeing it when unused. Solution: Add the Channel variable type.
2016-02-07patch 7.4.1280v7.4.1280Bram Moolenaar
Problem: Missing case value. Solution: Add VAR_JOB.
2016-02-06patch 7.4.1272v7.4.1272Bram Moolenaar
Problem: Using future enum value. Solution: Remove it.