main
main copied to clipboard
Modules in compiled dlls take precedence over builtin modules
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
I would consider this expected behavior. How does this work if you have a datetime.py in your path? Needs to be investigated.