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 |
|
Metallicow
|
e6884f7dc0
|
Trim trailing space bin directory
|
2016-12-05 16:21:49 -06:00 |
|
Robin Dunn
|
11a81ee9e4
|
Fix import
|
2016-07-29 19:53:15 -07:00 |
|
Robin Dunn
|
ebf1ed1138
|
Add a #include via addHeaderCode to the etg template
|
2016-06-21 20:30:09 -07:00 |
|
Robin Dunn
|
4f38ee259d
|
Remove imp_unittest
|
2016-05-07 19:16:28 -07:00 |
|
Robin Dunn
|
693355141c
|
fix file headers
|
2015-02-23 19:46:51 -08:00 |
|
Robin Dunn
|
35fd2e16bf
|
Update copyright year
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-01-21 02:13:03 +00:00 |
|
Robin Dunn
|
c93c093b88
|
Add a tool to make an empty unittest script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2012-07-13 03:17:42 +00:00 |
|
Robin Dunn
|
40dfc6acd4
|
make runnable with python3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2012-05-30 03:15:08 +00:00 |
|
Robin Dunn
|
3d33b1c1ac
|
Add a (failing) unittest stub when making a new etg file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2012-03-29 16:59:03 +00:00 |
|
Robin Dunn
|
c80c343ae9
|
cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2012-02-27 23:52:37 +00:00 |
|
Robin Dunn
|
5d9f463534
|
Print help if no args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-12-02 01:07:21 +00:00 |
|
Robin Dunn
|
0d968c165c
|
move tool script to bin dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-11-03 04:44:26 +00:00 |
|