GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add ctypes by tharvik · Pull Request #454 · python/typeshed

Conversation

@tharvik

@tharvik tharvik commented Aug 8, 2016

Copy link
Copy Markdown
Contributor

https://docs.python.org/3/library/ctypes.html

It was kinda hard to do, but that should do it.

  • _DLL is a local class to allow having a common subtype
  • _FuncProto is a fake class to avoid having a too big Union
  • I was unable to find a way to typecheck c_int * 3 which should gives an Array

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
tharvik added 17 commits August 8, 2016 14:26
@tharvik
util done
12c22ac
@tharvik
__init__, 16.16.2.2 done
3b64057
@tharvik
16.16.2.3 done
5b0189d
@tharvik
16.16.2.4
5c7eeaf
@tharvik
fix *FUNCTYPE, fix generic
3e616c7
@tharvik
remove part of generic
0408784
@tharvik
temporarly broad some type
b13f68b
@tharvik
16.16.2.5
a64fcd3
@tharvik
16.16.2.6
0233818
@tharvik
16.16.2.7
dea4f9d
@tharvik
16.16.2.8
661ddda
@tharvik
16.16.2.9 and cleanup
8eab72e
@tharvik
no documentation on wintypes
9ee7a38
@tharvik
move from _SimpleCData to _CData
d6c15a8
@tharvik
base on some example
fb46dd4
@tharvik
py2 done, cleanup
2283495
@tharvik
make pytype happy
cac2861
@matthiaskramm
matthiaskramm merged commit 17f7d3d into python:master Aug 15, 2016
@gvanrossum gvanrossum mentioned this pull request Aug 16, 2016
ctypes stubs incomplete #475
Closed
@gvanrossum

gvanrossum commented Aug 16, 2016

Copy link
Copy Markdown
Member

@tharvik Not quite, see #475.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gvanrossum

gvanrossum commented Aug 24, 2016

Copy link
Copy Markdown
Member

I've temporarily deleted these stubs, see #475 for details.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dgelessus dgelessus mentioned this pull request Feb 20, 2018
Try to re-add stubs for ctypes #1906
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@tharvik @gvanrossum @matthiaskramm
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.