[Python-talk] IBM DeveloperWorks article series on Python 3
Kent Johnson
kent37 at tds.net
Tue Dec 23 14:58:17 EST 2008
On Tue, Dec 23, 2008 at 12:23 PM, Shawn O'Shea <shawn at eth0.net> wrote:
> I just started reading this new article from IBM DeveloperWorks:
> "Python 3 primer, Part 1: What's new"
> http://www.ibm.com/developerworks/linux/library/l-python3-1/index.html
A few issues with this article:
- list(d.keys()) does not cast a dict object, it constructs a new list
from a dictionary view.
- SimpleAbstractClass.register(list) does not make SimpleAbstractClass
a subclass of list, it makes list a "virtual subclass" of
SimpleAbstractClass.
Kent
More information about the Python-talk
mailing list