LWN.net Logo

Re: What if Python had such an extensible core

Re: What if Python had such an extensible core

Posted Jun 3, 2012 8:47 UTC (Sun) by gps (subscriber, #45638)
In reply to: Perl 5.16 and beyond by man_ls
Parent article: Perl 5.16 and beyond

I don't see how this would help bridge the Python 2 <-> 3 boundary within a single program.

The real issue with doing that is the fundamental string type change; you can't magically pass data across such an interface boundary without deciding which way the types convert. Python is so dynamic that in most situations there is no definition carried around of where something came from such that a boundary crossing could be determined and enforced.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds