- python3-fixes.patch added a fix for python3 UTF-8 support OBS-URL: https://build.opensuse.org/request/show/491757 OBS-URL: https://build.opensuse.org/package/show/science/python3-instant?expand=0&rev=2
16 lines
557 B
Diff
16 lines
557 B
Diff
---
|
|
instant/build.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/instant/build.py
|
|
+++ b/instant/build.py
|
|
@@ -119,7 +119,7 @@ def recompile(modulename, module_path, n
|
|
compile_log_filename = os.path.join(module_path, "compile.log")
|
|
compile_log_filename_dest = os.path.join(get_default_error_dir(), \
|
|
modulename, "compile.log")
|
|
- compile_log_file = open(compile_log_filename, "w")
|
|
+ compile_log_file = open(compile_log_filename, "w", encoding='UTF-8')
|
|
|
|
ret = 1
|
|
try:
|