Opened 9 years ago

Closed 8 years ago

#6096 enhancement closed invalid (invalid)

Make on Python 3 create public API versions of modules

Reported by: Itamar Turner-Trauring Owned by:
Priority: normal Milestone: Python-3.x
Component: core Keywords:
Cc: Jean-Paul Calderone Branch:


Currently for Python 3 we have a number of modules that are only partially ported, with names like for the ported parts of Only the former is installed on Python 3 (see #6040). We could have users of Twisted on Python 3 use these private modules in their code temporarily, but that means it's harder for them to support both Python 2 and Python 3, and they'll have to change their code once these temporary modules go away.

Another alternative is to have the installed version of Twisted on Python 3 fix this issue. In particular, for twisted/bar/, should install a corresponding twisted/bar/ with the following code:

from import *
__all__ = list(locals().keys())

Or something to that effect.

Given we're not guaranteeing backwards compat for now on Python 3, this is more of a nice-to-have thing.

Change History (1)

comment:1 Changed 8 years ago by Itamar Turner-Trauring

Resolution: invalid
Status: newclosed

All _foopy3 modules will soon be gone.

Note: See TracTickets for help on using tickets.