Nadeem Vawda <nadeem.va...@gmail.com> added the comment:

> 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.

----------
Added file: http://bugs.python.org/file25480/lzma-properties.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14736>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to