[Python-checkins] [python/cpython] 1bea76: bpo-28129: fix ctypes crashes (#386)

GitHub noreply at github.com
Thu Mar 2 12:42:41 EST 2017

  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 1bea762d9ec823544c530d567330a47f64d93d4f
  Author: orenmn <orenmn at users.noreply.github.com>
  Date:   2017-03-02 (Thu, 02 Mar 2017)

  Changed paths:
    M Lib/ctypes/test/test_frombuffer.py
    M Lib/ctypes/test/test_funcptr.py
    M Lib/ctypes/test/test_parameters.py
    M Lib/ctypes/test/test_pointers.py
    M Lib/ctypes/test/test_struct_fields.py
    M Modules/_ctypes/_ctypes.c
    M Modules/_ctypes/cfield.c

  Log Message:
  bpo-28129: fix ctypes crashes (#386)

* init commit, with initial tests for from_param and fields __set__ and __get__, and some additions to from_buffer and from_buffer_copy

* added the rest of tests and patches. probably only a first draft.

* removed trailing spaces

* replace ctype with ctypes in error messages

* change back from ctypes instance to ctype instance

More information about the Python-checkins mailing list