Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between python3.<x> and python3.<x>m [duplicate]

  • What does the m stand for in python3.6m ?
  • How does it differ to non m version?
  • In which case would I prefer to use python3.6m rather than python3.6?
like image 339
Michael D. Avatar asked Jan 11 '17 11:01

Michael D.


People also ask

What is Python M version?

The m suffix means specifically a "pymalloc" build of Python, and it may mean that the ABI of 3.3 on your platform is not the same as the ABI of 3.3m ; extension modules must be built for the specific ABI in question. This means that 3.3 extension modules won't work with 3.3m and vice-versa.

What is python3 6m?

python3.6m: an interpreted, interactive, object-oriented programming language.

Is Python 3.8 or 3.7 better?

Optimizations. In this case, the list uses about 11% less memory in Python 3.8 compared with Python 3.7. Other optimizations include better performance in subprocess , faster file copying with shutil , improved default performance in pickle , and faster operator.

Is Python 3.6 deprecated?

Following the release of Python 3.9, Vercel is deprecating support for Python 3.6 which reached end of life last year. On July 18th 2022, new deployments targeting Python 3.6 will fail with an error message. Existing deployments will be unaffected.


1 Answers

What does the m stand for in python3.6m?

It signifies that Python was configured --with-pymalloc which enables a specialized implementation for allocating memory that's faster than the system malloc.

How does it differ to non m version?

The non m version is, obviously, not configured with it.

In which case would I prefer to use python3.6m rather than python3.6?

Probably most usefull when writing C extensions, in general it shouldn't be something you should worry about.

like image 93
Dimitris Fasarakis Hilliard Avatar answered Oct 12 '22 17:10

Dimitris Fasarakis Hilliard