[issue12935] Typo in findertools.py

2011-09-08 Thread Karsten Wolf

New submission from Karsten Wolf :

In the current Python-2.7.2.tar.bz2 archive ./Lib/plat-mac/findertools.py in 
function comment on line 131 the call to FSNewAliasMinimal is misstyped.

current version:
object_alias = object.FSNewAliasMonimal()

corrected version

object_alias = object.FSNewAliasMinimal()

--
assignee: ronaldoussoren
components: Macintosh
messages: 143722
nosy: karstenw, ronaldoussoren
priority: normal
severity: normal
status: open
title: Typo in findertools.py
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue12935>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10261] tarfile iterator without members caching

2010-10-31 Thread Karsten Wolf

New submission from Karsten Wolf :

It would be helpful to have a tarfile iterator that does not cache every 
archive member encountered.

This makes it nearly impossible to iterate over an archive with millions of 
files.

--
components: Library (Lib)
messages: 120041
nosy: karstenw
priority: normal
severity: normal
status: open
title: tarfile iterator without members caching
type: feature request

___
Python tracker 
<http://bugs.python.org/issue10261>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10261] tarfile iterator without members caching

2010-10-31 Thread Karsten Wolf

Karsten Wolf  added the comment:

Yes, I'm on 2.6. I checked the Python 3.x tarfile just for this one line in 
TarFile.next():

self.members.append(tarinfo)

to conclude it would have the same problem.

Reducing 2.5gb memory usage as measured in my particular case by 60%, still 
leaves 1.5gb ram burned which is too much on a 32-bit 2gb ram machine.

My solution was to comment out that line which worked perfectly for my case but 
may not be the solution for the module.

--

___
Python tracker 
<http://bugs.python.org/issue10261>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com