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 |
|
Robin Dunn
|
9f2cc54b48
|
Update copyright years
|
2020-03-10 11:41:39 -07:00 |
|
Robin Dunn
|
b77c88a280
|
Merge tag 'wxPython-4.0.2' into wxPy-4.0.x
(cherry picked from commit 4c56c39e52)
|
2018-06-17 22:04:22 -07:00 |
|
Mike Driscoll
|
435d779e8b
|
Update img2py.py
Fix a couple of typos
|
2017-05-02 09:11:04 -05:00 |
|
Robin Dunn
|
a0604d128c
|
Update copyright in wx/tools
|
2017-02-13 17:07:39 -08:00 |
|
Metallicow
|
576cf1d966
|
Trim Whitespace tools directory
|
2016-10-12 22:15:25 -05: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
|
37b08e317d
|
Fix import for Py3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2014-01-25 08:27:58 +00:00 |
|
Robin Dunn
|
fbda4deb28
|
Fix some "wxPython" package names --> "wx" in comments, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2014-01-10 05:39:16 +00:00 |
|
Robin Dunn
|
087ebf6655
|
Patch from Ramin Sabet to update image tools modules for Phoenix and Py3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-02-16 03:24:46 +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 |
|