From 595a8fd33c805fe238891786cbd235fa10d835f1 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 24 Sep 2019 20:33:02 +1000 Subject: [PATCH] Updated warning to specify time of change --- src/PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 4576d6a17d0..0cdfcc9a9f1 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -2593,7 +2593,7 @@ def frombuffer(mode, size, data, decoder_name="raw", *args): if decoder_name == "raw": if args == (): warnings.warn( - "the frombuffer defaults may change in a future release; " + "the frombuffer defaults will change in Pillow 7.0.0; " "for portability, change the call to read:\n" " frombuffer(mode, size, data, 'raw', mode, 0, 1)", RuntimeWarning,