title: Mixing cdef and regular python attributes in cdef class
body: <p>i am learning Cython and now experimenting with it. I tried the basic cdef class sample program and it works perfectly.</p>
  
  <p>Now what i want to do is have a mix of cdef and non cdef mix of attributes in the cdef class type, something like this</p>
  
  <pre><code>cdef class Context:
      cdef public int byteIndex, bitIndex
  
      def __init__(self, msg = "", msg_len = 0):
          self.msg = msg 
          self.msg_len = msg_len 
          self.byteIndex = 0
          self.bitIndex = 7
  </code></pre>
  
  <p>but as soon as i instantiate the object i get error</p>
  
  <p><code>!! AttributeError: 'c_asnbase.Context' object has no attribute 'msg'</code></p>
  
  <p>Does this mean once you define a python class with cdef all self.* attributes have to be cdef defined?</p>