Kaydet (Commit) 2f9a9aaf authored tarafından Larry Hastings's avatar Larry Hastings

Clinic: Add warning for untested (and unused in CPython!) format units.

üst 472a65a7
...@@ -1656,6 +1656,7 @@ class str_converter(CConverter): ...@@ -1656,6 +1656,7 @@ class str_converter(CConverter):
format_unit = 'et#' format_unit = 'et#'
if format_unit.endswith('#'): if format_unit.endswith('#'):
print("Warning: code using format unit ", repr(format_unit), "probably doesn't work properly.")
# TODO set pointer to NULL # TODO set pointer to NULL
# TODO add cleanup for buffer # TODO add cleanup for buffer
pass pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment