[issue38860] GenericPyCData_new does not invoke new or init
Rebecca Morgan added the comment: Hi there, I’m a newcomer would like to take a look at this. Planning to investigate over the next few days. -- nosy: +beccamorgan ___ Python tracker <https://bugs.python.org/issue38860> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38860] GenericPyCData_new does not invoke new or init
Rebecca Morgan added the comment: Looking at the test case 'test_from_buffer_copy' here: https://github.com/python/cpython/blob/master/Lib/ctypes/test/test_frombuffer.py This suggests the failure to call init in this instance is expected behavior (similarly for from_buffer), unlike e.g. the classmethod fromkeys() with a dictionary subclass which behaves as expected. Are there any required changes here, perhaps if not code then documentation? -- ___ Python tracker <https://bugs.python.org/issue38860> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38860] GenericPyCData_new does not invoke new or init
Rebecca Morgan added the comment: I would still be interested in this, with some clarity on the testing/expected behavior. -- ___ Python tracker <https://bugs.python.org/issue38860> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com