Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 17th, 2011, 06: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
Reply With Quote
  #2 (permalink)  
Old May 18th, 2011, 07: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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 10:02 AM
Getting error XML Parsing Error: junk after document element anarleti XSLT 10 March 17th, 2010 09:43 AM
Insert Query Error & Run-Time Error 3022 DavidWE Access 1 July 31st, 2008 12:17 PM
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 04:16 PM



All times are GMT -4. The time now is 05:46 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.