title: cython issue: 'bool' is not a type identifier
body: <p>I'm desperately trying to expose a <code>std::vector&lt;bool&gt;</code> class member to a Python class.</p>
  
  <p>Here is my C++ class:</p>
  
  <pre><code>class Test
  {
    public:
      std::vector&lt;bool&gt; test_fail;
      std::vector&lt;double&gt; test_ok;
  };
  </code></pre>
  
  <p>While the access and conversion of <code>test_ok</code> of type <code>double</code> (or int, float, ..) works, it does not for <code>bool</code>!</p>
  
  <p>Here is my Cython class:</p>
  
  <pre><code>cdef class pyTest:
       cdef Test* thisptr
       cdef public vector[bool] test_fail
       cdef public vector[double] test_ok
  
       cdef __cinit__(self):
           self.thisptr = new Test()
           self.test_fail = self.thisptr.test_fail # compiles and works if commented
           self.test_ok = self.thisptr.test_ok
  
       cdef __dealloc__(self):
           del self.thisptr
  </code></pre>
  
  <p>The error I get is :</p>
  
  <pre><code>Error compiling Cython file:
  ------------------------------------------------------------
  ...
  
  
  
  
  cdef extern from *:
      ctypedef bool X 'bool'
              ^
  ------------------------------------------------------------
  
  vector.from_py:37:13: 'bool' is not a type identifier
  </code></pre>
  
  <p>I'm using python 2.7.6 and Cython 0.20.2 (also tried 0.20.1).</p>
  
  <p>I also tried with properties but it does not work either.</p>
  
  <p><strong>Addendum:</strong> I do have the <code>from libcpp cimport bool</code> at the top of my pyx file, as well as the vector import.</p>
  
  <p>What's wrong ?? I believe this might be a bug. Anyone knows how to circumvent this ? Thanks.</p>