Message153122
| Author | eli.bendersky |
|---|---|
| Recipients | Arfrever, effbot, eli.bendersky, eric.araujo, ezio.melotti, flox, python-dev, scoder |
| Date | 2012-02-11.11:59:42 |
| SpamBayes Score | 0.00018128195 |
| Marked as misclassified | No |
| Message-id | <1328961582.94.0.571683586793.issue13988@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Another random cleanup idea:
ElementTree.py has this code:
try:
from . import ElementPath
except ImportError:
ElementPath = _SimpleElementPath()
Since in the stdlib ElementPath.py is always there, this is meaningless, so I'd say this try... except ImportError contraption can be removed, as well as _SimpleElementPath, and just replaced by:
from . import ElementPath |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-02-11 11:59:43 | eli.bendersky | set | recipients: + eli.bendersky, effbot, scoder, ezio.melotti, eric.araujo, Arfrever, flox, python-dev |
| 2012-02-11 11:59:42 | eli.bendersky | set | messageid: <1328961582.94.0.571683586793.issue13988@psf.upfronthosting.co.za> |
| 2012-02-11 11:59:42 | eli.bendersky | link | issue13988 messages |
| 2012-02-11 11:59:42 | eli.bendersky | create | |