Alexandre Detiste
|
0257f755cf
|
remove most of Python2 compatibility code
|
2025-02-02 20:17:45 -05:00 |
|
Christian Clauss
|
25ba122168
|
Fix typos discovered by codespell
|
2021-08-07 18:55:49 +02:00 |
|
Robin Dunn
|
6332e818e7
|
Add a MacReopenApp method for the superdoodle sample
|
2020-12-18 15:02:55 -08:00 |
|
Robin Dunn
|
732ff6752b
|
Revert "Spelling fixes in wx.lib"
This reverts commit c00b8950da.
The spelling changes were a bit too aggressive.
|
2020-08-31 13:01:31 -07:00 |
|
Robin Dunn
|
c00b8950da
|
Spelling fixes in wx.lib
|
2020-07-14 12:53:31 -07:00 |
|
Robin Dunn
|
92f8cd2d55
|
Fix lots of misspelled words
|
2020-07-14 11:38:32 -07:00 |
|
Per A. Brodtkorb
|
e4e8bf8317
|
Fixes issue 1571:
Adding missing close for open.
If the "close()" call is missing after a "open(filename)" call, the filename isn't guaranteed to be closed before the interpreter exits.
This is generally a bad practice as explained here: https://stackoverflow.com/questions/7395542/is-explicitly-closing-files-important
Also replaced "fid=open(filename) fid.close()" statements for files with the safer
"with open(filename) as fid:" blocks. See https://www.python.org/dev/peps/pep-0343/
|
2020-03-23 17:16:44 +01:00 |
|
Per A. Brodtkorb
|
033c18fd9f
|
Fixes issue #1556
Replaced XXX.keys() calls with idiomatic python 3 calls that are compatible with python 2 such as eg:
* replaced "y = xxx.keys()" or "y = list(xxx.keys())" with just "y = list(xxx)"
* replaced "sorted(xxx.keys())" or "sorted(list(xxx.keys()))" with just "sorted(xxx)"
* replaced "if not A in B.keys():" with "if A not in B:"
* replaced "for A in B.keys():" with "for A in B:"
See also https://python-future.org/compatible_idioms.html
https://python-future.org/compatible_idioms.html#dict-keys-values-items-as-a-list
|
2020-03-20 18:51:19 +01:00 |
|
Robin Dunn
|
d79d9859cb
|
Switch to a sizer in the superdoodle about box
|
2019-10-23 18:11:20 -07:00 |
|
topic2k
|
90c355c88e
|
Use default position for PopupMenu in samples.doodle.doodle.DoodleWindow
|
2019-10-23 09:43:57 +02:00 |
|
Robin Dunn
|
221a98e902
|
Merge pull request #1223 from RobinD42/more-build-tweaks
More build tweaks
(cherry picked from commit d1b79db2a9)
|
2019-05-13 19:59:29 -07:00 |
|
Robin Dunn
|
fb4b52681b
|
Add doodle sample
(cherry picked from commit bfd7bd588b)
|
2019-04-12 20:32:41 -07:00 |
|