Hi,
On Fri, Sep 23, 2011 at 11:27 AM, Steven D'Aprano wrote:
> So the question is: would it be a burden for PyPy to make any guarantees
> about the stability of bytecode?
The answer is: Feel free to do anything or nothing with CPython's
bytecode. As Fijal says it has little to do with PyPy. It
On Fri, Sep 23, 2011 at 2:06 PM, Benjamin Peterson wrote:
> 2011/9/23 Steven D'Aprano :
>>
>> So the question is: would it be a burden for PyPy to make any guarantees
>> about the stability of bytecode?
>
> I would say not without great benefit. If you're doing something that
> requires changing b
2011/9/23 Steven D'Aprano :
>
> So the question is: would it be a burden for PyPy to make any guarantees
> about the stability of bytecode?
I would say not without great benefit. If you're doing something that
requires changing bytecode, the obvious answer is to add some syntax
instead.
--
Reg
Benjamin Peterson wrote:
2011/9/23 Steven D'Aprano :
Hi guys,
Over on the python-ideas mailing list, there is a long thread about the
default argument hack in functions, used for micro-optimizations,
early-binding, and monkey-patching. Various alternatives are being argued
about. One proposal p
Hi,
On Fri, Sep 23, 2011 at 6:12 AM, Benjamin Peterson wrote:
>> What's the PyPy position on bytecode hacking? Good, bad, evil, don't mind
>> either way?
>
> (...)
> Secondly, it's useless for speed when you have a JIT.
Indeed, although it is not 100% true, because we also have an
interpreter.
2011/9/23 Steven D'Aprano :
> Hi guys,
>
> Over on the python-ideas mailing list, there is a long thread about the
> default argument hack in functions, used for micro-optimizations,
> early-binding, and monkey-patching. Various alternatives are being argued
> about. One proposal put forward involv
Hi guys,
Over on the python-ideas mailing list, there is a long thread about the
default argument hack in functions, used for micro-optimizations,
early-binding, and monkey-patching. Various alternatives are being
argued about. One proposal put forward involves bytecode manipulations
to chang