Commit Graph

32 Commits

Author SHA1 Message Date
Robin Dunn
87d3db9de5 im_func --> __func__ 2018-05-30 19:48:21 -07:00
Tianzhu Qiao
868e217600 Add option to not use stock IDs in context-menu of pyshell.
Otherwise, the context-menu may not work on Mac without adding the proper IDs
to the menu bar.

(cherry picked from commit 587c24957f)
2018-05-17 19:52:47 -07:00
Robin Dunn
37facd8822 Merge pull request #825 from tianzhuqiao/py
Fix a python3 compatibility issue to get class instance and function objects
2018-04-28 17:33:54 -07:00
Robin Dunn
e55ccf8940 QnD fix for missing self.shell attribute 2018-03-27 19:26:04 -07:00
Metallicow
99834ab3ec ⁉️ Trim trailing whitespace misc files
All these files seem like legit trailing whitespace that can be removed.
2018-01-16 09:37:04 -06:00
Bob White
7b41a3e58f Using functools.cmp_to_key for old style sorts. 2017-09-07 12:15:38 -05:00
Bob White
251f9d7d5a Fix for list.sort requiring keywords in python3.5
Python3.5 changed the parameters in list.sort to be keyword only
arguments.

This fixes all the instances I could find.
2017-09-07 09:35:33 -05:00
Robin Dunn
4d00ac9b93 Wait a little longer before splitting 2017-07-21 13:20:27 -07:00
Robin Dunn
96adef7c60 Fix some Py3 compatibility issues 2017-05-17 17:46:33 -07:00
Metallicow
6e0ec5421f Trim Whitespace py directory 2016-10-12 22:12:43 -05:00
Robin Dunn
3b8646441c Fix loading/saving history in PyCrust on Python3 2016-09-07 11:05:14 -07:00
Robin Dunn
7761e1fba7 Change file() --> open() 2016-09-02 22:17:02 -07:00
Robin Dunn
af19f6c4cb Explicitly disconnect dispatcher receivers when windows are no longer valid.
The weak reference cleanup sometimes seems to not happen immediately...
2016-09-02 22:15:16 -07:00
Robin Dunn
5db387e560 Ensure the filling window has been split 2016-09-02 10:53:28 -07:00
Robin Dunn
ed4756b902 Remove wx.lib.six and use the stock six module instead,
and add it as an installation dependency.
2016-06-30 20:07:57 -07:00
Scott Talbert
a57bec2e71 Add support for building with GTK3 2016-02-29 20:22:58 -05:00
Robin Dunn
2c3b7a813d wx.YieldIfNeeded doesn't exist in Phoenix.
This fixes going into help mode in PyShell.
2015-03-12 13:51:51 -07:00
Werner F Bruhin
f0240987c0 - make it work in Py2 and Py3 2014-06-10 13:15:36 +02:00
Robin Dunn
283152cff0 Adapt to Py3 changes in tokenizer, method & function attribute names, etc.
Some general cleanup too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-16 03:02:36 +00:00
Robin Dunn
801682c786 Some Py3 fixes for PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-02 07:48:20 +00:00
Robin Dunn
bcbdcd9631 Remove more CVS $Id$ and $Revision$ tags, and a bit of code that uses them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-11 03:35:32 +00:00
Robin Dunn
571668a23f Remove the old CVS $Id: tags.
They don't work in git, and don't work by default in SVN either.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-09 02:39:35 +00:00
Robin Dunn
c1beea6cfa PR 39 from Metallicow. Py3 and Phoenix updates, Pen and Brush style updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 23:12:35 +00:00
Robin Dunn
9f24505715 Merge of PR 11 with the whitespace-only changes omitted.
See https://github.com/RobinD42/Phoenix/pull/11

Mostly phoenix-port changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-10 01:15:34 +00:00
Robin Dunn
2e30a88173 Some Py3 and various other fixes from wxGuru.
Merged and squashed from https://github.com/RobinD42/Phoenix/pull/15,
with additional edits.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:54:22 +00:00
Robin Dunn
32c1e977c6 fix earlier patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-06 01:58:45 +00:00
Robin Dunn
baca577355 fix earlier patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-05 04:36:35 +00:00
Robin Dunn
68ea7237ce Py3 and Phoenix fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-04 16:10:17 +00:00
Robin Dunn
690685edcf Some Py3 fixes for wx.py.filling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:42 +00:00
Robin Dunn
ede298e62e Modified patch from Maxim Kolosov for Py3 fixes in wx.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:13 +00:00
Robin Dunn
c5bcdfe844 Various changes for PyCrust and other py classes to get them working with Phoenix and also avoid deprecation warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:59 +00:00
Robin Dunn
247673201b Copy (branch) wx.lib, wx.py and wx.tools from Classic, and include subpackages branched from 3rdParty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-13 01:36:07 +00:00