-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I recently wrote my first big patch for SQLAlchemy:
http://www.sqlalchemy.org/trac/attachment/ticket/1679/schema.patch

and I have some questions about the source code.

* Why objects like Sequence have a `__visit_name__ = 'sequence'`, and
  the `visit_sequence` method in the `Compiler` simply returns None?

  If there is nothing to do in the visitor, what is the reason to be
  visitable?

* I have noted that some database objects not directly attached to a
  metadata, like a Sequence, can leave the database in an inconsistent
  state if the associated test suite fails.

  I have the same problem with the Schema object.
  If, for some reason, in the test suite there is an error before the
  schema is dropped, the successive run of the test suite will fail,
  since the test will try to create an already existing schema.

  Is there a good solution?



Thanks   Manlio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuK6JwACgkQscQJ24LbaURl9ACfV5tcexDnWcNee62MiQaMdkr6
kVcAoJDEtTt4D1DhNeaTVSA38HYDO5I1
=EmkU
-----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.

Reply via email to