diff options
author | Raymond Hettinger <python@rcn.com> | 2016-11-22 01:24:23 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2016-11-22 01:24:23 (GMT) |
commit | a3fec1543dc252934e79a4a50b1cbbf4708b4e7e (patch) | |
tree | 9388fdfbb31412809a450f2aeb86da9baef5a84c /Misc | |
parent | 4e17e042376ee5c64fad538bba19d786bbdf391c (diff) | |
download | cpython-a3fec1543dc252934e79a4a50b1cbbf4708b4e7e.zip cpython-a3fec1543dc252934e79a4a50b1cbbf4708b4e7e.tar.gz cpython-a3fec1543dc252934e79a4a50b1cbbf4708b4e7e.tar.bz2 |
Issue #27100: With statement reports missing __enter__ before __exit__. (Contributed by Jonathan Ellington.)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ Core and Builtins - Issue #28532: Show sys.version when -V option is supplied twice. +- Issue #27100: The with-statement now checks for __enter__ before it + checks for __exit__. This gives less confusing error messages when + both methods are missing. Patch by Jonathan Ellington. + - Issue #28746: Fix the set_inheritable() file descriptor method on platforms that do not have the ioctl FIOCLEX and FIONCLEX commands. |