Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Criticism of execfile() removal in Python3

Paul Moorep.f.moore at gmail.com
Tue Jun 10 10:41:16 CEST 2014


On 10 June 2014 08:36, Nick Coghlan <ncoghlan at gmail.com> wrote:> The standard implementation of run_path reads the whole file into> memory, but MicroPython would be free to optimise that and do> statement by statement execution instead (while that will pose some> challenges in terms of handling encoding cookies, future imports, etc> correctly, it's certainly feasible).... and if they did optimise that way, I would imagine that the patchwould be a useful contribution back to the core Python stdlib, ratherthan remaining a MicroPython-specific optimisation.Paul


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp