Re: [Zope3-dev] Re: [Zope3-Users] ODBC database adapter for Zope3?

2005-09-13 Thread Chris Withers
Stephan Richter wrote: Oh :-( That sucks. Is there a DBAPI sig for python that we should be talking to about getting that fixed? There is a sig and we could try. But I have *very* little hope that such a proposal would come to fruition. Most applications don't really care about supporting

Re: [Zope3-dev] Re: [Zope3-Users] ODBC database adapter for Zope3?

2005-09-12 Thread Chris Withers
Benji York wrote: I guess my comments come from seeing lots of different Zope 2 DAs where all the boilerplate of the DA, as opposed to the DB, has been copied between different DAs, and often implemented with varying degrees of incompetence and lack of maintenance ;-) Perhaps a standard

Re: [Zope3-dev] Re: [Zope3-Users] ODBC database adapter for Zope3?

2005-09-12 Thread Chris Withers
Stephan Richter wrote: 1. Parse the DSN to the various DB package formats. One of the big problems of Python's DB API is that it does not specify a unified connection mechanism, while Zope 3 does, which is a very good thing. Oh :-( That sucks. Is there a DBAPI sig for python that we should be

Re: [Zope3-dev] Re: [Zope3-Users] ODBC database adapter for Zope3?

2005-09-08 Thread Chris Withers
Stephan Richter wrote: On Wednesday 07 September 2005 08:41, Chris Withers wrote: I know Zope 2 has the bizarre need for a dual Zope DA and Python DB set of things, but do we have to support this pattern in Zope 3? Is there any reason the Zope 3 RBD machinery can't just work with ANY Python

Re: [Zope3-dev] Re: [Zope3-Users] ODBC database adapter for Zope3?

2005-09-08 Thread Stephan Richter
On Thursday 08 September 2005 06:04, Chris Withers wrote: Is there any reason the Zope 3 RBD machinery can't just work with ANY Python DBAPI 2.0 (or whatever..) compatible database library? Yes, we have the need. We need the wrapper to correctly handle our transactions, so that if a RDB

Re: [Zope3-dev] Re: [Zope3-Users] ODBC database adapter for Zope3?

2005-09-08 Thread Stephan Richter
On Thursday 08 September 2005 06:04, Chris Withers wrote: If we can get all that stuff in one place, then we have a much better chance of making it as good as it should be, AND we make it possible to use any relational database which has a python library, rather than having ot wait for some

Re: [Zope3-dev] Re: [Zope3-Users] ODBC database adapter for Zope3?

2005-09-08 Thread Benji York
Chris Withers wrote: I guess my comments come from seeing lots of different Zope 2 DAs where all the boilerplate of the DA, as opposed to the DB, has been copied between different DAs, and often implemented with varying degrees of incompetence and lack of maintenance ;-) Perhaps a standard

Re: [Zope3-dev] Re: [Zope3-Users] ODBC database adapter for Zope3?

2005-09-07 Thread Stephan Richter
On Wednesday 07 September 2005 08:41, Chris Withers wrote: I know Zope 2 has the bizarre need for a dual Zope DA and Python DB set of things, but do we have to support this pattern in Zope 3? Is there any reason the Zope 3 RBD machinery can't just work with ANY Python DBAPI 2.0 (or