On 14 October 2013 01:05, Victor Stinner <victor.stin...@gmail.com> wrote: > 2013/10/13 Ethan Furman <et...@stoneleaf.us>: >> True, but Raymond's example of >> >> with ignore(OSError): >> os.remove('somefile') > > And what about: > > with ignore(OSError): > os.remove('file1') > os.remove('file2')
It's just as broken as the try/except equivalent. I consider that a feature, not a bug. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com