There are times where it’s hard for me to keep up with every software update out there, much as it’s hard for you. IronPython was a somewhat different product when I originally wrote Professional IronPython. One of the best changes has been the addition of support in Visual Studio for a variety of project types. You still can’t use designers to create your interface effectively, but things are moving in the right direction. I had downloaded the 2.7.1 version of IronPython nearly as soon as it became available, but a number of personal projects and other requirements got in the way of my testing it with the source code in Professional IronPython. The testing is finished and I haven’t encountered any major problems with the update. If someone does encounter a problem, let me know at John@JohnMuellerBooks.com.
The update does include the usual bug fixes. You’ll want to peruse this list to see if the bug you reported has been fixed. As far as I was able to tell, none of these bugs directly affect the code in the book or any of the example code.
You do need to be aware of some important changes in this seemingly minor update. The biggest change is that you must have Silverlight 4 installed now to use IronPython Silverlight Web Page template (see the Python Tools for Visual Studio (PTVS) Released post for details). I decided to try everything with Silverlight 5 now that it’s available and didn’t encounter any problems. Consequently, you may simply want to update to Silverlight 5 to avoid potential problems later.
The older IronPython Tools for Visual Studio tool is completely deprecated at this point. You must use the newer Python Tools for Visual Studio (PTVS) with IronPython 2.7.1. Since this newer product offers a wealth of useful features, it’s an easy update to accommodate.
For me, the best news is that IronPython is able to work with more of the Python Standard Library. Chapter 6 of my book discusses how to perform this task. Table 6-1 (page 99) contains a list of standard library modules that are missing from IronPython. That list is getting progressively smaller. IronPython 2.7.1 now supports these additional Python Standard Library modules:
There is currently an IronPython 2.7.2 Alpha release available as well. This new release isn’t far enough along for me to test with the book’s code as of yet. However, if you do test it out and find that you have questions about the book code when using it, feel free to contact me. I’m always more than happy to help out with book-specific questions.