bokomslag Internals of Python 3.x
Data & IT

Internals of Python 3.x

Prashanth Raghu

Pocket

639:-

Funktionen begränsas av dina webbläsarinställningar (t.ex. privat läge).

Uppskattad leveranstid 7-12 arbetsdagar

Fri frakt för medlemmar vid köp för minst 249:-

  • 236 sidor
  • 2022

Internals of Python 3.x transform a programmer's learning path by emphasizing the source code over the syntax to teach things from the ground up in nearly the same amount of time and effort.


The book delves into the structure and distinctions between the primary Python object and iterable objects. The iterable types, namely, lists and tuples, have been thoroughly defined in the structure and operations. The internals of sets and dictionaries, which are data structures that provide O(1) insertion and search, have been thoroughly discussed. Memory allocation explains how Python handles memory for tiny and large objects. The chapter on GIL explains how the GIL works, which is halted by a semaphore and a conditional variable. The chapter on Async Python describes how the async module generates coroutines and async functions that can be executed on an event loop and interact through events.


After reading this book, you will be more confident to create high-performance code on a day-to-day basis.


TABLE OF CONTENTS

1. Design of Generic Objects

2. Basic Python Types

3. Iterable Sequence Objects

4. Set and Dictionary

5. Functions and Generators

6. Memory Management

7. Interpreter and Opcodes

8. GIL and Multithreading

9. Async Python

10. Source Code Layout and the Compiler Stages



  • Författare: Prashanth Raghu
  • Format: Pocket/Paperback
  • ISBN: 9789391030940
  • Språk: Engelska
  • Antal sidor: 236
  • Utgivningsdatum: 2022-01-07
  • Förlag: BPB Publications