Issue 10856: documentation for ImportError parameters and attributes (original) (raw)
Created on 2011-01-07 16:23 by techtonik, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (5) |
|
|
msg125655 - (view) |
Author: anatoly techtonik (techtonik) |
Date: 2011-01-07 16:23 |
Need documentation for ImportError parameters and exception instance attributes. |
|
|
msg125664 - (view) |
Author: Georg Brandl (georg.brandl) *  |
Date: 2011-01-07 17:43 |
What is there to document? ImportError has no special attributes or parameters. |
|
|
msg125671 - (view) |
Author: anatoly techtonik (techtonik) |
Date: 2011-01-07 18:19 |
ImportError has args and message attributes containing failed module name. |
|
|
msg125672 - (view) |
Author: R. David Murray (r.david.murray) *  |
Date: 2011-01-07 18:23 |
No it doesn't. It has an arbitrary message string. That's the same as all other exceptions that don't have special attributes. |
|
|
msg125675 - (view) |
Author: Georg Brandl (georg.brandl) *  |
Date: 2011-01-07 18:30 |
You are right, however, that the "args" argument is not really well documented. Fixed that in r87820. |
|
|
History |
|
|
|
Date |
User |
Action |
Args |
2022-04-11 14:57:11 |
admin |
set |
github: 55065 |
2011-01-07 18:30:49 |
georg.brandl |
set |
resolution: works for me -> fixedmessages: + nosy:georg.brandl, techtonik, r.david.murray, docs@python |
2011-01-07 18:23:23 |
r.david.murray |
set |
status: open -> closednosy: + r.david.murraymessages: + |
2011-01-07 18:19:06 |
techtonik |
set |
status: closed -> opennosy:georg.brandl, techtonik, docs@pythonmessages: + |
2011-01-07 17:43:42 |
georg.brandl |
set |
status: open -> closednosy: + georg.brandlmessages: + resolution: works for me |
2011-01-07 16:23:43 |
techtonik |
create |
|