Title: [253073] trunk/Tools
- Revision
- 253073
- Author
- [email protected]
- Date
- 2019-12-03 17:33:33 -0800 (Tue, 03 Dec 2019)
Log Message
Python 3: Add support in webkitpy.bindings
https://bugs.webkit.org/show_bug.cgi?id=204783
Reviewed by Stephanie Lewis.
Allow Tools/Scripts/run-bindings-tests to support Python 3.
* Scripts/webkitpy/bindings/main.py:
(BindingsTests.generate_supplemental_dependency): Encode unicode strings before
writing to file as bytes.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (253072 => 253073)
--- trunk/Tools/ChangeLog 2019-12-04 01:27:00 UTC (rev 253072)
+++ trunk/Tools/ChangeLog 2019-12-04 01:33:33 UTC (rev 253073)
@@ -1,5 +1,18 @@
2019-12-03 Jonathan Bedard <[email protected]>
+ Python 3: Add support in webkitpy.bindings
+ https://bugs.webkit.org/show_bug.cgi?id=204783
+
+ Reviewed by Stephanie Lewis.
+
+ Allow Tools/Scripts/run-bindings-tests to support Python 3.
+
+ * Scripts/webkitpy/bindings/main.py:
+ (BindingsTests.generate_supplemental_dependency): Encode unicode strings before
+ writing to file as bytes.
+
+2019-12-03 Jonathan Bedard <[email protected]>
+
results.webkit.org: Sort out certificates on Catalina
https://bugs.webkit.org/show_bug.cgi?id=202837
Modified: trunk/Tools/Scripts/webkitpy/bindings/main.py (253072 => 253073)
--- trunk/Tools/Scripts/webkitpy/bindings/main.py 2019-12-04 01:27:00 UTC (rev 253072)
+++ trunk/Tools/Scripts/webkitpy/bindings/main.py 2019-12-04 01:33:33 UTC (rev 253073)
@@ -32,6 +32,7 @@
import tempfile
from webkitpy.common.checkout.scm.detection import detect_scm_system
from webkitpy.common.system.executive import ScriptError
+from webkitpy.common.unicode_compatibility import encode_if_necessary
class BindingsTests:
@@ -76,7 +77,7 @@
(name, extension) = os.path.splitext(input_file)
if extension != '.idl':
continue
- os.write(idl_files_list[0], os.path.join(input_directory, input_file) + "\n")
+ os.write(idl_files_list[0], encode_if_necessary(os.path.join(input_directory, input_file) + "\n"))
os.close(idl_files_list[0])
cmd = ['perl', '-w',
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes