Hi, there! Do you plan to add an official module for connecting to MySQL databases? Existing third-party modules are bad-documented or no longer maintained... That's kinda strange, that such a nice language doesn't have it yet.
On 3/8/2013 3:06 AM, M.-A. Lemburg wrote:
> On 08.03.2013 00:20, Nick Coghlan wrote:
>> The number one question to ask about candidates for standard libraryI agree with this, too. However, I think this is a transient situation,
>> inclusion is "Does it make sense for this module to receive new
>> features only once every 18-24 months, and only when you upgrade to a
>> new version of Python?". Interfaces to specific external services
>> (including databases) almost never pass that test.
>
> Agreed.
not a permanent one. It's entirely possible that there exists, or will
exist, a MySQL binding that meets this criteria. I don't know. But it
shouldn't preclude us considering a binding that meets the criteria.
As to Greg's point about not including a database binding that requires
other software to run, I disagree. It's client/server: do we really need
to include the server in order to supply the client? We include nntplib,
with no server. We include webbrowser, but no web browser. imaplib, but
no imap server. Etc.
> Doesn't a MySQL binding have to link with some client library? libmysql.so?
> How is it licensed?
> I found this
> page: http://www.mysql.com/about/legal/licensing/foss-exception/
> which seems to prevent redistribution under non-free licenses.
It's not true that a client library is required. PyMySQL is pure Python.
We could also write a C connection module ourselves, if needed.
In Python documentation and materials, we use that term to mean “not
included in the standard library”. The user is one party, the Python
distribution is another one, and modules that are not in the stdlib are
called “third-party modules” and available from sources such as PyPI. I
don’t think there’s more than that to it.
Regards
Eric V. Smith wrote:Those client modules are self-contained, though. Database
It's client/server: do we really need
to include the server in order to supply the client? We include nntplib,
with no server. We include webbrowser, but no web browser. imaplib, but
no imap server. Etc.
client modules usually rely on a C component that comes
with the database and gets updated on the database's
release schedule rather than Python's.