2019-09-08

0: The Table of Contents of the Series, 'Let Me Understand the Python Programming Language'

| The table of contents of this series | The next article in this series>

Table of Contents


1: The Revealed Reality of "Duck Typing"
In fact, "Duck Typing" does not represent the reality well. 'Dodo Typing' or 'Duckelatta Typing' will be a more suitable name.
2: Minimal Guide for Static Types Checking for Python with mypy
Meant to be sufficient (mostly), although minimal, while the mypy official document is not minimal and most introductions are not sufficient.
3: Why Python Variables Should Be Called 'Pointers'
Not admitting Python (and Java "reference type") variables to be pointers is quite unwise, and is a culprit for some needlessly jumbled discourses.
4: To Use or Not to Use mypy Strict Optional-Checking Feature
In fact, the feature is rather dull-witted. Here cited are some cases, which may render the feature too annoying to be worth using.
5: Resolve Python Cyclic Import Without Deforming the Structure
Cyclic dependency is quite natural and OK domain-model-wise. You should not be advised to deform the structure just because Python cannot handle it.
6: A Python Objects Pipe, Which Conveys Objects Serially
Serially because otherwise, the memory would be used up. A for-objects Python equivalent to 'java.io.PipedWriter' + 'java.io.PipedReader'.
7: Pass-by-Value or Pass-by-Reference in Python?, Most Succinctly
Those ugly prevalent explanations should be dismissed, along with the ill-advised terminology that necessities them. This answer should be enough.
8: A Python String Pipe, Which Conveys Any String Serially
Serially because otherwise, the memory would be used up. A Python equivalent for Java 'java.io.PipedWriter' + 'java.io.PipedReader'.
9: Interrupting Any Standard Input Wait in Python
A universal solution, which lets any thread start waiting, be interrupted, and restart waiting at any time. The input can be also non-standard.
10: Dynamically Importing Any Python Module from Any Source
The source may not be any OS file, but a HTTP, FTP, etc. resource, a database item, a program, or whatever, possibly for dynamic module contents.
11: Mending Any mypy Stub in the 'typeshed' Repository
There may be some mistakes in the 'typeshed' repository. Here is how to mend them.
12: A Multi-Formats Composite from and to the Clipboard, in Python, with wxPython
wxPython is used. Not just the text format. Many formats are supported.
13: Python Subprocess: Asynchronously Relay Standard In-Out-Puts
That just-wait-for-completion 'subprocess.run' is not my option. A way of inter-processes communication. Interrupt the relays. A utility class.
14: Not "Pythonic"? A Joke, Right?
I think that code should be less-buggy, more-responsive, higher-throughput, more-maintainable, and what else? Should it be "Pythonic"?


| The table of contents of this series | The next article in this series>