numpy/numpy — pull request #5334 by hensing (2014-12-02 08:29:24+00:00)
Title: BUG TST: Closes #5313 PyArray_AsCArray caused segfault and adds testcase

This pull-request combines a cherry pick of a4163c4 (BUG: Closes #5313 PyArray_AsCArray caused segfault) and adds new test cases for PyArray_AsCArray.
Thus pull-request #5330 is now superfluous.