Re: [Sqlalchemy-tickets] [sqlalchemy] #2776: OracleDialect.initialize() KeyError with Oracle 8i
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-07-12 13:14:13
|
#2776: OracleDialect.initialize() KeyError with Oracle 8i
-----------------------------------+-------------------------------
Reporter: kentbower | Owner: zzzeek
Type: defect | Status: closed
Priority: high | Milestone: 0.8.xx
Component: oracle | Severity: major - 1-3 hours
Resolution: fixed | Keywords:
Progress State: completed/closed |
-----------------------------------+-------------------------------
Comment (by kentbower):
Certainly stops Dialect.initialize() from being invoked again, thanks!
P.S. Not functionally important, but in
`lib/sqlalchemy/util/langhelpers.py` you stuck the `def only_once()`
decorator in between the `chop_traceback()` definition and its constants:
{{{
#!python
_SQLA_RE = re.compile(r'sqlalchemy/([a-z_]+/){0,2}[a-z_]+\.py')
_UNITTEST_RE = re.compile(r'unit(?:2|test2?/)')
def chop_traceback(tb, exclude_prefix=_UNITTEST_RE,
exclude_suffix=_SQLA_RE):
...
}}}
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2776#comment:8>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|