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 — Allow mention.cluster = another_cluster · Issue #99 · udapi/udapi-python

Allow mention.cluster = another_cluster #99

New issue
Copy link
New issue
Copy link
Open
Open
Allow mention.cluster = another_cluster#99
Copy link

Description

@martinpopel
martinpopel
opened on Feb 8, 2022
Issue body actions

Moving a mention from one cluster to another cluster is not supported yet (but it seems @dan-zeman would like to use it). We should:

  • remove the NotImplementedError in the setter
  • add self._cluster._mentions.remove(self)
  • decide if cluster._mentions should be always sorted (and if yes, add a sort())
  • if self._bridging and new_cluster in self._bridging.targets: raise ValueError("Bridge cannot self-reference the same cluster")
  • make sure there are no other hidden problems

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — 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.