[Python-Dev] sys.implementation

Larry Hastings larry at hastings.org
Fri Apr 27 05:29:07 CEST 2012


On 04/25/2012 10:31 PM, Eric Snow wrote:
> The patch adds a struct sequence that holds ("name" =>  "CPython",
> "version" =>  sys.version_info).  If later needs dictate more fields,
> we can cross that bridge then.

My one bit of bike-shedding: I don't think it's desirable that this 
object be iterable.  Therefore I suggest you don't use struct sequence.


//arry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120426/136d1f51/attachment.html>


More information about the Python-Dev mailing list