]> granicus.if.org Git - python/commit
Merged revisions 79665 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Sat, 3 Apr 2010 10:59:11 +0000 (10:59 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 3 Apr 2010 10:59:11 +0000 (10:59 +0000)
commitf53b1e2f770b640ae9b167dd3b18f5f94a96c284
tree693e2f7a73d38f2dec3441797fa8a926275fdbf0
parent8e16b7e46f4857a9236964a4deb0ace408691560
Merged revisions 79665 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r79665 | mark.dickinson | 2010-04-03 11:49:56 +0100 (Sat, 03 Apr 2010) | 20 lines

  Merged revisions 79661 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r79661 | mark.dickinson | 2010-04-03 11:27:05 +0100 (Sat, 03 Apr 2010) | 14 lines

    Fix a couple of issues with the test_structmembersType class in _testcapimodule

     - rename to _test_structmembersType to avoid the class being automatically
       called by test_capi

     - allow space for trailing NUL in inplace_member field of all_structmembers

     - use T_STRING_INPLACE instead of T_INPLACE_STRING as keyword argument
       to _test_structmembersType initializer

     - don't attempt to initialize inplace_member field if T_STRING_INPLACE
       argument wasn't supplied.
  ........
................
Lib/test/test_structmembers.py
Modules/_testcapimodule.c