Bump version. Minor Alpha Linux update. Clear errorhandler on close.

This commit is contained in:
adustman
2002-03-14 20:43:51 +00:00
parent 058e71d15d
commit 127059fa73
5 changed files with 8 additions and 5 deletions

View File

@ -19,8 +19,8 @@ version_info = (
0,
9,
2,
"alpha",
2)
"beta",
1)
if version_info[3] == "final": __version__ = "%d.%d.%d" % version_info[:3]
else: __version__ = "%d.%d.%d%1.1s%d" % version_info[:5]

View File

@ -73,6 +73,7 @@ class Connection:
def __del__(self):
if hasattr(self, '_db'): self.close()
print "Alas! I die!"
def close(self):
"""Close the connection. No further activity possible."""

View File

@ -46,8 +46,8 @@ class BaseCursor:
def close(self):
"""Close the cursor. No further queries will be possible."""
if not self.connection: return
self.connection = None
self.errorhandler = None
def _check_executed(self):
if not self._executed:

View File

@ -1,4 +1,4 @@
#define version_info "(0,9,2,'alpha',2)"
#define version_info "(0,9,2,'beta',1)"
#define __version__ "0.9.2"
/*
This program is free software; you can redistribute it and/or modify

View File

@ -63,6 +63,8 @@ elif sys.platform == "cygwin":
extra_compile_args = ['-DMS_WIN32']
elif sys.platform[:6] == "darwin": # Mac OS X
extra_link_args = ['-flat_namespace']
elif sys.platform == 'linux2' and os.environ.get('HOSTTYPE') == 'alpha':
libraries.extend(['ots', 'cpml'])
elif os.name == "posix": # UNIX-ish platforms not covered above
pass # default should work
else:
@ -90,7 +92,7 @@ MySQLdb. MySQLdb is free software.
setup (# Distribution meta-data
name = "MySQL-python",
version = "0.9.2a2",
version = "0.9.2b1",
description = "An interface to MySQL",
long_description=long_description,
author = "Andy Dustman",