About the show
Sponsored by us! Support our work through:
Connect with the hosts
Join us on YouTube at pythonbytes.fm/stream/live to be part of the audience. Usually Tuesdays at 11am PT. Older video versions available there too.
Brian #1: markdown-it-py
commonmark to markdown-it-py.Michael #2: Sketch
Brian #3: Fixing Circular Imports in Python with Protocol
abc moduleProtocol Protocol, it’s automatically considered a subtype of it. Therefore, a class can implement many Protocols from all kinds of packages without knowing about them!”Michael #4: unrepl
We’ve seen the code samples:
>>> board = []>>> for i in range(3):... row = ['_'] * 3... board.append(row)... >>> board[['_', '_', '_'], ['_', '_', '_'], ['_', '_', '_']]>>> board\[2\][0] = 'X' >>> board[['_', '_', '_'], ['_', '_', '_'], ['X', '_', '_']]But you cannot really run this code. You can’t paste it into a REPL yourself nor can you put it into a .py file.
Extras
Michael:
Joke: there's a bug in the js