Options.clear() does not actually clear the database

Đang mở
#63 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Start with the behavior observed in PR #62 and the options.clear() calls around line 25 of tests/test_options.py. Since petsctools.Options inherits from PETSc.Options, investigate the upstream PETSc implementation and determine where the clearing behavior fails; the issue says an upstream fix is required. Done means those calls actually clear the database.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

First seen in https://github.com/firedrakeproject/petsctools/pull/62.

It means that the options.clear() calls in https://github.com/firedrakeproject/petsctools/blob/main/tests/test_options.py#L25 are merely aspirational.

Since petsctools.Options inherits from PETSc.Options this will require an upstream fix.

Ngôn ngữ chính
Python
Star
4
Fork
1
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của firedrakeproject/petsctools

Tất cả issue của firedrakeproject/petsctools

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.