Demystifying Python Method Resolution Order

  • 기본과 응용
  • 2016-08-13 (토요일) 16:40 - 17:20
  • 영어
  • 101
  • 촬영, 녹화가 가능합니다.

슬라이드

https://slides.com/aktech/python-mro

발표 동영상

https://youtu.be/cuonAMJjHow

설명

Brief Background: It all started with a post by Samuele Pedroni to the Python development mailing list on 1 Oct 2002. In his post, Samuele showed that the Python 2.2 method resolution order is not monotonic and he proposed to replace it with the C3 method resolution order. Guido agreed with his arguments and therefore now Python 2.3 uses C3.

Hence, Python uses two algorithms for method resolution order. The Old MRO algorithm is very straight forward but the new one is not so easy to bring out. I will be discussing and explaining both the algorithm and I would also be talking a a bit about the background of this change and the benefits of new C3 Method Resolution Order.

댓글

blog comments powered by Disqus

후원사 목록

키스톤

다이아몬드

플래티넘

골드

스타트업

실버

미디어