Go to file
Luciano Ramalho 28d6d03315
Merge pull request #21 from ScottMcCormack/ch02
ch02 notebook updates
2022-04-24 17:41:30 -03:00
01-data-model ch01-12: clean up by @eumiro 2021-02-14 20:28:07 -03:00
02-array-seq 2nd edition updates 2022-03-14 21:58:48 +08:00
03-dict-set missing.py example 2021-08-02 22:00:17 -03:00
04-text-byte updated from Atlas 2021-08-07 00:44:01 -03:00
05-data-classes moved lispy from 02 to 18 2021-09-15 22:48:08 -03:00
06-obj-ref Modernize code to Python 3.6+ and some cleanup 2021-01-31 22:48:38 +01:00
07-1class-func updated from Atlas 2021-08-07 00:44:01 -03:00
08-def-type-hints covariance v. contravariance in Callable 2022-04-01 17:23:12 -03:00
09-closure-deco updated from Atlas 2021-08-07 00:44:01 -03:00
10-dp-1class-func updated from Atlas 2021-08-07 00:44:01 -03:00
11-pythonic-obj 2e reviewed manuscript 2021-11-12 11:33:12 -03:00
12-seq-hacking updated from Atlas 2021-08-07 00:44:01 -03:00
13-protocol-abc updated from Atlas 2021-08-07 00:44:01 -03:00
14-inheritance updated from Atlas 2021-08-07 00:44:01 -03:00
15-more-types sync from Atlas 2021-08-25 14:46:57 -03:00
16-op-overloading sync from Atlas 2021-08-25 14:46:57 -03:00
17-it-generator minor refactorings 2021-10-22 14:59:04 -03:00
18-with-match 2e reviewed manuscript 2021-11-12 11:33:12 -03:00
19-concurrency sync from Atlas 2021-10-05 09:52:43 -03:00
20-executors 2e reviewed manuscript 2021-11-12 11:33:12 -03:00
21-async 2e reviewed manuscript 2021-11-12 11:33:12 -03:00
22-dyn-attr-prop 2e reviewed manuscript 2021-11-12 11:33:12 -03:00
23-descriptor 2e reviewed manuscript 2021-11-12 11:33:12 -03:00
24-class-metaprog 2e reviewed manuscript 2021-11-12 11:33:12 -03:00
links updated link to String Format String Syntax in Python 3 2022-02-21 18:21:28 -03:00
.gitignore updated files from Atlas 2020-03-11 18:50:06 -03:00
LICENSE ch11-24: clean up by @eumiro & sync with Atlas 2021-02-14 20:58:46 -03:00
README.md renumbered book parts 2022-03-09 18:35:41 -03:00
pytest.ini updade from Atlas repo 2021-05-21 18:56:12 -03:00

README.md

Fluent Python 2e example code

Example code for the book Fluent Python, Second Edition by Luciano Ramalho (O'Reilly, 2022).

Table of Contents

All chapters are undergoing review and updates, including significant rewrites in the chapters about concurrency in Part V.

New chapters in Fluent Python 2e are marked with 🆕.

🚨  This table of contents is subject to change at any time until the book goes to the printer.
Latest change: Old Part I—Prologue merged into new Part I—Data Structures; parts renumbered accordingly; chapter numbers unchanged.

Part / Chapter # Title Directory 1st ed. Chapter #
I Data Structures
1 The Python Data Model 01-data-model 1
2 An Array of Sequences 02-array-seq 2
3 Dictionaries and Sets 03-dict-set 3
4 Unicode Text versus Bytes 04-text-byte 4
5 Data Class Builders 05-data-classes 🆕
6 Object References, Mutability, and Recycling 06-obj-ref 8
II Functions as Objects
7 Funcions as First-Class Objects 07-1class-func 5
8 Type Hints in Functions 08-def-type-hints 🆕
9 Decorators and Closures 09-closure-deco 7
10 Design Patterns with First-Class Functions 10-dp-1class-func 6
III Object-Oriented Idioms
11 A Pythonic Object 11-pythonic-obj 9
12 Special Methods for Sequences 12-seq-hacking 10
13 Interfaces, Protocols, and ABCs 13-protocl-abc 11
14 Inheritance: For Better or For Worse 14-inheritance 12
15 More About Type Hints 15-more-types 🆕
16 Operator Overloading 16-op-overloading 13
IV Control Flow
17 Iterators, Generators, and Classic Coroutines 17-it-generator 14
18 with, match, and else Blocks 18-with-match 15
19 Concurrency Models in Python 19-concurrency 🆕
20 Concurrent Executors 20-executors 17
21 Asynchronous Programming 21-async 18
V Metaprogramming
22 Dynamic Attributes and Properties 22-dyn-attr-prop 19
23 Attribute Descriptors 23-descriptor 20
24 Class Metaprogramming 24-class-metaprog 21