[DB-SIG] reST DBAPI [was: Use of context managers with DB API 2]

Daniele Varrazzo daniele.varrazzo at gmail.com
Mon Nov 5 18:29:05 CET 2012


On Mon, Nov 5, 2012 at 10:16 AM, M.-A. Lemburg <mal at egenix.com> wrote:
> On 05.11.2012 10:46, Daniele Varrazzo wrote:
>> On Mon, Nov 5, 2012 at 9:28 AM, M.-A. Lemburg <mal at egenix.com> wrote:
>>> On 04.11.2012 23:24, Christoph Zwerschke wrote:
>>
>>>> Is everybody happy with that?
>>>
>>> Sounds good :-)
>>
>> While at changing the DBAPI: would it be ok to reformat it in reST?
>> Not only for aesthetic reasons, but also to provide anchors to refer
>> to: in psycopg docs there are several cross references to the api and
>> they can only be to the whole file, not to the point being referenced.
>> I can do it if you want.
>
> If you'd like to do the conversion, we can go ahead with this. I'd
> suggest you first do the conversion and then we add the new text
> snippet for context managers.

Here is a mockup of the pep rendered with stylesheets in place:
<http://piro.synology.me/dbapi/>. Please review it: if it's fine we
can submit it for inclusion in the peps repos. Current version of the
pep in reST is at <http://piro.synology.me/dbapi/pep-0249.txt>.

-- Daniele


More information about the DB-SIG mailing list