Message79395
| Author |
loewis |
| Recipients |
loewis |
| Date |
2009年01月08日.02:26:51 |
| SpamBayes Score |
0.030489516 |
| Marked as misclassified |
No |
| Message-id |
<1231381613.0.0.23916695518.issue4876@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
There is an unfortunate interaction of two fixers to be observed in
django. django.util.text.py contains
from htmlentitydefs import name2codepoint
This gets fixed to
from .html.entities import name2codepoint
because there is also a local module django.util.html. This is
incorrect; it should have converted it to
from html.entities import name2codepoint
As a workaround, I now run
name2codepoint = __import__('html.entities').entities.name2codepoint
on ImportError of the (converted) import statement. Is there a better
work-around? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年01月08日 02:26:53 | loewis | set | recipients:
+ loewis |
| 2009年01月08日 02:26:53 | loewis | set | messageid: <1231381613.0.0.23916695518.issue4876@psf.upfronthosting.co.za> |
| 2009年01月08日 02:26:51 | loewis | link | issue4876 messages |
| 2009年01月08日 02:26:51 | loewis | create |
|