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 — ClassManager cache hash problem · Issue #2269 · pythonnet/pythonnet

ClassManager cache hash problem #2269

New issue
Copy link
New issue
Copy link
Open
Open
ClassManager cache hash problem#2269
Copy link
Assignees
filmor
Labels
bug

Description

@rayfalling
rayfalling
opened on Oct 18, 2023
Issue body actions

Environment

  • Pythonnet version: 3.x
  • Python version: 3.9
  • Operating System: Windows11
  • .NET Runtime: Unity Mono

Details

  • Describe what you were trying to get done.

Abstract generic classes under C# are repeatedly added to the Cache of ClassManager, which will cause a crash when calling RestoreRuntimeData()

image

Reacted by Benedikt Reinartz

Activity

  1. rayfalling commented on Oct 18, 2023

    @rayfalling
    rayfalling
    on Oct 18, 2023
    Author
    More actions

    Maybe the MaybeType should set custom hash function?

  2. filmor
    added
    bug
    on Oct 18, 2023
  3. filmor
    self-assigned this
    on Oct 18, 2023
  4. rayfalling commented on Oct 18, 2023

    @rayfalling
    rayfalling
    on Oct 18, 2023
    Author
    More actions

    image
    Could I use AssemblyQualifiedName to get hash?

  5. greateggsgreg
    added 2 commits that reference this issue on May 10, 2026

    Tests driven by real-world consumer patterns and historical issues

    7f2934b

    test_thread: cover real-world consumer patterns

    275a9f2
  6. filmor
    added 2 commits that reference this issue on May 12, 2026

    test_thread: cover real-world consumer patterns

    d8326cf

    test_thread: cover real-world consumer patterns

    74d12f1
  7. filmor
    added a commit that references this issue on Aug 18, 2026

    test_thread: cover real-world consumer patterns

    3d56611
  8. filmor
    added a commit that references this issue on Sep 14, 2026

    Python 3.14 free-threaded support (#2721)

    7b08d70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @filmor
    filmor

Labels

bug

Type

No type

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.