mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-23 01:16:34 +03:00
Stop the loop variable used to create __all__ leaking in the module.
This commit is contained in:
parent
0089201ba2
commit
0dbe068df4
|
@ -1,3 +1,7 @@
|
||||||
|
2010-02-12 Daniele Varrazzo <daniele.varrazzo@gmail.com>
|
||||||
|
|
||||||
|
* Stop the loop variable used to create __all__ leaking in the module.
|
||||||
|
|
||||||
2010-02-10 Federico Di Gregorio <fog@initd.org>
|
2010-02-10 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
* lib/extensions.py: Binary was not imported from _psycopg; now it is
|
* lib/extensions.py: Binary was not imported from _psycopg; now it is
|
||||||
|
|
|
@ -83,4 +83,5 @@ from _psycopg import __version__
|
||||||
import psycopg2.extensions as _ext
|
import psycopg2.extensions as _ext
|
||||||
_ext.register_adapter(tuple, _ext.SQL_IN)
|
_ext.register_adapter(tuple, _ext.SQL_IN)
|
||||||
|
|
||||||
__all__ = [ k for k in locals().keys() if not k.startswith('_') ]
|
__all__ = filter(lambda k: not k.startswith('_'), locals().keys())
|
||||||
|
|
||||||
|
|
|
@ -111,4 +111,4 @@ class SQL_IN(object):
|
||||||
__str__ = getquoted
|
__str__ = getquoted
|
||||||
|
|
||||||
|
|
||||||
__all__ = [ k for k in locals().keys() if not k.startswith('_') ]
|
__all__ = filter(lambda k: not k.startswith('_'), locals().keys())
|
||||||
|
|
|
@ -471,4 +471,4 @@ def register_tstz_w_secs(oids=None, conn_or_curs=None):
|
||||||
return _ext.TSTZ_W_SECS
|
return _ext.TSTZ_W_SECS
|
||||||
|
|
||||||
|
|
||||||
__all__ = [ k for k in locals().keys() if not k.startswith('_') ]
|
__all__ = filter(lambda k: not k.startswith('_'), locals().keys())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user