Commit Graph

297 Commits

Author SHA1 Message Date
Andy Dustman
129f09ace4 Windows is HELL 2012-09-26 11:24:14 -04:00
Andy Dustman
f60f81d114 Revert "Hopefully this is just a very minor spacing cleanup."
This reverts commit cdc221a807.

Conflicts:
	MySQLdb/MANIFEST.in
	MySQLdb/metadata.cfg
2012-09-26 11:18:32 -04:00
Andy Dustman
08945a4627 License file, cleanup MANIFEST.in, and bump version to 1.2.4b1 2012-09-25 21:45:14 -04:00
Andy Dustman
cdc221a807 Hopefully this is just a very minor spacing cleanup. 2012-09-25 21:08:56 -04:00
adustman
7676693b8f More Python 3 fixes. Py 3 blows up when testing BLOBs. 2012-09-08 21:22:53 +00:00
adustman
8041cc6df6 Some (many) tests actually pass now on Python 3. May no longer be backwards-compatible with Python < 2.6. 2012-09-08 20:24:45 +00:00
adustman
fe917fcced _mysql imports now, but still crashes 2012-09-08 18:44:34 +00:00
adustman
a5c7996f60 Fix import _mysql SystemError so that now we get the ImportError... 2012-09-08 18:16:28 +00:00
adustman
3b3e11340a Python 3 fixes. _mysql raises SystemError, segfaults 2012-09-08 17:28:34 +00:00
adustman
ece1e0e08b _mysql.c compiles and links with Python 3.2.3 now. Need to fix the Python code now... 2012-09-08 16:55:16 +00:00
adustman
c1d15552e6 A couple more Python 3 fixes. 2012-09-07 22:48:55 +00:00
adustman
66abb0e8d0 A lot more Python 3 fixes for _mysql. It still ain't fixed or broken yet (for Python <3) 2012-09-07 22:09:31 +00:00
adustman
9737a4cb39 Some Python 3 fixes for _mysql. It ain't fixed but at least it ain't broken yet (for Python <3) 2012-09-07 20:19:56 +00:00
adustman
1294271d28 Some Python 3 fixes for the build process. _mysql does *not* build yet. 2012-09-07 20:01:59 +00:00
adustman
e614bd4795 You'll use distribute, and like it, dagnabbit, part deux 2012-09-07 19:42:41 +00:00
adustman
a5fe12f857 You'll use distribute, and like it, dagnabbit 2012-09-07 19:14:50 +00:00
adustman
33002cedff Delay setting cursorclass until after superclass initialization. Fixes #3211938 2012-09-07 18:09:19 +00:00
adustman
dd3cc7cafc Use isoformat() instead of strftime() to avoid year limitations of the latter. Fixes #3296395 2012-09-07 18:04:23 +00:00
adustman
6fc719b4b1 Make the insert_values regex case-insensitive. Fixes #3511137 2012-09-07 17:30:36 +00:00
adustman
318dab9ab4 Add a test case for #3514287. Was fixed in 1.2.3. 2012-09-07 17:23:22 +00:00
adustman
c12e7cca7e Force HAVE_OPENSSL if the client library is 5.5 or newer. Fixes #3535584. 2012-09-07 17:09:13 +00:00
adustman
e6d24c358d Fix: Error is not checked if mysql_store_result returns NULL (#3546166) 2012-09-07 16:53:15 +00:00
adustman
10077317cd Avoid unbound local on exception. Fixes #1686154 2012-09-07 15:46:30 +00:00
adustman
81dbbc5174 Update UnitTest methods deprecated in Python 2.7 2012-09-07 15:32:48 +00:00
adustman
3070f46d7d More Windows build fixes. 2012-09-05 02:56:43 +00:00
adustman
11ade40463 Windows build fixes. 2012-09-05 00:38:57 +00:00
kylev
54cc6fda9c Add some 1.2.3 notes 2010-06-17 07:03:34 +00:00
kylev
a6882d1768 1.2.3 final 2010-06-17 06:49:09 +00:00
kylev
e2f4478153 Bump to setuptools bootstrap for 0.6c11 2010-06-17 06:45:40 +00:00
kylev
93637dd74f We need to copy the -arch compile flags to link-time flags in order to have a
chance of building on OS X.
2010-06-17 06:39:51 +00:00
kylev
ab6f294c41 Clean up some whitespace, test python version the same (cleaner) way that trunk does 2010-02-25 21:28:13 +00:00
kylev
1a728edd49 Unpack kill argument into an unsigned long correctly.
SF bug #2902635
2009-12-08 00:17:13 +00:00
kylev
29b884d0cc Defer adding references until after all our C calls so we can avoid having
to decrement them if we bail out early.

Fixes bug 2811033.
2009-07-24 00:18:07 +00:00
kylev
fcbf7c9791 "import" creates GIL overhead every time it is run. For threaded MySQLdb apps,
it doesn't make sense to pay that cost for every execute(), so lets move some
of these imports.

http://wiki.python.org/moin/PythonSpeed/PerformanceTips#ImportStatementOverhead
2009-05-18 22:30:19 +00:00
kylev
4d70852735 Bug #1774101 was caused by only copying things that had integer keys. We really
want to copy all key/value pairs and specially handle the int->list case.
2009-05-18 21:12:38 +00:00
adustman
eb0eb1f292 1.2.3 release candidate 1 2009-03-30 23:23:39 +00:00
adustman
f19386dd83 2009-03-30 23:01:58 +00:00
adustman
91de6b7b70 MySQLdb-1.2.3b2 2009-03-14 02:37:11 +00:00
adustman
fa5cb8b463 Add a test for connection.ping() 2009-03-11 02:34:59 +00:00
adustman
1697ff85f1 Fix #2061583: Ignore any non-numeric portion of client and server
version numbers.
2009-03-11 02:01:49 +00:00
adustman
d57be3fb50 Fix for bug #2479317 (patch #2496558) by kylev. Make some time handling
stuff more consistent.
2009-03-11 00:48:08 +00:00
adustman
ae8a1a8a75 Backport some new trunk tests 2009-03-08 17:48:11 +00:00
adustman
8d2979ed02 Move tests into their own directory to parallel trunk 2009-03-08 17:45:52 +00:00
adustman
0e2dbef519 Short-term fix for bug #2671682.
Make tests a little more parallel to trunk version.

Add nose.collector as test_suite
2009-03-08 16:34:49 +00:00
kylev
75a6326614 Two more old-style exception invocations 2009-03-05 19:55:19 +00:00
kylev
82a49f8d29 We missed one more 2.6-warning generating exception 2009-02-24 02:53:46 +00:00
kylev
7d57743ff4 Fix bug 1808476 for OSX compilation, ported from trunk. 2009-02-24 02:48:29 +00:00
kylev
e9c57bd414 don't leak special-case tuples (present in unicode modes) 2009-02-23 23:39:00 +00:00
adustman
f15a72a5e4 Updated ez_setup.py to latest version. 2009-02-06 00:52:34 +00:00
adustman
284b862950 Found one more old-style raise. Should fix #2122496. 2008-10-18 00:13:35 +00:00