Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96225
| From | John Gordon <gordon@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Lesson 39 of Learning Python the Hard Way hangs |
| Date | 2015-09-09 20:45 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <msq5q5$jg3$1@reader1.panix.com> (permalink) |
| References | <mailman.280.1441823265.8327.python-list@python.org> |
In <mailman.280.1441823265.8327.python-list@python.org> Gary Roach <gary719_list1@verizon.net> writes:
> Traceback (most recent call last):
> File "/root/mystuff/mystuff/ex39_test.py", line 6, in <module>
> hashmap.set(states, 'Oregon', 'OR')
> File "/root/mystuff/mystuff/hashmap.py", line 50, in set
> i, k, v = get_slot(aMap, key)
> TypeError: 'NoneType' object is not iterable
> Execution Successful!
Where does the message "Execution Successful!" come from? It seems like
you have other code that you haven't shown us.
In any case, I saved your code and ran it, and did not get an error.
--
John Gordon A is for Amy, who fell down the stairs
gordon@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Lesson 39 of Learning Python the Hard Way hangs Gary Roach <gary719_list1@verizon.net> - 2015-09-09 10:27 -0700
Re: Lesson 39 of Learning Python the Hard Way hangs John Gordon <gordon@panix.com> - 2015-09-09 20:45 +0000
Re: Lesson 39 of Learning Python the Hard Way hangs Denis McMahon <denismfmcmahon@gmail.com> - 2015-09-09 21:36 +0000
Re: Lesson 39 of Learning Python the Hard Way hangs (Fixed?) Gary Roach <gary719_list1@verizon.net> - 2015-09-09 16:58 -0700
Re: Lesson 39 of Learning Python the Hard Way hangs (Fixed?) Gary Roach <garyroach@verizon.net> - 2015-09-09 16:58 -0700
Re: Lesson 39 of Learning Python the Hard Way hangs (Fixed?) YBM <ybmess@nooos.fr.invalid> - 2015-09-10 03:42 -0300
Re: Lesson 39 of Learning Python the Hard Way hangs Gary Roach <garyroach@verizon.net> - 2015-09-09 14:53 -0700
csiph-web