Re: [sqlalchemy] Session.add doesn't work on Python 3.3.0?

2013-04-16 Thread Mauricio de Abreu Antunes
I tried your same code here I got True. Em terça-feira, 16 de abril de 2013, Michael Bayer escreveu: > cant reproduce, running with Python 3.3.0 here against 0.8.0 I get the > INSERT: > > PRAGMA table_info("products") > 2013-04-16 16:14:41,019 INFO sqlalchemy.engine.base.Engine () > 2013-04-16 16

Re: [sqlalchemy] Session.add doesn't work on Python 3.3.0?

2013-04-16 Thread Michael Bayer
cant reproduce, running with Python 3.3.0 here against 0.8.0 I get the INSERT: PRAGMA table_info("products") 2013-04-16 16:14:41,019 INFO sqlalchemy.engine.base.Engine () 2013-04-16 16:14:41,019 INFO sqlalchemy.engine.base.Engine CREATE TABLE products ( id INTEGER NOT NULL, name

Re: [sqlalchemy] Session.add doesn't work on Python 3.3.0?

2013-04-16 Thread Mauricio de Abreu Antunes
I think you need to commit your session data. Em terça-feira, 16 de abril de 2013, Tim Cooijmans escreveu: > I have a strange error using Python 3.3.0 and SQLAlchemy 0.8.0: > > from sqlalchemy import create_engine, Integer, String, Text, Column, > Sequence, DateTime, ForeignKeyfrom sqlalchemy.or

[sqlalchemy] Session.add doesn't work on Python 3.3.0?

2013-04-16 Thread Tim Cooijmans
I have a strange error using Python 3.3.0 and SQLAlchemy 0.8.0: from sqlalchemy import create_engine, Integer, String, Text, Column, Sequence, DateTime, ForeignKeyfrom sqlalchemy.orm import sessionmaker, relationship, backreffrom sqlalchemy.ext.declarative import declarative_base engine = cre