python / python/planet

Python3 Compatibility

Offen
#211 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Python
Sterne
144
Forks
197
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die in feedparser.py, compat_logging, htmltmpl und dem Planet-Code identifizierten Kompatibilitätsprobleme zu prüfen, und vergleiche sie anschließend mit der späteren Version des Hauptprojekts, die Tests enthält. Das Issue definiert keinen spezifischen Migrationsumfang und keine Akzeptanzkriterien. Kläre daher zunächst die Projektausrichtung und eine unterstützte Python-Version, bevor du festlegst, was als abgeschlossen gelten würde.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
backend
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.