|
2001-11-18 (3.8)
- Added 第 16.2 节 “找到路径”.
- Added 第 16.3 节 “过滤已访问列表”.
- Added 第 16.4 节 “关联已访问列表”.
- Added 第 16.5 节 “数据中心思想编程”.
- Expanded sample output in 第 16.1 节 “概览”.
- Finished 第 9.3 节 “XML 解析”.
2001-09-30 (3.7)
- Added 第 9.2 节 “包”.
- Added 第 9.3 节 “XML 解析”.
- Cleaned up introductory paragraph in 第 9.1 节 “概览”. Thanks to Matt for this suggestion.
- Added Java tip in 第 5.2 节 “使用 from module import 导入模块”. Thanks to Ori for this suggestion.
- Fixed mistake in 第 4.8 节 “全部放在一起” where I implied that you could not use is None to compare to a null value in Python. In fact, you can, and it's faster than == None. Thanks to Ori pointing this out.
- Clarified in 第 3.2 节 “List 介绍” where I said that li = li + other was equivalent to li.extend(other). The result is the same, but extend is faster because it doesn't create a new list. Thanks to Denis pointing this out.
- Fixed mistake in 第 3.2 节 “List 介绍” where I said that li += other was equivalent to li = li + other. In fact, it's equivalent to li.extend(other), since it doesn't create a new list. Thanks to Denis pointing this out.
- Fixed typographical laziness in 第 2 章 第一个 Python 程序; when I was writing it, I had not yet standardized on putting string literals in single quotes within the text. They were set off by typography, but this is lost in some renditions of the book (like plain text), making it difficult to read. Thanks to Denis for this suggestion.
- Fixed mistake in 第 2.2 节 “函数声明” where I said that statically typed languages always use explicit variable + datatype declarations to enforce static typing. Most do, but there are some statically typed languages where the compiler figures out what type the variable is based on usage within the code. Thanks to Tony for pointing this out.
- Added link to Spanish translation.
2001-09-06 (3.6.4)
- Added code in BaseHTMLProcessor to handle non-HTML entity references, and added a note about it in 第 8.4 节 “BaseHTMLProcessor.py 介绍”.
- Modified 例 8.11 “globals 介绍” to include htmlentitydefs in the output.
2001-09-04 (3.6.3)
- Fixed typo in 第 9.1 节 “概览”.
- Added link to Korean translation.
2001-08-31 (3.6.2)
- Fixed typo in 第 13.6 节 “完备性检测(Testing for sanity)” (the last requirement was listed twice).
2001-08-31 (3.6)
- Finished 第 8 章 HTML 处理 with 第 8.9 节 “全部放在一起” and 第 8.10 节 “小结”.
- Added 第 15.4 节 “后记”.
- Started 第 9 章 XML 处理 with 第 9.1 节 “概览”.
- Started 第 16 章 有效编程(Functional Programming) with 第 16.1 节 “概览”.
- Fixed long-standing bug in colorizing script that improperly colorized the examples in 第 8 章 HTML 处理.
- Added link to French translation. They did the right thing and translated the source XML, so they can re-use all my build scripts and make their work available in six different formats.
- Upgraded to version 1.43 of the DocBook XSL stylesheets.
- Upgraded to version 6.43 of 由 Michael Kay 编制的 SAXON XSLT 解析器.
- Massive stylesheet changes, moving away from a table-based layout and towards more appropriate use of cascading style sheets. Unfortunately, CSS has as many compatibility problems as anything else, so there are still some tables used in the header and footer. The resulting HTML version looks worse in Netscape 4, but better in modern browsers, including Netscape 6, Mozilla, Internet Explorer 5, Opera 5, Konqueror, and iCab. And it's still completely readable in Lynx. I love Lynx. It was my first web browser. You never forget your first.
- Moved to Ant to have better control over the build process, which is especially important now that I'm juggling six output formats and two languages.
- Consolidated the available downloadable archives; previously, I had different files for each platform, because the .zip files that Python's zipfile module creates are non-standard and can't be opened by Aladdin Expander on Mac OS. But the .zip files that Ant creates are completely standard and cross-platform. Go Ant!
- Now hosting the complete XML source, XSL stylesheets, and associated scripts and libraries on SourceForge. There's also CVS access for the really adventurous.
- Re-licensed the example code under the new-and-improved GPL-compatible Python 2.1.1 license. Thanks, Guido; people really do care, and it really does matter.
|
|