Skip to content

help() function won't work #710

@Infixz

Description

@Infixz

Prerequisites

The issue tracker is used to report bugs and request new features, NOT to ask questions.

Questions should be posted to the users mailing list which can be accessed at
https://ironpython.groups.io/g/users.

  • Are you running the latest version? yes, it's .net core 3.1 runing netcoreapp3.1_ipy
  • Are you reporting to the correct repository? yes
  • Did you perform a cursory search? yes

Description

[Description of the bug or feature]
help(built-in type) and it raised an exception ( IOError)

Steps to Reproduce

System.Collections.ArrayList
<type 'ArrayList'>
help(System.Collections.ArrayList)
Traceback (most recent call last):
File "", line 1, in
File "/home/chengs/IronPython.2.7.10/Lib/site.py", line 450, in call
File "/home/chengs/IronPython.2.7.10/Lib/pydoc.py", line 1796, in call
File "/home/chengs/IronPython.2.7.10/Lib/pydoc.py", line 1834, in help
File "/home/chengs/IronPython.2.7.10/Lib/pydoc.py", line 1579, in doc
File "/home/chengs/IronPython.2.7.10/Lib/pydoc.py", line 1375, in pager
File "/home/chengs/IronPython.2.7.10/Lib/pydoc.py", line 1384, in getpager
IOError: [Errno 2] Could not load file or assembly 'Mono.Posix.NETStandard, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.

System.Collections.ArrayList.doc
'ArrayList()\nArrayList(capacity: int)\nArrayList(c: ICollection)\n'

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Versions

You can get this information from executing ipy -V.
IronPython 2.7.10 (2.7.10.1000)
[.NETCoreApp,Version=v3.1 on .NET Core 3.1.3 (64-bit)]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions