diff --git a/Day 3 reading notes.md b/Day 3 reading notes.md index 128a15d..23a158c 100644 --- a/Day 3 reading notes.md +++ b/Day 3 reading notes.md @@ -8,3 +8,8 @@ The reason why the language reference is specific about saying that containers c Keep in mind that Python itself may sometimes change the identity of an object, such as when promoting an integer to a bignum because it got too large, but that doesn't affect the other guarantees expressed here. +## 3.2 + +The phrase "access to the implementation" is a warning sign saying "don't do this." Python, the language, is an abstract concept which makes certain guarantees that if you type Python code and run it, certain things will happen. There are many different implementations of Python (see chapter 1). Poking around in how the implementation works breaks the guarantee that Python code will run the same on CPython, Jython, etc, and is generally only done for performance or troubleshooting reasons. + +Exercise: see how it says "It should not be evaluated in a boolean context."? Do it anyway. \ No newline at end of file