[Checkins] [zopefoundation/Products.PythonScripts] 001b98: Point to the correct branches.
GitHub
noreply at github.com
Thu Jun 8 10:01:35 CEST 2017
Branch: refs/heads/Python3_port
Home: https://github.com/zopefoundation/Products.PythonScripts
Commit: 001b98fc53a6bf01c27109106df97567299b6e0a
https://github.com/zopefoundation/Products.PythonScripts/commit/001b98fc53a6bf01c27109106df97567299b6e0a
Author: stephan-hof <sh at axiros.com>
Date: 2017-06-07 (Wed, 07 Jun 2017)
Changed paths:
M buildout.cfg
Log Message:
-----------
Point to the correct branches.
Commit: 42905e12c6b87719c59dacf9238d4192da9b1bbc
https://github.com/zopefoundation/Products.PythonScripts/commit/42905e12c6b87719c59dacf9238d4192da9b1bbc
Author: stephan-hof <sh at axiros.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/Products/PythonScripts/tests/testPythonScript.py
M src/Products/PythonScripts/tests/tscripts/simple_print.ps
Log Message:
-----------
Fix the simplePrint unittest for python3.
To make it running under python2/3 a the same time I had to reduce the
number of items to print.
py2: print (1, 2, 3) => prints the tuple (1, 2, 3)
py3: print(1, 2, 3) => prints the elements: 1, 2, 3
However I have to use the (), because in python3 print is not a
statement anymore.
Commit: 8c55dd942ea039b13334f1ea77a945b23ce81e1a
https://github.com/zopefoundation/Products.PythonScripts/commit/8c55dd942ea039b13334f1ea77a945b23ce81e1a
Author: stephan-hof <sh at axiros.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/Products/PythonScripts/tests/testPythonScript.py
Log Message:
-----------
Fix unittests for 'sets' in python3.
Commit: bf149dc616c9727f716d77819039d65371064ef6
https://github.com/zopefoundation/Products.PythonScripts/commit/bf149dc616c9727f716d77819039d65371064ef6
Author: stephan-hof <sh at axiros.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/Products/PythonScripts/tests/testPythonScript.py
Log Message:
-----------
Another round of unittest fixes for python3.
Commit: 1a8ab3867c7e1d61de1b7597b50893b483742580
https://github.com/zopefoundation/Products.PythonScripts/commit/1a8ab3867c7e1d61de1b7597b50893b483742580
Author: stephan-hof <sh at axiros.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/Products/PythonScripts/tests/testPythonScript.py
R src/Products/PythonScripts/tests/tscripts/complex_print.ps
A src/Products/PythonScripts/tests/tscripts/complex_print_py2.ps
A src/Products/PythonScripts/tests/tscripts/complex_print_py3.ps
Log Message:
-----------
Fix tests using complex print to run under python3.
Separation is needed, because print is a statement in python3.
Commit: 1e871651c6d1d30132d78c13eb01f488c4c2f564
https://github.com/zopefoundation/Products.PythonScripts/commit/1e871651c6d1d30132d78c13eb01f488c4c2f564
Author: stephan-hof <sh at axiros.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/Products/PythonScripts/tests/testPythonScript.py
Log Message:
-----------
Fix test_filepath to run under python3.
Use a contextmanager to hijack/restore sys.stderr
Commit: 39e6d4ae2753159fb46fa98350dae09cf753d232
https://github.com/zopefoundation/Products.PythonScripts/commit/39e6d4ae2753159fb46fa98350dae09cf753d232
Author: stephan-hof <sh at axiros.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/Products/PythonScripts/tests/testPythonScript.py
Log Message:
-----------
Fix unittest for python3.
python3 does not support 'from <module> import *' inside functions.
Commit: cb0a64563565c2f4886509ad09f624d997a1abf6
https://github.com/zopefoundation/Products.PythonScripts/commit/cb0a64563565c2f4886509ad09f624d997a1abf6
Author: stephan-hof <sh at axiros.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/Products/PythonScripts/tests/testPythonScript.py
Log Message:
-----------
Fix unittest for python3.
Class names are no very different when defined inside a function.
Commit: 15f7b9f6a5629308b270e7dca46cf94de798234e
https://github.com/zopefoundation/Products.PythonScripts/commit/15f7b9f6a5629308b270e7dca46cf94de798234e
Author: stephan-hof <sh at axiros.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/Products/PythonScripts/tests/testBindings.py
Log Message:
-----------
Fix testBindings to run in python3.
Commit: b308c2a15d23468bd68463433d037efea74c9bea
https://github.com/zopefoundation/Products.PythonScripts/commit/b308c2a15d23468bd68463433d037efea74c9bea
Author: stephan-hof <sh at axiros.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/Products/PythonScripts/PythonScript.py
Log Message:
-----------
Fix typo in isinstance.
Compare: https://github.com/zopefoundation/Products.PythonScripts/compare/65c88931632e...b308c2a15d23
More information about the checkins
mailing list