Sam Ruby <[EMAIL PROTECTED]> wrote:
> I note that the perlscalar code is careful about multithreading issues
> (example: "if we morph to a string, first clear str_val so that after
> changing the vtable a parallel reader doesn't get a gargabe pointer"),
> but reuses a static PMC* intret.

Lets postpone multi-threading issues for a while.

>    dict = {}
>    dict[1] = 'foo'
>    dict["1"] = 'bar'
>    print dict[1]

> For Python support, it would be ideal if there would be a hash method
> entry in the VTABLE for each object.

Not only ideal but necessary. The stringification of hash keys is a
perlism that just isn't usable for Python.

> - Sam Ruby

leo

Reply via email to