<div dir="ltr"><div>I disagree moderately with Dustin.  Obviously, it is true that a magic wand doesn't produce a standard-library module.  However, having support for MySQL/MariaDB (and PostgreSQL) in the standard library would be desirable.  This would bring MySQL support to the same level as we have for SQLite3.<br>
<br></div>In particular, I would NOT WANT such standard library support to include any ORM layer to it; I feel like those should remain as third-party tools (and compete on their various merits).  But the basic level of providing a *binding* feels like something desirable (and specifically, a binding that was as close to a drop-in substitute for 'sqlite3' as possible).<br>
<div><div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 7, 2013 at 12:59 PM, Dustin J. Mitchell <span dir="ltr"><<a href="mailto:dustin@v.igoro.us" target="_blank">dustin@v.igoro.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, Mar 7, 2013 at 3:41 PM, Thomas Allen <<a href="mailto:jsbfox@gmail.com">jsbfox@gmail.com</a>> wrote:<br>

> Hi, there! Do you plan to add an official module for connecting to MySQL<br>
> databases? Existing third-party modules are bad-documented or no longer<br>
> maintained... That's kinda strange, that such a nice language doesn't have<br>
> it yet.<br>
<br>
</div></div>Where would such a module come from?  The PSF can't wave a magic<br>
"official" flag and will software into existence.  Someone needs to<br>
write it.<br>
<br>
I suspect from your use of the term "third party", that you come from<br>
the world of proprietary software.  In OSS, we're all mutual third<br>
parties.<br>
<br>
There are several nice MySQL bindings out there.  Just about everyone<br>
uses Python-MySQL, but I've recently given my heart to PyMySQL, since<br>
it's pure python and thus a lot easier to install.  If I recall from<br>
the SQLAlchemy docs, there are a few others out there.  So I suspect<br>
that your basic premise is incorrect: there's lots of good options out<br>
there, and in fact several tools to abstract the differences between<br>
them (SQLAlchemy being my choice).  I don't think the community would<br>
be well-served by selecting one as the default implementation.<br>
<br>
Dustin<br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Keeping medicines from the bloodstreams of the sick; food <br>from the bellies of the hungry; books from the hands of the <br>uneducated; technology from the underdeveloped; and putting <br>
advocates of freedom in prisons.  Intellectual property is<br>to the 21st century what the slave trade was to the 16th.<br>
</div></div></div></div>