-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi.
I'm here again with a problem I don't know if it is a bug in SA or in my code. Here is the offending code: from sqlalchemy import schema, types, sql, create_engine metadata = schema.MetaData() test = schema.Table( 'test', metadata, schema.Column('x', types.Integer, primary_key=True), schema.Column('y', types.Boolean, default=True, nullable=False) ) engine = create_engine('sqlite://') engine.create(metadata) try: params = [ {'x': 1}, {'x': 2, 'y': False} ] engine.execute(test.insert(), params) print engine.execute(test.select()).fetchall() finally: engine.drop(metadata) This should print: [(1, True), (2, False)] and instead it prints [(1, True), (2, True)] Thanks Manlio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkti31QACgkQscQJ24LbaUQSdgCfctrxG3mAH22uWIoVj65EXCKH bKIAnjPmGw5CvQID6JvW7bHpn5aAgD2j =m+dS -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.