• Mark Dickinson's avatar
    Merged revisions 78918,78920 via svnmerge from · bee1fb0f
    Mark Dickinson yazdı
    svn+ssh://pythondev@svn.python.org/python/branches/py3k
    
    ........
      r78918 | mark.dickinson | 2010-03-13 11:34:40 +0000 (Sat, 13 Mar 2010) | 4 lines
    
      Issue #8014: Fix PyLong_As<c-integer-type> methods not to produce an
      internal error on non-integer input: they now raise TypeError instead.
      This is needed for attributes declared via PyMemberDefs.
    ........
      r78920 | mark.dickinson | 2010-03-13 13:23:05 +0000 (Sat, 13 Mar 2010) | 3 lines
    
      Issue #8014: Fix incorrect error checks in structmember.c, and re-enable
      previously failing test_structmember.py tests.
    ........
    bee1fb0f
test_structmembers.py 4.89 KB