python / python/planet

Python3 Compatibility

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

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

Ngôn ngữ chính
Python
Star
144
Fork
197
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

REPORT A BUG/PROBLEM


Hi, I want to notify you of a bug/problem that is happening on the Planet.

I am using:
O.S: N/A
Browser: N/A
Platform: N/A

Problem

Python 2 is going away. This code is not compatible with Python3.

Details

This is more of a request for information than a bug. What is the path forward with this code as Python2 goes away? Is there any interest in moving this to 2.7 with compatibility for 3.4+?

Is it worthwhile to migrate this fork of planet over to python3 or is a new platform in the wings to replace this one?

Upon glancing at different parts of this code:
feedparser.py:
I know that feedparser has been maintained and has 10+ years of development over the one included in this repo. It also has python3 support

compat_logging:
Is there any reason the built-in logging won't work?

htmltmpl:
some work has been done in a github fork of the sourceforge repo

planet:
Main project looks dead. Has been rewritten in a number of different languages. The version included seems to have very little code commited to it. There is a later version in the main projects repo that includes TESTS. Perhaps rebase on that?

I would be happy to take some of this on if there is some willingness to accept pull requests. Any thoughts?

Thanks.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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.

Hướng nghiên cứu

Bắt đầu bằng việc xem xét các vấn đề tương thích được xác định trong feedparser.py, compat_logging, htmltmpl và mã của planet, sau đó so sánh chúng với phiên bản về sau của dự án chính có bao gồm các bài kiểm thử. Issue này không xác định phạm vi migration cụ thể hoặc các tiêu chí chấp nhận, vì vậy hãy xác nhận định hướng của dự án và một phiên bản Python được hỗ trợ trước khi xác định việc hoàn thành sẽ có nghĩa là gì.

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

Đánh giá

Công nghệ
python
Lĩnh vực
backend
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
20/100

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.