summaryrefslogtreecommitdiffstats
path: root/src/if_python3.c
AgeCommit message (Collapse)Author
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.
2016-02-06patch 7.4.1270v7.4.1270Bram Moolenaar
Problem: Warnings for missing values in switch. Solution: Change switch to if-else or add values.
2016-01-30patch 7.4.1208v7.4.1208Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-29patch 7.4.1198v7.4.1198Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
2016-01-09patch 7.4.1065v7.4.1065Bram Moolenaar
Problem: Cannot use the "dll" options on MS-Windows. Solution: Support the options on all platforms. Use the built-in name as the default, so that it's clear what Vim is looking for.
2015-12-31patch 7.4.1012v7.4.1012Bram Moolenaar
Problem: Vim overwrites the value of $PYTHONHOME. Solution: Do not set $PYTHONHOME if it is already set. (Kazuki Sakamoto, closes #500)
2015-11-02patch 7.4.907v7.4.907Bram Moolenaar
Problem: Libraries for dynamically loading interfaces can only be defined at compile time. Solution: Add options to specify the dll names. (Kazuki Sakamoto, closes #452)
2015-10-07patch 7.4.890v7.4.890Bram Moolenaar
Problem: Build failure when using dynamic python but not python3. Solution: Adjust the #if to also include DYNAMIC_PYTHON3 and UNIX.
2015-02-03updated for version 7.4.611v7.4.611Bram Moolenaar
Problem: Syntax error. Solution: Change statement to return.
2015-02-03updated for version 7.4.609v7.4.609Bram Moolenaar
Problem: For complicated list and dict use the garbage collector can run out of stack space. Solution: Use a stack of dicts and lists to be marked, thus making it iterative instead of recursive. (Ben Fritz)
2014-03-30updated for version 7.4.228v7.4.228Bram Moolenaar
Problem: Compiler warnings when building with Python 3.2. Solution: Make type cast depend on Python version. (Ken Takata)
2014-01-14updated for version 7.4.153v7.4.153Bram Moolenaar
Problem: Compiler warning for pointer type. Solution: Add type cast.
2014-01-14updated for version 7.4.151v7.4.151Bram Moolenaar
Problem: Python: slices with steps are not supported. Solution: Support slices in Python vim.List. (ZyX)
2013-11-03updated for version 7.4.060v7.4.060Bram Moolenaar
Problem: Declaration has wrong return type for PyObject_SetAttrString(). Solution: Use int instead of PyObject. (Andreas Schwab)
2013-07-09updated for version 7.4a.008v7.4a.008Bram Moolenaar
Problem: Python 3 doesn't handle multibyte characters prooperly when 'encoding' is not utf-8. Solution: Use PyUnicode_Decode() instead of PyUnicode_FromString(). (Ken Takata)
2013-07-03updated for version 7.3.1299v7.3.1299Bram Moolenaar
Problem: Errors when doing "make proto". Didn't do "make depend" for a while. Solution: Add #ifdefs. Update dependencies. Update proto files.
2013-07-01updated for version 7.3.1287v7.3.1287Bram Moolenaar
Problem: Python SystemExit exception is not handled properly. Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken Takata)
2013-06-23updated for version 7.3.1236v7.3.1236Bram Moolenaar
Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED. Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
2013-06-23updated for version 7.3.1231v7.3.1231Bram Moolenaar
Problem: Python: use of numbers not consistent. Solution: Add support for Number protocol. (ZyX)
2013-06-23updated for version 7.3.1230v7.3.1230Bram Moolenaar
Problem: Python: Exception messages are not clear. Solution: Make exception messages more verbose. (ZyX)
2013-06-23updated for version 7.3.1229v7.3.1229Bram Moolenaar
Problem: Python: not so easy to delete/restore translating. Solution: Make macros do translation of exception messages. (ZyX) Note: this breaks translations!
2013-06-23updated for version 7.3.1228v7.3.1228Bram Moolenaar
Problem: Python: various inconsistencies and problems. Solution: StringToLine now supports both bytes() and unicode() objects. Make function names consistant. Fix memory leak fixed in StringToLine. (ZyX)
2013-06-13updated for version 7.3.1186v7.3.1186Bram Moolenaar
Problem: Python 3: test 87 may crash. Solution: Use _PyArg_Parse_SizeT instead of PyArg_Parse. (Jun Takimoto)
2013-06-12updated for version 7.3.1174v7.3.1174Bram Moolenaar
Problem: Python 2 and 3 use different ways to load modules. Solution: Use the same method. (ZyX)
2013-06-10updated for version 7.3.1163v7.3.1163Bram Moolenaar
Problem: Not easy to load Python modules. Solution: Search "python2", "python3" and "pythonx" directories in 'runtimepath' for Python modules. (ZyX)
2013-06-10updated for version 7.3.1158v7.3.1158Bram Moolenaar
Problem: Crash when running test 86. (Jun Takimoto) Solution: Define PY_SSIZE_T_CLEAN early. (Elimar Riesebieter)
2013-06-02updated for version 7.3.1099v7.3.1099Bram Moolenaar
Problem: Python: Changing directory with os.chdir() causes problems for Vim's notion of directories. Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
2013-05-30updated for version 7.3.1065v7.3.1065Bram Moolenaar
Problem: Python: key mapping is not standard. Solution: Puthon patch 24: use PyMapping_Keys. (ZyX)
2013-05-30updated for version 7.3.1061v7.3.1061Bram Moolenaar
Problem: Python: Dictionary is not standard. Solution: Python patch 20: Add standard methods and fields. (ZyX)
2013-05-30updated for version 7.3.1059v7.3.1059Bram Moolenaar
Problem: Python: Using fixed size buffers. Solution: Python patch 18: Use python's own formatter. (ZyX)
2013-05-29updated for version 7.3.1047v7.3.1047Bram Moolenaar
Problem: Python: dir() does not work properly. Solution: Python patch 8. Add __dir__ method to all objects with custom tp_getattr supplemented by __members__ attribute for at least python-2* versions. __members__ is not mentioned in python-3* dir() output even if it is accessible. (ZyX)
2013-05-29updated for version 7.3.1044v7.3.1044Bram Moolenaar
Problem: Python: No {Buffer,TabPage,Window}.valid attributes. Solution: Python patch 5: add .valid (ZyX)
2013-05-29updated for version 7.3.1042v7.3.1042Bram Moolenaar
Problem: Python: can't assign to vim.Buffer.name. Solution: Python patch 3. (ZyX)
2013-05-29updated for version 7.3.1040v7.3.1040Bram Moolenaar
Problem: Python: Problems with debugging dynamic build. Solution: Python patch 1. (ZyX)
2013-05-21updated for version 7.3.1003v7.3.1003Bram Moolenaar
Problem: Python interface does not compile with Python 2.2 Solution: Fix thread issues and True/False. (ZyX)
2013-05-21updated for version 7.3.998v7.3.998Bram Moolenaar
Problem: Python: garbage collection issues. Solution: Fix the GC issues: Use proper DESTRUCTOR_FINISH: avoids negative refcounts, use PyObject_GC_* for objects with tp_traverse and tp_clear, add RangeTraverse and RangeClear, use Py_XDECREF in some places. (ZyX)
2013-05-21updated for version 7.3.995v7.3.995Bram Moolenaar
Problem: Python: Module initialization is duplicated. Solution: Move to shared file. (ZyX)
2013-05-21updated for version 7.3.994v7.3.994Bram Moolenaar
Problem: Python: using magic constants. Solution: Use descriptive values for ml_flags. (ZyX)