Writing Python in a Nutshell 4th Edition
Writing Python in a Nutshell 4th Edition
● Since 3.0…
○ text strings default to Unicode (good!)
○ identifiers may contain unicode (hmmm…)
■ They get normalized (NFKC, not NFC as rec'd in UAX#31!)
■ see PEP 672 (https://peps.python.org/pep-0672)
■ and devote your time (I estimate: several months!) to study
https://www.unicode.org/versions/Unicode15.0.0/UnicodeStandar
d-15.0.pdf and https://www.unicode.org/reports/ (all of them!)
Middle Dot “·” is a Valid Identifier Character
Discount code for 40% off, good thru May 31, 2023:
https://play.google.com/redeem?code=61P98Z8G5R20U
Upcoming book signings (tentative):
● North Bay Python https://2023.northbaypython.org/
● PyBay https://www.sfpythonmeetup.com/
Q&A