Raymond is an excellent speaker, thanks for hosting this. Also found out about traitlets module. Best talk on ABC. Had to copy the code from the video, but its a small price to pay for a persistent dictionary which is shareable and concurrent
The Validator example is in the Python Documentation How To he wrote about descriptors: docs.python.org/3/howto/descriptor.html#complete-practical-example
No, .keys() returns a KeysView, i.e. an iterable over the keys of the FileDict, and similarly .values() returns a ValuesView, an iterable over the values of FileDict. They just look similar because you see the FileDict printed out.
6:50 this regiter() nonsense seems like a great way to allow hackers to spoof being subclasses without knowing 100% of the internal methods of the abstract class
You know there's gonna be some good stuff when this guy shows up
I have yet to see a Hettinger talk that disappoints!!! Always great talks!!!
Such a delight watching him. Sparks my love for Python every time
So good to have someone who is in the core and knows the reason for the design.
Raymond is an excellent speaker, thanks for hosting this. Also found out about traitlets module. Best talk on ABC. Had to copy the code from the video, but its a small price to pay for a persistent dictionary which is shareable and concurrent
0:00 Introduction
1:29 What Abstract Base Classes are all about
9:59 Strategies for using ABC
41:06 Q&A
Excellent talk, learned a lot from Raymond!!!
many deep insights, which are hard to think all by yourself
Loving the FileDict, I already found a use for it, but I adjusted it a little to work with json
"Ruthless Tuition" - you couldn't avoid learning even if you tried
The Validator example is in the Python Documentation How To he wrote about descriptors: docs.python.org/3/howto/descriptor.html#complete-practical-example
Is there a link to the slides somewhere?
I am also not able to find it
plz, i need the document used, i can t access it
how can I access the content he's showing?
Seems like there is no link to the slides :(
36:30 validator example
Where can I get the slides?
also spoiler alert :D
min 33:07: starks.keys() and starks.values() return the same content, ie a list/tuple of (key, value) pair?
No, .keys() returns a KeysView, i.e. an iterable over the keys of the FileDict, and similarly .values() returns a ValuesView, an iterable over the values of FileDict. They just look similar because you see the FileDict printed out.
@@alexanderreynolds7638 thanks for pointing that out
you should have warned there were GoT spoilers inside! =) An amazing talk otherwise.
6:50 this regiter() nonsense seems like a great way to allow hackers to spoof being subclasses without knowing 100% of the internal methods of the abstract class
Secure python lulz