mirror of https://gitlab.com/ita1024/waf.git
Other problems with encodings
This commit is contained in:
parent
608c2c51e1
commit
c35c7237d6
|
@ -10,6 +10,8 @@ NEW IN WAF 1.8.0
|
|||
* Console handling improvements
|
||||
* Properly-sized progress bar on windows
|
||||
* Generic configuration tests
|
||||
* Better unicode handlig in scripts and in file names
|
||||
* Shorter build outputs
|
||||
|
||||
NEW IN WAF 1.7.11
|
||||
-----------------
|
||||
|
|
3
README
3
README
|
@ -10,7 +10,8 @@ For the examples: see the folder demos/
|
|||
HOW TO CREATE THE WAF SCRIPT
|
||||
----------------------------
|
||||
|
||||
Python 2.6, 2.7, 3.0, 3.1 or 3.2 is required to generate the waf script. Execute:
|
||||
Python 2.6, 2.7, 3.0, 3.1, 3.2, 3.3 or 3.4 is required to generate the waf script. The waf script is then the version that can run on Python 2.4 and 2.5.
|
||||
Just execute:
|
||||
$ ./waf-light configure build
|
||||
Or, if you have several python versions installed:
|
||||
$ python3 ./waf-light configure build
|
||||
|
|
6
TODO
6
TODO
|
@ -1,9 +1,7 @@
|
|||
Waf 1.7.x
|
||||
Waf 1.8.x
|
||||
---------
|
||||
|
||||
* fix the remaining bugs
|
||||
* provide more extensions
|
||||
|
||||
* Update the docs
|
||||
|
||||
Can be useful:
|
||||
|
||||
|
|
|
@ -163,7 +163,7 @@ class log_handler(logging.StreamHandler):
|
|||
else:
|
||||
stream.write(fs % msg)
|
||||
except UnicodeError:
|
||||
stream.write(fs % msg.encode("UTF-8"))
|
||||
stream.write((fs % msg).encode("UTF-8"))
|
||||
else:
|
||||
logging.StreamHandler.emit(self, record)
|
||||
|
||||
|
|
Loading…
Reference in New Issue