What is the Global Interpreter Lock (GIL) in Python?
Answer / nashiinformaticssolutions
The GIL is a mechanism that prevents multiple native threads from executing Python bytecodes at once. It can affect the performance of multi-threaded programs.
| Is This Answer Correct ? | 0 Yes | 0 No |
What will be the output of the code:def foo (i=[])?
How to pass optional or keyword parameters from one function to another in python?
What is the use of metaclass in python?
How can the ternary operators be used in python?
What is os module will do in python?
Why is not__getattr__invoked when attr==’__str__’?
What good is recursion?
Why are we using self as first argument?
Explain how can you generate random numbers in python?
How to find whether string is alphanumeric or not?
Differentiate between .py and .pyc files?
How many data types are there in python?