Mercurial > cpython-lru_cache-weakref
diff Lib/sqlite3/__init__.py @ 39543:9bc0bc0ad1bf
Quite a few fixes to make the library and test suite more robust when
cPickle cannot be imported. This was necessary because my last mass
checkin broke cPickle and I don't feel like debugging it right now;
but it seems a good idea in general not to require cPickle when
pickle.py is also there. A few unrelated fixes for issues while
debigging various test failures.
setup.py: disable building of cPickle until I've fixed it
Objects/...
genobject.c: disallow raising string exceptions
Lib/...
Cookie.py: fix doctest not to fail if cPickle is missing
ctypes/macholib/dyld.py: fix relative imports
sqlite3/__init__.py: fix relative import
xml/dom/__init__.py: fix relative import
Lib/test/...
regrtest.py: reduce list of skipped items on darwin
test_generators.py: don't test string exceptions; test throw() errors
test_traceback.py: don't test string exceptions
pickletester.py: don't fail if cPickle is missing
test_datetime.py: don't fail if cPickle is missing
test_descr.py: don't fail if cPickle is missing (still some other failures)
test_exceptions.py: don't fail if cPickle is missing
test_re.py: don't fail if cPickle is missing
test_array.py: use pickle, not cPickle
test_bool.py: don't fail if cPickle is missing
test_deque.py: use pickle, not cPickle
test_logging.py: use pickle, not cPickle
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Aug 2006 20:24:18 +0000 |
| parents | f731859e9b3b |
| children | 040ee94a9350 |
line wrap: on
line diff
--- a/Lib/sqlite3/__init__.py Thu Aug 17 09:10:09 2006 +0000 +++ b/Lib/sqlite3/__init__.py Thu Aug 17 20:24:18 2006 +0000 @@ -21,4 +21,4 @@ # misrepresented as being the original software. # 3. This notice may not be removed or altered from any source distribution. -from dbapi2 import * +from sqlite3.dbapi2 import *
