Skip to content

Commit e445bdc

Browse files
committed
Remove "Cannot run pdb yet" warning
1 parent 2dbaeff commit e445bdc

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/SysModuleBuiltins.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
import static com.oracle.graal.python.nodes.ErrorMessages.REC_LIMIT_GREATER_THAN_1;
105105
import static com.oracle.graal.python.nodes.ErrorMessages.SWITCH_INTERVAL_MUST_BE_POSITIVE;
106106
import static com.oracle.graal.python.nodes.ErrorMessages.S_EXPECTED_GOT_P;
107-
import static com.oracle.graal.python.nodes.ErrorMessages.WARN_CANNOT_RUN_PDB_YET;
108107
import static com.oracle.graal.python.nodes.ErrorMessages.WARN_DEPRECTATED_SYS_CHECKINTERVAL;
109108
import static com.oracle.graal.python.nodes.ErrorMessages.WARN_IGNORE_UNIMPORTABLE_BREAKPOINT_S;
110109
import static com.oracle.graal.python.nodes.SpecialAttributeNames.T___;
@@ -1557,7 +1556,6 @@ Object doHook(VirtualFrame frame, Object[] args, PKeyword[] keywords,
15571556
@Cached TruffleString.SubstringNode substringNode) {
15581557
TruffleString hookName = getEnvVar(frame, importNode, getAttr, callMethodObjArgs, castToStringNode);
15591558
if (hookName == null || hookName.isEmpty()) {
1560-
warnNode.warnFormat(frame, RuntimeWarning, WARN_CANNOT_RUN_PDB_YET);
15611559
hookName = T_VAL_PDB_SETTRACE;
15621560
}
15631561

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/ErrorMessages.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,6 @@ public abstract class ErrorMessages {
13381338
public static final TruffleString WARN_INT_CONVERSION_DEPRECATED = tsLiteral("an integer is required (got type %p). " +
13391339
"Implicit conversion to integers using __int__ is deprecated, " +
13401340
"and may be removed in a future version of Python.");
1341-
public static final TruffleString WARN_CANNOT_RUN_PDB_YET = tsLiteral("Graal Python cannot run pdb, yet, consider using `--inspect` on the commandline");
13421341
public static final TruffleString WARN_IGNORE_UNIMPORTABLE_BREAKPOINT_S = tsLiteral("Ignoring unimportable $PYTHONBREAKPOINT: \"%s\"");
13431342
public static final TruffleString WARN_DEPRECTATED_SYS_CHECKINTERVAL = tsLiteral("sys.getcheckinterval() and sys.setcheckinterval() " +
13441343
"are deprecated. Use sys.getswitchinterval() instead.");

0 commit comments

Comments
 (0)