OK I did some further testing and I'm pretty stupid some basic
understanding of python would tell me that the for loop finishes without a
problem if there are no elements in it.
{{try:}}
{{print articlesformovie[0]}}
{{noarticles=0}}
{{except:}}
{{noarticles=1}}
<TR><TD></TD><TD>Es sind bisher keine Artikel zu diesem Film
geschrieben worden.</TD></TR>
{{if noarticles==0:}}
{{for z in articles:}}
<TR><TD>{{=z.Title}}
</TD><TD>{{=A(z.Title,_href=URL(r=request,f='article',vars=dict(id=
z.id)))}}</TD></TR>
{{pass}}
{{pass}}