This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tormen
Recipients tormen
Date 2010-02-08.19:03:40
SpamBayes Score 0.0018334077
Marked as misclassified No
Message-id <1265655823.9.0.9257468855.issue7886@psf.upfronthosting.co.za>
In-reply-to
Content
# python 3.1.1:

myList = []
for item in myList:
    print( item ) # <<< works

for item in myList.reverse(): # <<< breaks with: TypeError: 'NoneType' object is not iterable
    print( item ) #

# But the reverse of an empty list should really be an empty list
# ... or do I miss something here?
History
Date User Action Args
2010-02-08 19:03:44tormensetrecipients: + tormen
2010-02-08 19:03:43tormensetmessageid: <1265655823.9.0.9257468855.issue7886@psf.upfronthosting.co.za>
2010-02-08 19:03:41tormenlinkissue7886 messages
2010-02-08 19:03:41tormencreate