title: Is it correct to inherit from built-in classes?
body: <p>I want to parse an Apache <strong>access.log</strong> file with a python program in a certain way, and though I am completely new to object-oriented programming, I want to start doing it now.</p>
  
  <p>I am going to create a class <strong>ApacheAccessLog</strong>, and the only thing I can imagine now, it will be doing is '<strong>readline</strong>' method. Is it conventionally correct to inherit from the builtin <strong>file</strong> class in this case, so the class will behave just like an instance of the <strong>file</strong> class itself, or not? What is the best way of doing that?</p>