From 2f9a9aaf213f9fea109c5d4828d1bbff4b3a0b2b Mon Sep 17 00:00:00 2001 From: Larry Hastings Date: Sun, 24 Nov 2013 04:23:35 -0800 Subject: Clinic: Add warning for untested (and unused in CPython!) format units. --- Tools/clinic/clinic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 3c40e06..cac90e1 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -1656,6 +1656,7 @@ class str_converter(CConverter): format_unit = 'et#' if format_unit.endswith('#'): + print("Warning: code using format unit ", repr(format_unit), "probably doesn't work properly.") # TODO set pointer to NULL # TODO add cleanup for buffer pass -- cgit v0.12