◐ Shell
clean mode source ↗

bpo-32787: Better error handling in ctypes. by serhiy-storchaka · Pull Request #3727 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

eric-wieser

}

len = PySequence_Length(fields);
len = PySequence_Size(fields);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why LengthSize?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PySequence_Size is more commonly used. PySequence_Length is just an outdated alias of PySequence_Size.

@serhiy-storchaka serhiy-storchaka changed the title bpo-31572: Get rid of PyObject_HasAttrString() in ctypes. bpo-32787: Better error handling in ctypes.

Feb 7, 2018

@bedevere-bot

@serhiy-storchaka: Please replace # with GH- in the commit message next time. Thanks!

Labels