Jython Essentials by Noel Rappin, Samuele Pedroni The unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification This page was updated January 26, 2004. UNCONFIRMED errors and comments from readers: (5) Section "Adding Behavior"; Beginning of second sentence of section: "We I (sic) want it to place some text in the text field depending..." (33) 2nd paragraph, 1st sentence; sentence reads "...all in-place modification operations that are defined on lists raise a built-in TypeError exception." should read "... defined on tuples raise a built-in TypeError exception." (s/lists/tuples/) [33] pg. 33, paragraph 2; page 33 says "Tuples offer no methods..." page 36, paragraph 4 reads "The methods count and index discussed for lists and tuples are also defined for strings..." Either tuples do offer methods, or the language is confusing. {57} 5th paragraph (2nd paragraph from the bottom); the output for the code: for x in range(3): print x should be 0 1 2 instead of 1 2 3 (69) 4th paragraph (indented); In the last sentence, it says, "...raises a StopIter exception,..." "StopIter" should be "StopIteration." [73,77,78,79] anywhere 2 underscores appear e.g. __init__, __main__, __future__; You should typeset so that it's clear that __main__ has 2 underscores before and 2 after, this wouldn't be obvious to somebody starting in Python. (115) Code listing; The call to i.close-() is an error. Should be i.close() {147} Example 9-2; It is important to register the default JFrame behavior on close. By default JFrame just hides when the window closes... so you may end up with hanging processes. Adding the following line registers that you want to exit the application when you close the window: self.setDefaultCloseOperation(self.EXIT_ON_CLOSE) (153) self.htmlPane = swing.JEditorPane(urlString, editable=0, hyperlinkUpdate=self.followHyperlink, size=(400,400)); Clicking on hyperlinks in the Html_Browser.py does not fire the followHyperlink function. Using Windows XP, with jdk1.4, and jython 2.1. (192) line that begins: "Matches any alphanumeric"; a-zA-z0-9_ should read a-zA-Z0-9_ * {247} Section "Unicode strings"; The built-in funtion is spelled chr(), not char() (272) 2nd column middle; range() is not listed in the index