Debian Automated Code Analysis

pyflakes analysis of diveintopython3_20110218-1_all.deb

./usr/share/doc/diveintopython3/examples/plural5.py:18: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/share/doc/diveintopython3/examples/plural5.py:18: invalid syntax
    with open(rules_filename, encoding='utf-8') as pattern_file:
             ^
./usr/share/doc/diveintopython3/examples/plural4.py:18: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/share/doc/diveintopython3/examples/plural4.py:18: invalid syntax
with open('plural4-rules.txt', encoding='utf-8') as pattern_file:
         ^
./usr/share/doc/diveintopython3/examples/alphametics.py:14: invalid syntax
    first_letters = {word[0] for word in words}
                                ^
./usr/share/doc/diveintopython3/examples/customserializer.py:27: invalid syntax
    entry['internal_id'] = b'\xDE\xD5\xB4\xF8'
                                              ^
./usr/share/doc/diveintopython3/examples/stdout.py:15: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/share/doc/diveintopython3/examples/stdout.py:15: invalid syntax
with open('out.log', mode='w', encoding='utf-8') as a_file, RedirectStdoutTo(a_file):
         ^
./usr/share/doc/diveintopython3/examples/oneline.py:2: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/share/doc/diveintopython3/examples/oneline.py:2: invalid syntax
with open('examples/favorite-people.txt', encoding='utf-8') as a_file:
         ^

This report was generated on Tue, 05 Apr 2011 06:28:08 +0000, based on results by pyflakes 0.4.0-1