[issue6715] xz compressor support

2011-11-29 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: Not meaning to sound petty, but wouldn't it be common etiquette to retain some original copyright notice from original code intact..? -- ___ Python tracker <http://bugs.python.org/i

[issue6715] xz compressor support

2011-11-30 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: Ah, I thought that he had reused most of the original C code in _lzmamodule.c not replaced by python code, but I see that not being the case now (only slight fragments;). Oh well, I thought that I'd still earned a note with some slight credit at

[issue6715] xz compressor support

2010-10-27 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: I've (finally) finalized the api and prepared pyliblzma to be ready for inclusion now. The code can be found in the 'py3k' branch referred to earlier. Someone else (don't remember who:p) volunteered for writing the PEP earlier, so I

[issue6715] xz compressor support

2010-10-28 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: All fixed now. :) -- ___ Python tracker <http://bugs.python.org/issue6715> ___ ___ Python-bugs-list mailing list Unsub

[issue6715] xz compressor support

2010-10-28 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: Here's a patch with the latest code generated against py3k branch, it comes with Doc/library/lzma.rst as well now. -- keywords: +patch Added file: http://bugs.python.org/file19405/py3k-lzmamodule.

[issue6715] xz compressor support

2010-10-28 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: here's Lib/test/teststring.lzma, required by the test suite. -- Added file: http://bugs.python.org/file19406/teststring.lzma ___ Python tracker <http://bugs.python.org/i

[issue6715] xz compressor support

2010-10-28 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: here's Lib/test/teststring.xz, required by the test suite. -- Added file: http://bugs.python.org/file19407/teststring.xz ___ Python tracker <http://bugs.python.org/i

[issue6715] xz compressor support

2010-10-31 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: I've uploaded a new version of the patch to http://codereview.appspot.com/2724043/ now. I'd be okay on doing maintenance directly against the CPython repository btw. :) -- ___ Python trac

[issue6715] xz compressor support

2010-10-31 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: LZMAFile, LZMACompressor & LZMADecompressor are all inspired by and written to be as similar to bz2's for easier use & maintenance. I must admit that I haven't really put much thought into alternate ways to implement them beyond mon

[issue6715] xz compressor support

2010-10-31 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: Hehe, don't feel guily on my part at least, I had already implemented it like this long before. :p I guess I could rewrite it following these suggestions, but I probably won't be able to finish it in time fo

[issue11817] berkeley db 5.1 support

2011-04-09 Thread Per Øyvind Karlsen
New submission from Per Øyvind Karlsen : This patch adds support for berkeley db <= 5.1. -- components: Extension Modules files: Python-2.7.1-berkeley-db-5.1.patch keywords: patch messages: 133442 nosy: proyvind priority: normal severity: normal status: open title: berkeley db

[issue11817] berkeley db 5.1 support

2011-04-09 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: forgot some additional config checks in setup.py in previous patch.. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11817] berkeley db 5.1 support

2011-04-09 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: sloppysloppy... fix previous patch -- Added file: http://bugs.python.org/file21602/Python-2.7.1-berkeley-db-5.1.patch ___ Python tracker <http://bugs.python.org/issue11

[issue5411] add xz compression support to distutils

2009-03-03 Thread Per Øyvind Karlsen
New submission from Per Øyvind Karlsen : Here's a patch that adds support for xz compression: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/python/current/SOURCES/Python-2.6.1-distutils-xz-support.patch?view=log -- assignee: tarek components: Distutils messages: 83072

[issue5411] add xz compression support to distutils

2009-03-09 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: hmm, I'm unsure about how this should be done.. I guess such a test would belong in Lib/distutils/test_dist.py, but I'm uncertain about how it should be done, ie. should it be a test for doing 'bdist', 'bdist_rpm' and &

[issue5689] please support lzma compression as an extension and in the tarfile module

2010-05-25 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: I'm the author of the pyliblzma module, and if desired, I'd be happy to help out adapting pyliblzma for inclusion with python. Most of it's code is based on bz2module.c, so it shouldn't be very far away from being good 'nuff.

[issue5689] please support lzma compression as an extension and in the tarfile module

2010-05-25 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: ps: pylzma uses the LZMA SDK, which is not what you want. pyliblzma (not the same module;) OTOH uses liblzma, which is the library used by xz/lzma utils You'll find it available at http://launchpad.net/pyli

[issue6715] xz compressor support

2010-05-25 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: Ooops, I kinda should've commented on this issue here in stead, rather than in issue5689, so I'll just copy-paste it here as well: I'm the author of the pyliblzma module, and if desired, I'd be happy to help out adapting pyliblzm

[issue6715] xz compressor support

2010-05-25 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: ah, you're right, I forgot that the license for the library had changed as well (motivated by attempt of pleasing BSD people IIRC;), in the past the library was LGPL while only the 'xz' util was public domain.. For my code, feel free to u

[issue5689] please support lzma compression as an extension and in the tarfile module

2010-05-26 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: if you're already looking at issue6715, then I don't get why you're asking.. ;) quoting from msg106433: "For my code, feel free to use your own/any other license you'd like or even public domain (if the license of bz2module.c

[issue6715] xz compressor support

2010-05-26 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: Yeah, I guess I anyways can just break the current API right away to make it compatible with future changes, I've already figured since long ago how it should look like. It's not like I have to implement the actual functionality to ensure com

[issue6715] xz compressor support

2010-05-28 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: I've ported pyliblzma to py3k now and also implemented the missing functionality I mentioned earlier, for anyone interested in my progress the branch is found at: https://code.launchpad.net/~proyvind/pyliblzma/py3k I need to fix some memory lea