[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: [ddlm-group] Simon's elide proposal
- To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: Re: [ddlm-group] Simon's elide proposal
- From: "Bollinger, John C" <John.Bollinger@STJUDE.ORG>
- Date: Thu, 13 Jan 2011 14:47:06 -0600
- Accept-Language: en-US
- acceptlanguage: en-US
- In-Reply-To: <alpine.BSF.2.00.1101131319580.27153@epsilon.pair.com>
- References: <AANLkTimdAavg2KCjPZTj1xDYXDQ1JLiQCkQb4snyBErZ@mail.gmail.com><alpine.BSF.2.00.1101120536370.71134@epsilon.pair.com><AANLkTimA8+YXbJ8yS0AtKgFjq9221oMFjR6habn6DsXR@mail.gmail.com><alpine.BSF.2.00.1101120834010.42232@epsilon.pair.com><8F77913624F7524AACD2A92EAF3BFA54166D7D1EA8@SJMEMXMBS11.stjude.sjcrh.local><alpine.BSF.2.00.1101121400400.85750@epsilon.pair.com><alpine.BSF.2.00.1101121556380.31518@epsilon.pair.com><698308.91583.qm@web87015.mail.ird.yahoo.com><alpine.BSF.2.00.1101121845060.90622@epsilon.pair.com><722757.13635.qm@web87012.mail.ird.yahoo.com><8F77913624F7524AACD2A92EAF3BFA54166D7D1EB2@SJMEMXMBS11.stjude.sjcrh.local><alpine.BSF.2.00.1101131319580.27153@epsilon.pair.com>
On Thursday, January 13, 2011 12:42 PM, Herbert J. Bernstein wrote: [I wrote:] >> It should also be noted that Python source code, including its string >> literals, is restricted to being expressed in the characters of the >> 7-bit ASCII character set (though they need not necessarily be encoded >> according to US-ASCII). Unconditional, bidirectional CIF/Python string >> compatibility would require that we apply the same restriction to CIF2 >> triple-quoted strings. I would oppose that. > >That started to change in Python 2.5 which allowed explicit encoding >declarations, and by Python 3 has vanished even without an >encoding declaration. The Python 3 spec is: > >"Python reads program text as Unicode code points; the encoding >... defaults to UTF8" Well and good, then. You previously pointed us to Python 2.7.1 for documentation of the Python semantics proposed for CIF, but Python 3 looks like a better fit. Python 3 no longer provides the [uU] string prefix, however, so that's different from what Ralf proposed and from what I thought we had been discussing. That begs the question, *which version of Python* is proposed to provide its string syntax to CIF? This furthermore demonstrates one of the strategic drawbacks of adopting Python semantics: Python is not static. We could make CIF semantics well defined by tying them to a specific Python version, perhaps v3.1.3, but does that retain its purported advantages as Python semantics evolve in 3.2, 3.5, 4.0, etc.? Perhaps it does, but that's not obvious to me. John -- John C. Bollinger, Ph.D. Department of Structural Biology St. Jude Children's Research Hospital Email Disclaimer: www.stjude.org/emaildisclaimer _______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- Follow-Ups:
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- References:
- [ddlm-group] Simon's elide proposal (James Hester)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (James Hester)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (Bollinger, John C)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (SIMON WESTRIP)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (SIMON WESTRIP)
- Re: [ddlm-group] Simon's elide proposal (Bollinger, John C)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Prev by Date: Re: [ddlm-group] Relationship asmong CIF2, STAR, CIF1 and Python
- Next by Date: Re: [ddlm-group] Simon's elide proposal
- Prev by thread: Re: [ddlm-group] Simon's elide proposal
- Next by thread: Re: [ddlm-group] Simon's elide proposal
- Index(es):