...
- Item 26: Mixins
- Good to see practice formalized
- No __init__ was a new practice for us. Would add cleanliness to some code.
- Item 28: collections.abc
- Fluently pythonic objects are great. We should do more of them. This makes it easy.
April 20, 2016 Notes: Chapter 5
Attending
Cliff Dyer (Deactivated) Eric Fischer (Deactivated) Ned Batchelder (Deactivated) Renzo Lucioni (Deactivated) Michael Katz (Deactivated) Nimisha Asthagiri (Deactivated) akivaR (Deactivated)
Notes
- Coroutines: Confusing example. What is the benefit?
- Separates dumb client and smart server
- Probably not the kind of thing we want to write in edX production code (probably)
- concurrent.futures
- Allows you to send data in chunks
- When to use threads vs. concurrent.futures:
- lower level – to implement different patterns of work.
- subprocess doesn't let you interact with the called process. Use pyexpect ( ?)
- subprocess creates two threads to deal with I&O,
- LMS Grading has a five day timeout before getting hard-killed.
- This should be parallelizable.