On Wed, Oct 4, 2017, 09:00 Antoine Pitrou, <solipsis at pitrou.net> wrote: > On Wed, 4 Oct 2017 10:14:22 -0400 > Barry Warsaw <barry at python.org> wrote: > > On Oct 3, 2017, at 13:29, Benjamin Peterson <benjamin at python.org> wrote: > > > > > I'm not sure turning the implementation details of our internal formats > > > into APIs is the way to go. > > > > I still think an API in the stdlib would be useful and appropriate, but > it’s not like this couldn’t be done as a 3rd party module. > > It can also be an implementation-specific API for which we don't > guarantee anything in the future. The consenting adults rule would > apply. > I've toyed with the idea of coming up with an API for bytecode files, but having lived through the last file format change I could never come up with one that didn't just chop off the header or would be a maintenance burden. But having an API that followed just what was in that Python release like the ast module would solve that problem. Then 3rd-party code could wrap it it smooth out differences between versions. -Brett > Regards > > Antoine. > > > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/brett%40python.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171009/38afcebe/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4