Re: wx phoenix: wx.lib.pubsub update
Robin Dunn <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
oliver wrote: > Things have changed quite a bit in wxpython since last time > wx.lib.pubsub was updated. Latest pypubsub is on github and drops > support for Python 2.x (end of life is in 3 years) and for features of > pubsub that were deprecated long ago. > > If wx phoenix supports python 2.x, Yes, the plan is to support 2.7 (but not any earlier releases) for as long as it is feasible to do so. > would it be possible to add a wx.lib.pubsub3 package, containing > latest pypubsub? If the only 2.x supported is 2.7, and if appropriate things are imported from __future__, and using a compatibility library like six, would you be able to support both Python 2.7 and 3.4+ from a single codebase? That's the approach we're taking with Phoenix, and so far it hasn't been too bad. If not then a divided approach would be okay I guess. How about dropping things down a level and have wx/lib/pubsub/__init__.py import a 2.x or a 3.x subpackage based on the version of Python? -- Robin Dunn Software Craftsman http://wxPython.org -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.