A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-May/024287.html below:

[Python-Dev] Out of date FAQ entries

[Python-Dev] Out of date FAQ entriesNeal Norwitz neal@metaslash.com
Wed, 22 May 2002 22:24:34 -0400
I was looking over the FAQ and noticed a out-of-date entries.

I fixed a few:  

6.6. Why can't I derive a class from built-in types (e.g. lists or files)? **
	Added note that this doesn't apply to 2.2+

6.21. How do you specify and enforce an interface spec in Python? **
	Added note that pychecker can find these problems.


But there are some others, which I can't do a good job updating.
The one's I did update could use some work too. :-)


6.5. Why does Python use methods for some functionality (e.g. list.index()) but functions for other (e.g. len(list))?
	Perhaps update comment about strings, numbers not having methods.

6.12. Why is there no more efficient way of iterating over a dictionary than first constructing the list of keys()?
	for k in d: # now works

6.13. Can Python be compiled to machine code, C or some other language?
	Should mention pysco?

6.24. Why no class methods or mutable class variables?
	Mention classmethod(), staticmethod()?

I'm sure there's others that could use fixing.

Neal




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4