microsoft / microsoft/Qcodes

Deleting or not ?

Open
#528 2 comments 0 reactions 1 assignee View on GitHub

@giulioungaretti is already working on this.

Since May 8, 2017.

bug
Dominant language
Python
Stars
459
Forks
359
Avg merge
3d 6h
Merged PRs (30d)
73

Description

Not sure it's by design (@alexcjohnson ?):

This will fail :
(does not fail in the tests somehow)

from qcodes.tests.instrument_mocks import DummyInstrument
a = DummyInstrument()
del a
b = DummyInstrument()

This does not fail:

import gc
from qcodes.tests.instrument_mocks import DummyInstrument
a = DummyInstrument()
del a
gc.collect()
b = DummyInstrument()

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.