main icon indicating copy to clipboard operation
main copied to clipboard

Modules in compiled dlls take precedence over builtin modules

Open ironpythonbot opened this issue 10 years ago • 1 comments

Referencing a compiled dll that contains a module with the same name as a builtin, causes the module from the dll to be imported instead of the builtin.
e.g
Assume a dll with a datetime module
Add a reference to the dll and import datetime
The datetime from the dll will be imported instead of the builtin datetime

Work Item Details

Original CodePlex Issue: Issue 20198 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Dec 12, 2008 at 4:34 PM Reported by: gjones Updated on: Feb 22, 2013 at 2:14 AM Updated by: jdhardy

ironpythonbot avatar Dec 09 '14 17:12 ironpythonbot

I would consider this expected behavior. How does this work if you have a datetime.py in your path? Needs to be investigated.

slide avatar Nov 05 '16 15:11 slide