Getting python-bz2 into 2.3

Now that I'm relieved by sharing with you my feelings, ;-) what's the best path to get python-bz2 module into Python 2.3? Do you think it's something which should be in the core, or it'd be better to keep it as an external module? The code is currently maintained at http://python-bz2.sf.net, if someone wants to have a look at it. -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]

Now that I'm relieved by sharing with you my feelings, ;-)
And thanks for that! I think you're right. I'll let others comment first; I'm about to leave for a 3-day trip, back on Monday.
If there are no licensing issues, and if there's a decent bz2 library, it should be welcome in the core. Batteries included.
The code is currently maintained at http://python-bz2.sf.net, if someone wants to have a look at it.
--Guido van Rossum (home page: http://www.python.org/~guido/)

If there are no licensing issues, and if there's a decent bz2 library, it should be welcome in the core. Batteries included.
Great! This module is currently distributed under LGPL, but I have no problems in changing it to Python's license. About being decent, I'd be suspect to evaluate my own code. I accept comments and suggestions about it though. -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]

Gustavo Niemeyer <niemeyer@conectiva.com> writes:
and if there's a decent bz2 library,
About being decent, I'd be suspect to evaluate my own code.
I think Guido was talking about libbz2, not your bz2.c. I think you should create a patch (complete with test suite, documentation, and everything :-). If you can, you should also include Windows build instructions (what to download and how to unpack) - perhaps even with a MSVC project file. Regards, Martin

Oh.. I see. Perhaps he wasn't aware that unlike gzip/zlib scheme, bzip2 is based on its own library?
I think you should create a patch (complete with test suite, documentation, and everything :-).
:-) It already has a test suite, and complete inline documentation. I'll reuse the inline docs to create "external" documentation.
Unfortunately I can't provide that part. :-( I'm away from the Windows world for many years now, and have no access to a machine were I could create those files. I'll promptly help anyone to solve any issues in that area though. In the URL below one may find information about bzip2, including binaries for many platforms: http://sources.redhat.com/bzip2/ Thank you! -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]

ay, November 01, 2002 5:15 PM [Martin v. Loewis]
[Gustavo Niemeyer]
Unfortunately I can't provide that part. :-(
Actually, you just did <wink>. The link you provided *is* the place with Windows build instructions and an MSVC project file.
Semi-unfortunately, the author of that has no idea if it actually works on 95/98/ME/NT/XP and in the docs for "3.8 Making a Windows DLL" I haven't tried any of this stuff myself, but it all looks plausible. That means it will require some real work to build and test this stuff on 6 flavors of Windows. Not a showstopper, but does raise the bar for getting into the PLabs Windows distro. The good news is that it's BSD-licensed, so we don't have to haggle about license issues.

Great! :-)
Semi-unfortunately, the author of that has
no idea if it actually works on 95/98/ME/NT/XP
I think he was refering specifically to the pre-built binaries for 1.0.2, since older binaries are available for many platforms for quite some time, and bzip2 seems to be very portable.
Given your comments, I belive such libraries are included directly in the distribution, right? -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]

Gustavo Niemeyer <niemeyer@conectiva.com> writes:
Given your comments, I belive such libraries are included directly in the distribution, right?
Correct. The Windows distribution does not require any additional software, except for Windows itself: all modules that it includes also come with their supporting libraries. Regards, Martin

I know I'm a little behind in my dev mail, per usual these days, but I just want to say that this is a good thing (tm). I actually have need for bzip2 in an application and would be quite happy for its support. In a related question, does python have tar support (I haven't had a chance to investigate thoroughly)? I got the impression it didn't, which is kinda weird since zip is a supporting archive, and gz and bz2 will be, but there's no unix-y tar. But I'm sure someone will correct me and say I'm wrong :) Regards, -- Mike On Fri, Nov 01 @ 11:13, Gustavo Niemeyer wrote:
-- Michael Gilfix mgilfix@eecs.tufts.edu For my gpg public key: http://www.eecs.tufts.edu/~mgilfix/contact.html

Hi Michael!
Not yet. But there's a module, named tarfile, being actively developed by Lars Gustäbel. It already includes most of the important GNU extensions for the tar format. I hope to include in the standard library eventually. More information at http://www.gustaebel.de/lars/tarfile/. -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]

