thp / minidb

Store Python objects in SQLite 3. Concise, pythonic API. Easy to write, relatively easy to read. A kind of super simple ORM, if you will. Give it a try.
https://thp.io/2010/minidb/
Other
66 stars 15 forks source link

Python 2 compatibility #1

Closed sbraz closed 8 years ago

sbraz commented 8 years ago

Hi, I see that tests fail with Python 2 and you mentioned that this module is made for Python 3. Does it mean it does not support Python 2? In this case I guess urlwatch doesn't either.

  File "minidb.py", line 70
    ...
    ^
SyntaxError: invalid syntax
thp commented 8 years ago

This is correct, minidb and urlwatch now require Python 3 and do not support Python 2 anymore. The first version of Python 3 has been released in 2008, and Python 3.3 (the version that urlwatch depends on), has been released in 2012.

This requirement is also mentioned in urlwatch: https://github.com/thp/urlwatch/blob/master/README#L21

sbraz commented 8 years ago

OK, thanks for clearing this up!