wx.lib.pubsub and six/py2and3

Hi Robin and Oliver,

I am hoping to get to do a bit of work again on Phoenix and thought it is a good idea by getting my stuff up to date with latests commits on wxWidgets/Phoenix.

Noticed that pubsub.py2and3 is the latest version (1.4.1) of six.py with some additions.

Instead of having multiple copies of six.py within wx what about upgrading wx.lib.six.py to 1.4.1 and then in wx.lib.pubsub.py2and3 import the appropriate six.py and only add the additional stuff?

Werner

I already did that in my lib branch pull reqz. Tho until Robin gets time to look at that stuff again…
FYI there is one line you need to add “PY33” from the old six to the new 1.4.1. IIRC it has # wxpython added comment on it also.
So basically just drop it over and add in the line for the time being in your own lib.

@ Robin… Any chance on looking at some of the patch/pull stuff over before santa clogs up our chiminys with snow? :slight_smile:

···

On Wednesday, November 27, 2013 6:31:02 AM UTC-6, werner wrote:

Hi Robin and Oliver,

I am hoping to get to do a bit of work again on Phoenix and thought it
is a good idea by getting my stuff up to date with latests commits on
wxWidgets/Phoenix.

Noticed that pubsub.py2and3 is the latest version (1.4.1) of six.py with
some additions.

Instead of having multiple copies of six.py within wx what about
upgrading wx.lib.six.py to 1.4.1 and then in wx.lib.pubsub.py2and3
import the appropriate six.py and only add the additional stuff?

Werner

Is it the “Library branch” pull request on RobinD42/Phoenix?
Any tip on how to pull this into my fork?
Werner

···

Hi,

  On 01/12/2013 18:05, Metallicow wrote:
    On Wednesday, November 27, 2013 6:31:02 AM UTC-6, werner wrote:
      Hi Robin

and Oliver,

      I am hoping to get to do a bit of work again on Phoenix and

thought it

      is a good idea by getting my stuff up to date with latests

commits on

      wxWidgets/Phoenix.




      Noticed that pubsub.py2and3 is the latest version (1.4.1) of

six.py with

      some additions.




      Instead of having multiple copies of six.py within wx what

about

      upgrading [wx.lib.six.py](http://wx.lib.six.py) to 1.4.1 and then in

wx.lib.pubsub.py2and3

      import the appropriate six.py and only add the additional

stuff?

      Werner
      I already did that in my lib branch pull reqz. Tho until Robin

gets time to look at that stuff again…

Yes I have two branches.
The library-branch; Ex: just the wx dir. That would have the six update in it.
And the demo Branch; Ex: just the demo dir. The working phoenix PY2/PY3 demo WIPz
Combined/merge the two branches over the top the daily builds is what I’m working with basically atm in my site-packages minus my other uncommited stuff/tweaks/hacks.

You could easily just rename your wx dir and drop the new one in to continue/test or fiddle with your wx.pth file to locate what you want.

Not sure on how to pull from a fork also, because I believe yours is a fork of robins branch also it looks like.
I’m not a git wiz, I just asked Robin how to update my fork from master and he gave some links…

···

On Monday, December 2, 2013 2:18:49 AM UTC-6, werner wrote:

Is it the “Library branch” pull request on RobinD42/Phoenix?

Any tip on how to pull this into my fork?



Werner