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 serhiy.storchaka
Recipients brett.cannon, eric.snow, ezio.melotti, ncoghlan, pitrou, serhiy.storchaka, terry.reedy
Date 2013-08-11.07:42:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376206965.67.0.767372319977.issue18706@psf.upfronthosting.co.za>
In-reply-to
Content
However it looks weird:

>>> def f():
...     import html.entities
...     del sys.modules['html']
... 
>>> f()
>>> import html.entities
>>> html.entities
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'entities'

Perhaps import machinery should be fixed instead of tests.
History
Date User Action Args
2013-08-11 07:42:45serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, terry.reedy, ncoghlan, pitrou, ezio.melotti, eric.snow
2013-08-11 07:42:45serhiy.storchakasetmessageid: <1376206965.67.0.767372319977.issue18706@psf.upfronthosting.co.za>
2013-08-11 07:42:45serhiy.storchakalinkissue18706 messages
2013-08-11 07:42:45serhiy.storchakacreate