Submitted: http://python.org/sf/633425 It'd be nice if someone could review the documentation and check for grammatical errors, as I'm not a native speaker. Thank you! -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]

Now that I'm relieved by sharing with you my feelings, ;-)
And thanks for that! I think you're right. I'll let others comment first; I'm about to leave for a 3-day trip, back on Monday.
If there are no licensing issues, and if there's a decent bz2 library, it should be welcome in the core. Batteries included.
The code is currently maintained at http://python-bz2.sf.net, if someone wants to have a look at it.
--Guido van Rossum (home page: http://www.python.org/~guido/)

If there are no licensing issues, and if there's a decent bz2 library, it should be welcome in the core. Batteries included.
Great! This module is currently distributed under LGPL, but I have no problems in changing it to Python's license. About being decent, I'd be suspect to evaluate my own code. I accept comments and suggestions about it though. -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]

Gustavo Niemeyer <niemeyer@conectiva.com> writes:
and if there's a decent bz2 library,
About being decent, I'd be suspect to evaluate my own code.
I think Guido was talking about libbz2, not your bz2.c. I think you should create a patch (complete with test suite, documentation, and everything :-). If you can, you should also include Windows build instructions (what to download and how to unpack) - perhaps even with a MSVC project file. Regards, Martin

Oh.. I see. Perhaps he wasn't aware that unlike gzip/zlib scheme, bzip2 is based on its own library?
I think you should create a patch (complete with test suite, documentation, and everything :-).
:-) It already has a test suite, and complete inline documentation. I'll reuse the inline docs to create "external" documentation.
Unfortunately I can't provide that part. :-( I'm away from the Windows world for many years now, and have no access to a machine were I could create those files. I'll promptly help anyone to solve any issues in that area though. In the URL below one may find information about bzip2, including binaries for many platforms: http://sources.redhat.com/bzip2/ Thank you! -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]

ay, November 01, 2002 5:15 PM [Martin v. Loewis]
[Gustavo Niemeyer]
Unfortunately I can't provide that part. :-(
Actually, you just did <wink>. The link you provided *is* the place with Windows build instructions and an MSVC project file.
Semi-unfortunately, the author of that has no idea if it actually works on 95/98/ME/NT/XP and in the docs for "3.8 Making a Windows DLL" I haven't tried any of this stuff myself, but it all looks plausible. That means it will require some real work to build and test this stuff on 6 flavors of Windows. Not a showstopper, but does raise the bar for getting into the PLabs Windows distro. The good news is that it's BSD-licensed, so we don't have to haggle about license issues.

Great! :-)
Semi-unfortunately, the author of that has
no idea if it actually works on 95/98/ME/NT/XP
I think he was refering specifically to the pre-built binaries for 1.0.2, since older binaries are available for many platforms for quite some time, and bzip2 seems to be very portable.
Given your comments, I belive such libraries are included directly in the distribution, right? -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]

Gustavo Niemeyer <niemeyer@conectiva.com> writes:
Given your comments, I belive such libraries are included directly in the distribution, right?
Correct. The Windows distribution does not require any additional software, except for Windows itself: all modules that it includes also come with their supporting libraries. Regards, Martin

I know I'm a little behind in my dev mail, per usual these days, but I just want to say that this is a good thing (tm). I actually have need for bzip2 in an application and would be quite happy for its support. In a related question, does python have tar support (I haven't had a chance to investigate thoroughly)? I got the impression it didn't, which is kinda weird since zip is a supporting archive, and gz and bz2 will be, but there's no unix-y tar. But I'm sure someone will correct me and say I'm wrong :) Regards, -- Mike On Fri, Nov 01 @ 11:13, Gustavo Niemeyer wrote:
-- Michael Gilfix mgilfix@eecs.tufts.edu For my gpg public key: http://www.eecs.tufts.edu/~mgilfix/contact.html

Hi Michael!
Not yet. But there's a module, named tarfile, being actively developed by Lars Gustäbel. It already includes most of the important GNU extensions for the tar format. I hope to include in the standard library eventually. More information at http://www.gustaebel.de/lars/tarfile/. -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]

Submitted: http://python.org/sf/633425 It'd be nice if someone could review the documentation and check for grammatical errors, as I'm not a native speaker. Thank you! -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]
participants (5)
-
Guido van Rossum
-
Gustavo Niemeyer
-
martin@v.loewis.de
-
Michael Gilfix
-
Tim Peters