Poor Yorick <pooryor...@users.sourceforge.net> added the comment: here is a monkey patch to work around the problem:
import __future__ import doctest if sys.version_info.major > 2: _extract_future_flags_old = doctest._extract_future_flags def _extract_future_flags(globs): flags = _extract_future_flags_old(globs) flags = flags & ~__future__.division.compiler_flag flags = flags & ~__future__.absolute_import.compiler_ flags = flags & ~__future__.nested_scopes.compiler_fl flags = flags & ~__future__.print_function.compiler_f flags = flags & ~__future__.unicode_literals.compiler flags = flags & ~__future__.with_statement.compiler_f return flags doctest._extract_future_flags = _extract_future_flags ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6363> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com