Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

⚠️ Imports moving in v0.13: `libtmux.Server` -> `libtmux.server.Server`, etc

Aperta
#386 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api

Direzione di ricerca

Review the proposed public imports for Server, Session, Window, and Pane, comparing the current libtmux imports with the libtmux.server, libtmux.window, and libtmux.pane paths shown. Consider the stated circular-import, mypy, MonkeyType, and API-documentation concerns. Done requires a maintainer decision on whether this import change is acceptable; the issue currently requests feedback rather than defining an implementation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

This can cause tricky circular imports / cyclic dependency issues that get in the way of mypy, MonkeyType, and our API documentation.

Looking for feedback on this.

Is it a deal-breaker for you?

Server

Before

from libtmux import Server

After

from libtmux.server import Server

Session

Before

from libtmux import Session

After

from libtmux.server import Server

Window

Before

from libtmux import Window

After

from libtmux.window import Window

Pane

Before

from libtmux import Pane

After

from libtmux.pane import Pane
Lingua principale
Python
Stelle
1.2k
Fork
127
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tmux-python/libtmux

Tutte le issue di tmux-python/libtmux

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.