This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, poq
Date 2012-01-11.21:07:33
SpamBayes Score 7.2458666e-09
Marked as misclassified No
Message-id <1326316054.58.0.0883961191253.issue13773@psf.upfronthosting.co.za>
In-reply-to
Content
Hi, I will let others discuss the feature itself, here are already some comments about your patch:

- In module_connect(), the ability to pass "factory" as a positional argument is broken, please restore the previous code; I'm afraid there is no better implementation, even if it's a copy of connection.__init__.
- I suggest to allow "uri" in all builds, and fail only when it's True on a non supported platform.
- In general, try to wrap C code in 80 columns (except for the ".. function::" directive in .rst files)
- IIRC a correct URI is file:///path/to/file but sqlite probably allows file:/path/to/file as well.
- The test function should use "from test.support import TESTFN" to get a temporary file name (but I agree that sqlite tests don't seem to follow Python standards)
History
Date User Action Args
2012-01-11 21:07:34amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, poq
2012-01-11 21:07:34amaury.forgeotdarcsetmessageid: <1326316054.58.0.0883961191253.issue13773@psf.upfronthosting.co.za>
2012-01-11 21:07:34amaury.forgeotdarclinkissue13773 messages
2012-01-11 21:07:33amaury.forgeotdarccreate