Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-32787: Better error handling in ctypes.#3727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedSep 24, 2017
edited
Loading


len =PySequence_Length(fields);
len =PySequence_Size(fields);
Copy link
Contributor

Choose a reason for hiding this comment

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

WhyLengthSize?

Copy link
MemberAuthor

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-storchakaserhiy-storchaka changed the titlebpo-31572: Get rid of PyObject_HasAttrString() in ctypes.bpo-32787: Better error handling in ctypes.Feb 7, 2018
@serhiy-storchakaserhiy-storchaka merged commit398bd27 intopython:masterDec 5, 2018
@bedevere-bot
Copy link

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

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@eric-wiesereric-wiesereric-wieser left review comments

Assignees
No one assigned
Labels
skip newstype-bugAn unexpected behavior, bug, or error
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@serhiy-storchaka@bedevere-bot@eric-wieser@the-knights-who-say-ni

[8]ページ先頭

©2009-2025 Movatter.jp