Hello, the 'class' name collision is now solved in weird ways. According to
PEP-0008, whenever a name-collision with a keyword occurs, devs are
encouraged to use trailing underline: Tkinter.Toplevel(master,
class_='ClassName').
This syntax: soup.findAll('a', class_='ahoj') is nice, compared tosoup.findAll('a', {'class', 'ahoj'}) and
self-explanatory, compared to soup.findAll('a', 'ahoj') . The collision
with existing functionality could be an issue (?). Any class_="ahoj"attribute would cease to function (but does the internet contain anything
like this?:) IDK. IMO better to use dict in those cases (0.001%) than in '
class' cases (~50%).. ) What do U experienced-devs think about it? :-)
http://www.python.org/dev/peps/pep-0008/