Re: PEP 420 issue: extend_path
Barry Warsaw <[email protected]>
| Newsgroups | gmane.comp.python.import |
|---|---|
| Organization | The Organization of Unorganized Woozalists |
| Message-ID | <[email protected]> |
On May 08, 2012, at 10:07 AM, Eric V. Smith wrote: >I don't disagree with this. But we've got a function that we're asking >to return one of 2 things, as you say. How is this normally handled? I >would not use a callback. I'd return a tuple with the two things: >(loader, list_of_portions). That seems way more straightforward. +1 -Barry