[Python-Dev] Consistency questions
Paul Prescod
paul@prescod.net
Thu, 20 Jul 2000 01:51:33 -0500
#1. Why does can I overwrite the "standard output object" with
assignment syntax
sys.stdout=mystdoutobj
But I have to add a profile function with function syntax:
sys.setprofile( myprofilefunc )
#2. Why doesn't dir( obj ) return inherited methods?
--
Paul Prescod - Not encumbered by corporate consensus
"Hardly anything more unwelcome can befall a scientific writer than
having the foundations of his edifice shaken after the work is
finished. I have been placed in this position by a letter from
Mr. Bertrand Russell..."
- Frege, Appendix of Basic Laws of Arithmetic (of Russell's Paradox)