Re: [Python-Dev] [Python-checkins] cpython: Eric Snow's implementation of PEP 421.

2012-06-04 Thread Barry Warsaw
On Jun 04, 2012, at 11:39 AM, Brett Cannon wrote: >OK, then I would add a test to make sure this happens, like >``self.assertEqual(sys.implementation.name, sys.implement.name.lower())`` >if you don't want to bother documenting it to make sure other VMs conform. Good idea. Done. -Barry signatu

Re: [Python-Dev] [Python-checkins] cpython: Eric Snow's implementation of PEP 421.

2012-06-04 Thread Brett Cannon
On Mon, Jun 4, 2012 at 11:10 AM, Barry Warsaw wrote: > Thanks for the second set of eyes, Brett. > > On Jun 04, 2012, at 10:16 AM, Brett Cannon wrote: > > >> +.. data:: implementation > >> + > >> + An object containing the information about the implementation of the > >> + currently running P

Re: [Python-Dev] [Python-checkins] cpython: Eric Snow's implementation of PEP 421.

2012-06-04 Thread Michael Foord
On 4 Jun 2012, at 16:10, Barry Warsaw wrote: > [snip...] >>> + However, for a structured record type use >>> :func:`~collections.namedtuple` >>> >> >> What's with the ~? > > I'm not sure, but it seems to result in a cross-reference, and I see tildes > used elsewhere, so I guess it's some reS

Re: [Python-Dev] [Python-checkins] cpython: Eric Snow's implementation of PEP 421.

2012-06-04 Thread Barry Warsaw
Thanks for the second set of eyes, Brett. On Jun 04, 2012, at 10:16 AM, Brett Cannon wrote: >> +.. data:: implementation >> + >> + An object containing the information about the implementation of the >> + currently running Python interpreter. Its attributes are the those >> > >"the those" ->

Re: [Python-Dev] [Python-checkins] cpython: Eric Snow's implementation of PEP 421.

2012-06-04 Thread Brett Cannon
[Let's try this again since my last reply was rejected for being too large] On Mon, Jun 4, 2012 at 9:52 AM, barry.warsaw wrote: > http://hg.python.org/cpython/rev/9c445f4695c1 > changeset: 77339:9c445f4695c1 > parent: 77328:0808cb8c60fd > user:Barry Warsaw > date:Sun Jun