This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Nils-Hero
Recipients Nils-Hero
Date 2017-06-06.12:34:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496752494.94.0.587385465259.issue30580@psf.upfronthosting.co.za>
In-reply-to
Content
All examples on

https://docs.python.org/3/library/wsgiref.html

raise this exception:

Traceback (most recent call last):
  File "C:\Code\test\server.py", line 110, in <module>
    with make_server('', 8000, simple_app) as httpd:
AttributeError: __exit__

Tested with

Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32
History
Date User Action Args
2017-06-06 12:34:54Nils-Herosetrecipients: + Nils-Hero
2017-06-06 12:34:54Nils-Herosetmessageid: <1496752494.94.0.587385465259.issue30580@psf.upfronthosting.co.za>
2017-06-06 12:34:54Nils-Herolinkissue30580 messages
2017-06-06 12:34:54Nils-Herocreate