Did I find the right examples for you? yes no

All Samples(72)  |  Call(0)  |  Derive(0)  |  Import(72)
_mysql_exceptions: Exception classes for _mysql and MySQLdb.

These classes are dictated by the DB API v2.0:

    http://www.python.org/topics/database/DatabaseAPI-2.0.html

src/p/y/pydanny-event-notes-HEAD/Pycon2009/internet/examples/ch21/alt/ushuffle_dbPRE25.py   pydanny-event-notes(Download)
        try:
            import MySQLdb
            import _mysql_exceptions as DB_EXC 
        except ImportError, e:
            return None

src/p/y/pydanny-event-notes-HEAD/Pycon2009/internet/examples/ch21/ushuffle_so.py   pydanny-event-notes(Download)
    def __init__(self, db, dbName):
        import MySQLdb
        import _mysql_exceptions
        url = 'mysql://localhost/%s' % DBNAME
 

src/p/y/pydanny-event-notes-HEAD/Pycon2009/internet/examples/ch21/ushuffle_sa.py   pydanny-event-notes(Download)
    def __init__(self, db, dbName):
        import MySQLdb
        import _mysql_exceptions
        MySQLdb = pool.manage(MySQLdb)
        url = 'mysql://db=%s' % DBNAME

src/p/y/pydanny-event-notes-HEAD/Pycon2009/internet/examples/ch21/ushuffle_db.py   pydanny-event-notes(Download)
        try:
            import MySQLdb
            import _mysql_exceptions as DB_EXC 
        except ImportError, e:
            return None

src/c/g/cgData-HEAD/scripts/extractSamples.py   cgData(Download)
#!/usr/bin/env python
 
import MySQLdb
import _mysql_exceptions
import sys

src/x/r/XRecord-0.1.8/doc/api/src/XRecord/mysql.py   XRecord(Download)
    def Test(self):
        import _mysql_exceptions 
        try:
            self._conn.ping()
        except _mysql_exceptions.Error:
    def ErrorTranslation(self, orig):
        import _mysql_exceptions as my
        try:
            raise orig
        except my.OperationalError, e:

src/x/r/XRecord-0.1.8/src/XRecord/mysql.py   XRecord(Download)
    def Test(self):
        import _mysql_exceptions 
        try:
            self._conn.ping()
        except _mysql_exceptions.Error:
    def ErrorTranslation(self, orig):
        import _mysql_exceptions as my
        try:
            raise orig
        except my.OperationalError, e:

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/Apps/SocialBookmarks/DBWrapper.py   kamaelia(Download)
"""
import MySQLdb
import _mysql_exceptions
from Kamaelia.Apps.SocialBookmarks.Print import Print
import inspect

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/Apps/SocialBookmarks/DataCollector.py   kamaelia(Download)
from datetime import datetime
from dateutil.parser import parse
import _mysql_exceptions
 
from Axon.Ipc import producerFinished

src/x/r/XRecord-0.1.8/doc/api/src/XRecord/postgresql.py   XRecord(Download)
    def ErrorTranslation(self, orig):
        import _mysql_exceptions as my
        try:
            raise orig
        except pg.OperationalError, e:

  1 | 2 | 3 | 4 | 5 | 6 | 7  Next