Re: [Python-Dev] cpython: Issue #5689: Add support for lzma compression to the tarfile module.

2011-12-12 Thread lars
gt; +archives, including those using gzip, bz2 and lzma compression. > > (:file:`.zip` files can be read and written using the :mod:`zipfile` > > module.) > > Perhaps there should be a "versionchanged" directive for lzma support? This is now fixed. -- Lars Gustäb

Re: [Python-Dev] counterintuitive behavior (bug?) in Counter with +=

2011-10-07 Thread Lars Buitinck
2011/10/6 Petri Lehtinen : > Lars Buitinck wrote: >>     >>> from collections import Counter >>     >>> a = Counter([1,2,3]) >>     >>> b = a >>     >>> a += Counter([3,4,5]) >>     >>> a is b >>     False

[Python-Dev] counterintuitive behavior (bug?) in Counter with +=

2011-10-03 Thread Lars Buitinck
([1,2,3]) >>> b = a >>> a += Counter([3,4,5]) >>> a is b False would become # snip >>> a is b True TIA, Lars [1] https://github.com/scikit-learn/scikit-learn/commit/de6e93094499e4d81b8e3b15fc66b6b9252945af [2] http://hg.python.org/

[Python-Dev] Forking and pipes

2008-12-09 Thread Lars Kotthoff
r intentional? I've tested both python and C on Linux, OpenBSD and Solaris (python versions 2.5.2 and 2.3.3), the behaviour was the same everywhere. Thanks, Lars ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] [Python-3000] Finishing up PEP 3108

2008-05-29 Thread Lars Immisch
se long before Apple introduced the new codes, QuickTime does not recognize them." So this seems just a matter of naming in the AIFC, but not a matter of two different alaw implementations. - Lars [1] http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/AIFF/AIFF.html __

Re: [Python-Dev] tarfile and directory traversal vulnerability

2007-08-27 Thread Lars Gustäbel
On Mon, Aug 27, 2007 at 07:40:36PM +0200, Jan Matejek wrote: > Lars Gustäbel wrote: > > Suppose we have: > > foo -> /etc > > foo/passwd > > > > If creation of the foo symlink is delayed, foo/passwd will be > > extracted in a directory foo which will be cr

Re: [Python-Dev] tarfile and directory traversal vulnerability

2007-08-25 Thread Lars Gustäbel
path) > else: > warnings.warn("non-local file skipped: %s" % tarinfo.name, > RuntimeWarning, stacklevel=1) > > For extract(), i am not sure. Maybe it should throw exception when it > encounters such file, and have a special option to extract such files >

Re: [Python-Dev] 2.5 branch unfrozen

2007-04-21 Thread Lars Gustäbel
On Sat, Apr 21, 2007 at 04:45:37PM +1000, Anthony Baxter wrote: > Ok, things seem to be OK. So the release25-maint branch is unfrozen. > Go crazy. Well, a little bit crazy. I'm afraid that I went crazy a little too early. Sorry for that. Won't happen again. -- Lars Gustäbel

[Python-Dev] Request for developer privileges.

2006-12-20 Thread Lars Gustäbel
Hello, my name is Lars Gustäbel (SF gustaebel). I contributed tarfile.py to the Python standard library in January 2003 and have been the maintainer since then. I have provided about 25 patches over the years, most of them fixes, some of them new features and improvements. As a result, I am