[Python-Dev] marshal and ssize_t (PEP 353)

Neal Norwitz nnorwitz at gmail.com
Wed May 16 06:27:24 CEST 2007


On 5/15/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> > I'm looking at Python/marshal.c and there are a lot of places that
> > don't support sequences that are larger than would fit into size(int).
> > I looked for marshal referenced in the PEP and didn't find anything.
> > Was this an oversight or intentional?
>
> I'm still leaning towards "don't change", since I don't expect
> that such string objects occur in source code, and since I still
> think source code / .pyc is/should be the major application
> of marshal.

I agree this is fine.  I'll update the PEP with this rationale and the
link(s) you provided unless anyone objects.  That way we have it
clearly documented that this was intentional.  I didn't remember this
discussion back when ssize_t was done.

n


More information about the Python-Dev mailing list