What the deal with python3.5m.so and python3.5.so ??

eryk sun eryksun at gmail.com
Tue Jun 28 09:32:02 EDT 2016


On Tue, Jun 28, 2016 at 10:51 AM, Steven Truppe <steven.truppe at chello.at> wrote:
>
> can someone tell me the difference between python3.5m.so and python3.5.so ??

The "m" suffix means that Python is configured "--with-pymalloc", i.e.
using specialized mallocs, including the small-object allocator. This
is the default configuration. You may also see a "dm" suffix for a
build that's configured "--with-pydebug" and "--with-pymalloc".

libpython3.5.so and libpython3.5m.so may actually link to the same
shared library:

    $ readlink libpython3.5.so
    ../../x86_64-linux-gnu/libpython3.5m.so.1

    $ readlink libpython3.5m.so
    ../../x86_64-linux-gnu/libpython3.5m.so.1



More information about the Python-list mailing list