diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2018-08-22 18:21:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-22 18:21:05 (GMT) |
commit | e7d4b2f205c711d056bea73a0093e2e2b200544b (patch) | |
tree | 3a442a760dd83416b2141757f4bf546b623b6f36 /Misc | |
parent | 28853a249b1d0c890b7e9ca345290bb8c1756446 (diff) | |
download | cpython-e7d4b2f205c711d056bea73a0093e2e2b200544b.zip cpython-e7d4b2f205c711d056bea73a0093e2e2b200544b.tar.gz cpython-e7d4b2f205c711d056bea73a0093e2e2b200544b.tar.bz2 |
bpo-2122: Make mmap.flush() behave same on all platforms (GH-8692)
Previously, its behavior was platform-dependent and there was no error checking
under Windows.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-08-06-21-47-03.bpo-2122.GWdmrm.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-08-06-21-47-03.bpo-2122.GWdmrm.rst b/Misc/NEWS.d/next/Library/2018-08-06-21-47-03.bpo-2122.GWdmrm.rst new file mode 100644 index 0000000..dd31c0e --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-08-06-21-47-03.bpo-2122.GWdmrm.rst @@ -0,0 +1,2 @@ +The :meth:`mmap.flush() <mmap.mmap.flush>` method now returns ``None`` on +success, raises an exception on error under all platforms. |