This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nadeem.vawda
Recipients nadeem.vawda, pitrou
Date 2012-05-06.10:34:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336300488.71.0.263355095308.issue14736@psf.upfronthosting.co.za>
In-reply-to
Content
> The functionality looks a bit cryptic to me. What is the use case?

Serializing filter specifiers for custom file formats. The particular
case that prompted adding the code is zipfile (issue 14366).

I've added a note to the docs and docstrings explaining this.


> I wonder if Py_LONG_LONG is always defined (although it certainly is on major platforms).

I expect it will always be defined on platforms that support liblzma -
the API uses uint64_t in quite a few places, via the lzma_vli typedef.

In any case, _lzmamodule.c checks for PY_LONG_LONG explicitly at
compile-time and gives a useful error message if it is undefined.
History
Date User Action Args
2012-05-06 10:34:49nadeem.vawdasetrecipients: + nadeem.vawda, pitrou
2012-05-06 10:34:48nadeem.vawdasetmessageid: <1336300488.71.0.263355095308.issue14736@psf.upfronthosting.co.za>
2012-05-06 10:34:48nadeem.vawdalinkissue14736 messages
2012-05-06 10:34:47nadeem.vawdacreate