But, it would be really handy to have it also write what is it trying to
import...
So I edited the file locally to this:
importlib.py
{{{
#27 if not package:
#28 raise TypeError("relative imports require the 'package' argument,
package: %s" % name)
}}}
And I found the place where I forgot to look in seconds....
Cheers!
--
Ticket URL: <https://code.djangoproject.com/ticket/20771>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* easy: 0 => 1
* needs_docs: => 0
* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/20771#comment:1>
* status: new => closed
* resolution: => wontfix
Comment:
This is actually a copy of what's implemented in Python 2.7+ and the copy
in Django has been deprecated as of
fdd7a355bf053217d25b8d2189e37069c1304283.
--
Ticket URL: <https://code.djangoproject.com/ticket/20771#comment:2>