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 — Tracking issue for ctypes · Issue #5572 · RustPython/RustPython

Tracking issue for ctypes #5572

New issue
Copy link
New issue
Copy link
Closed
Feature
#6457
Closed
Tracking issue for ctypes#5572
Feature
#6457
Copy link

Description

@arihant2math
arihant2math
opened on Feb 28, 2025
Issue body actions
  • Basic structure to hold data SimpleCData _ctypes pt. 2 #5524
  • Dynamic library loading _ctypes pt. 2 #5524
  • Basic function calling _ctypes pt. 3 #5530
  • Custom return types for functions _ctypes pt. 4 #5582
  • Arrays _ctypes pt. 4 #5582
  • Pointers _ctypes pt. 5 #5653
  • C structures/unions
  • C structures/unions endian support
  • Working import ctypes (pip must be working for this)

Bugs

  • Errors are incorrectly named fix _ctypes error names #5548
  • Function arguments cause errors to be thrown _ctypes pt. 4 #5582
  • Return type of functions is c_int and cannot be changed
  • Error handling isn't great when loading/executing functions. _ctypes pt. 4 #5582
  • Creating string buffers is broken _ctypes pt. 4 #5582
  • Arrays are broken _ctypes pt. 4 #5582
  • Arrays as arguments are broken
  • Arrays are not properly represented Fix _ctypes.Array base and metaclass #5620
  • Structures are not properly represented Fix _ctypes.Array base and metaclass #5620

Unimplemented Functions

  • addressof _ctypes addressof and Structure #5573
  • alignment
  • byref
  • resize
  • get_errno/set_errno Initial _ctypes implementation #5519
  • _memmove_addr
  • _memset_addr
  • _string_at_addr
  • _cast_addr
  • _wstring_at_addr
Reacted by Duncan Freeman, Grant Fanian, FasterSpeeding, Orzomaxx and silly silly

Activity

  1. arihant2math commented on Feb 28, 2025

    @arihant2math
    arihant2math
    on Feb 28, 2025
    ContributorAuthor
    More actions

    Supersedes #4739 and #1217

  2. arihant2math
    added the
    Feature
    issue type on Jun 28, 2025
  3. youknowone
    closed this as completedin #6457on Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      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.