what does 'a=b=c=[]' do

rusi rustompmody at gmail.com
Fri Dec 23 05:31:46 EST 2011


On Dec 23, 2:59 pm, Chris Angelico <ros... at gmail.com> wrote:
> On Fri, Dec 23, 2011 at 7:49 PM, Ethan Furman <et... at stoneleaf.us> wrote:
> > That is the most ridiculous thing I have heard in a while.  Mutable default
> > arguments are *not* a bug in Python.
>
> > Reminds me of a bug report a couple years back claiming multiple inheritence
> > was a bug and asking it to be removed.
>
> Both of these could arguably be called misfeatures, but not bugs.
>
> ChrisA

In Fortran, if the comma in the loop
DO 10 I = 1,10
is misspelt as '.' it becomes the assignment
DO10I = 1.0

Do you consider it a bug or a feature?
Does Fortran consider it a bug or feature?



More information about the Python-list mailing list