This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wrobell
Recipients MizardX, eric.araujo, nadeem.vawda, pitrou, rhettinger, wrobell, xuanji
Date 2011-01-13.19:50:48
SpamBayes Score 0.01533388
Marked as misclassified No
Message-id <1294948250.93.0.0287434509288.issue5863@psf.upfronthosting.co.za>
In-reply-to
Content
A use case

    wget -O http://planet.openstreetmap.org/planet-110112.osm.bz2 | tee planet.bz2 | osm2sql | psql osm

planet-*osm.bz2 files are 14GB at the moment. it would be great to read them from stdin while downloading from a server and uploading to a database at the same time.

Of course, you can insert "bzip2 -d" into the pipe... but then why to bother with bz2 module in Python? ;)
History
Date User Action Args
2011-01-13 19:50:51wrobellsetrecipients: + wrobell, rhettinger, pitrou, nadeem.vawda, eric.araujo, MizardX, xuanji
2011-01-13 19:50:50wrobellsetmessageid: <1294948250.93.0.0287434509288.issue5863@psf.upfronthosting.co.za>
2011-01-13 19:50:48wrobelllinkissue5863 messages
2011-01-13 19:50:48wrobellcreate