#8680 closed (fixed)
gis may break Python help() modules command
Reported by: | Karen Tracey | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
As reported here: http://groups.google.com/group/django-users/browse_thread/thread/47529751d7a82fee?hl=en#
This is similar to #5743 and perhaps could use a similar approach to fix?
Attachments (1)
Change History (5)
by , 16 years ago
Attachment: | 8680.patch added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
As noted in #5743, our policy is not to break help()
for everybody just because we're installed, so this had to be fixed. There's a full explanation in the earlier tickets (where people were playing "why is Malcolm so dumb he can't understand this" and using sock puppets to teach me the way forwards).
Justin: I somewhat arbitrarily chose RuntimeError
(the choices are RuntimeError
and ImportError
), but if you want to make a subclass of GEOSException
and RuntimeError
because you really want to be able to catch the former, go for it.
Patch to raise different exception that allows Python's help to finish.