Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional IronPython
This is the forum to discuss the Wrox book Professional IronPython by John Paul Mueller; ISBN: 9780470548592
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional IronPython section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 17th, 2011, 05:02 PM
Registered User
 
Join Date: May 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Error in Chaptor 4

Page 60, Creating and Accessing Single-Dimension Arrays,
Code:
MyList = sys.path
The description in the paragraph after this statement is wrong. Python/IronPython does not make a copy of the content of a list. Instead, the memory reference of the original list is assigned to the new variable. If you try to change the content in MyList, sys.path also got changed. I have tested and conformed this on my machine, running IronPython 2.6.2 on .Net 4.0
 
Old May 18th, 2011, 06:51 PM
Wrox Author
Points: 62, Level: 1
Points: 62, Level: 1 Points: 62, Level: 1 Points: 62, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Error in Chapter 4

I promise to check this problem out. You may very well be correct because it sounds like the way IronPython would do things. Thanks for pointing the problem out. Of course, errors do creep into even the best of books . In fact, I've written a post on my blog about it at http://blog.johnmuellerbooks.com/201...n-writing.aspx. In the meantime, I hope you're enjoying the book and will let me know if you discover any other potential problems with it. Make sure you keep up with updates about the book by reviewing my blog. Let me know if you have any questions about the book at mailto:John@JohnMuellerBooks.com.

John




Similar Threads
Thread Thread Starter Forum Replies Last Post
error parsing attribute 'page' & compilation error AlexW BOOK: Beginning ASP.NET 4 : in C# and VB 4 February 25th, 2011 05:01 PM
HTTP error 500: Internal Server Error in Load Testing sherin Visual Studio 2008 0 May 19th, 2010 09:02 AM
Getting error XML Parsing Error: junk after document element anarleti XSLT 10 March 17th, 2010 08:43 AM
Insert Query Error & Run-Time Error 3022 DavidWE Access 1 July 31st, 2008 11:17 AM
Help with chaptor 3 Fyyre BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 4 June 8th, 2003 03:16 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.