Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errata in the book on Page 385 #63

Open
dawiediamondinvoke opened this issue Apr 5, 2021 · 0 comments
Open

Errata in the book on Page 385 #63

dawiediamondinvoke opened this issue Apr 5, 2021 · 0 comments
Assignees

Comments

@dawiediamondinvoke
Copy link

dawiediamondinvoke commented Apr 5, 2021

Hi Mariano,

I am reading the Kindle version of the book and would like to query something, I do not know how else to get hold of you.

On page 385 we have the following sentence: "In the simulated version of the third-party client, we put the requirement that the parameters provided must be of string type. Therefore, if the result of the run_process method is not a string,we might expect it to fail, and indeed it does."

I cannot understand why the code just prior to this sentence would fail, since we wrap the result variable with str(). Can you confirm that I am correct in my assessment that the code would not fail? Or am I misunderstanding the description?

It seems that the Process class in example ch08/ut_design_1.py would not fail, but the Process class in example ch08/ut_design_2.py would fail, hence my confusion.

Kind regards,

Dawie Diamond

@rmariano rmariano self-assigned this May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants