Stop using the `imp` module
|Reported by:||aaugustin||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It's deprecated in Python 3.4: http://docs.python.org/3.4/library/imp. Django uses it in a handful of files.
Notably, it calls imp.acquire_lock() and imp.release_lock() in AppCache.populate(). These functions don't have a replacement. I'm not sure how to deal with that, maybe call them only on Python < 3.4?
Change History (15)
comment:14 Changed 14 months ago by timgraham
- Resolution set to fixed
- Status changed from new to closed