Re: PEP 451: Big update.
Eric Snow <[email protected]> Thu, 19 Sep 2013 13:52:05 -0600
| Newsgroups | gmane.comp.python.import |
|---|---|
| Message-ID | <CALFfu7DvoSrae1XmOYLyWzMRPB=DW1a-wAoa+kx3XDHKuuh=+Q@mail.gmail.com> |
On Thu, Sep 19, 2013 at 1:42 PM, Eric Snow <[email protected]>wrote: > On Thu, Sep 19, 2013 at 8:30 AM, Nick Coghlan <[email protected]> wrote: > >> I also suggest that we adopt the convention of using angle brackets in >> non-location origins. So names like "<builtin>" and "<frozen>". >> > Well, I'm already having module_repr() do that. > Actually no I wasn't. The current repr for the sys module is "<module 'sys' (built-in)>". Adding the angle brackets would change that. It's not a big deal to me either way. I actually kind of like the idea of using angle brackets (by convention) on a non-locatable origin. It just changes existing reprs and can be ambiguous in the (unlikely) situation I described. I'm leaning toward not doing the angle brackets, but I can be swayed. :) -eric _______________________________________________ Import-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/import-sig