Author: Alexander Hesse <webmas...@aquanasoft.de> Branch: split-rpython Changeset: r59938:258992ac0308 Date: 2013-01-10 23:43 +0100 http://bitbucket.org/pypy/pypy/changeset/258992ac0308/
Log: Killed pypy.tool.debug_print in favor of rpython.rlib.debug diff --git a/pypy/tool/debug_print.py b/pypy/tool/debug_print.py deleted file mode 100644 --- a/pypy/tool/debug_print.py +++ /dev/null @@ -1,20 +0,0 @@ -""" -If we are on pypy, use the real debug_* functions defined in __pypy__. - -Else, use empty functions -""" - -try: - from __pypy__ import debug_start, debug_stop, debug_print, debug_print_once -except ImportError: - def debug_start(*args): - pass - - def debug_stop(*args): - pass - - def debug_print(*args): - pass - - def debug_print_once(*args): - pass diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py --- a/rpython/translator/driver.py +++ b/rpython/translator/driver.py @@ -9,7 +9,7 @@ from rpython.annotator.listdef import s_list_of_strings from rpython.annotator import policy as annpolicy from rpython.tool.udir import udir -from pypy.tool.debug_print import debug_start, debug_print, debug_stop +from rpython.rlib.debug import debug_start, debug_print, debug_stop from rpython.rlib.entrypoint import secondary_entrypoints import py _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit