Message 99971 - Python tracker

Message99971

Author eric.araujo
Recipients benjamin.peterson, djc, eric.araujo, georg.brandl, r.david.murray
Date 2010-02-23.23:15:40
SpamBayes Score 0.039667163
Marked as misclassified No
Message-id <1266966941.23.0.157550488276.issue8004@psf.upfronthosting.co.za>
In-reply-to
Content
Hello

Some remarks about the code.

0. The imports do not follow PEP 8 (have one per line, sort by importance (os, sys, wsgiref)).
1. Isn’t there pitfalls with __file__?
2. Can’t you return the file object as WSGI body? Or use a direct sendfile system call?

Regards
History
Date User Action Args
2010-02-23 23:15:41eric.araujosetrecipients: + eric.araujo, georg.brandl, benjamin.peterson, djc, r.david.murray
2010-02-23 23:15:41eric.araujosetmessageid: <1266966941.23.0.157550488276.issue8004@psf.upfronthosting.co.za>
2010-02-23 23:15:40eric.araujolinkissue8004 messages
2010-02-23 23:15:40eric.araujocreate