scrapy/scrapy — Issue #64: Allow misc.load_object() to take a references to actual objects as well as paths
Author: johtso
Created: 2011-12-10 14:31:19+00:00
State: open

It's nice to have the flexibility of giving a reference to the actual object when setting settings, as well as specifying paths to objects.

Maybe something as simple as:

if not isinstance(path, basestring):
return path

..at the beginning of `misc.load_object(path)`?