Bug 1026502
Summary: | vim-enhanced does not provide python module and has weird compile options | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | laus <laus> |
Component: | vim | Assignee: | Karsten Hopp <karsten> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | karsten, nidi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-22 13:39:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
laus
2013-11-04 19:43:21 UTC
I second the request of enabling `+python3`, this is really required. I need to compile vim manually due to this. The current vim isn't linked with any python libs:
>ldd /usr/bin/vim | grep python
>
But it still loads the python library when required, the documentation about
python-dynamic being used on Windows only is misleading. In fact it is even required when you'd like to have support for both python2 and python3. See :help python-2-and-3 to get this info:
'When Python 2 and Python 3 are both supported they must be loaded dynamically'
But the next section in the 'python-2-and-3' documentation is what prevents me from enabling both:
'When doing this on Linux/Unix systems and importing global symbols, this leads
to a crash when the second Python version is used. So either global symbols
are loaded but only one Python version is activated, or no global symbols are
loaded. The latter makes Python's "import" fail on libraries that expect the
symbols to be provided by Vim.'
Using --enable-pythoninterp=yes doesn't make a difference in functionality, it just adds a dependency on the python libs which isn't always wanted when you don't use the python interface.
So no, I can't add --enable-python3interp=dynamic at the moment and using --enable-pythoninterp=yes doesn't make any real difference, :python import vim works in both cases.
|