<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7711027831820077522.post4469526619811680805..comments</id><updated>2011-03-21T17:26:23.456-07:00</updated><category term='Personal'/><category term='Questrade'/><category term='Python'/><category term='Antec'/><category term='Hash'/><category term='Online Broker'/><category term='Career Advice'/><category term='String'/><category term='Thoughts'/><category term='My Work'/><category term='Game Industry'/><category term='Scribbles'/><category term='Parts'/><category term='Shader'/><category term='Photoshop'/><category term='C++'/><category term='KGC'/><category term='Garbage'/><category term='Games'/><category term='Graphics'/><category term='Git'/><category term='Vancouver'/><category term='Svn'/><category term='animation'/><category term='Debugging'/><category term='Google Fanboy'/><category term='Money'/><category term='Video'/><category term='Health'/><category term='Autodesk'/><category term='x65599'/><category term='Recommends'/><category term='Housekeeping'/><category term='Coding'/><category term='Selfhelp Guide'/><category term='This and That'/><category term='Copyright'/><category term='Music'/><category term='Physics'/><category term='Server'/><category term='Workaround'/><category term='Fun'/><category term='PHP'/><category term='Interests'/><category term='Web Dev'/><category term='VCS'/><category term='Rants'/><category term='Coding Standards'/><category term='Linux'/><category term='investment'/><category term='Scrum'/><category term='Tools'/><category term='Hardware'/><category term='Shadow'/><category term='Education'/><category term='Optimization'/><category term='P4'/><category term='unity'/><category term='Books'/><title type='text'>Comments on Blind Renderer: NEVER Use PIPE with Python popen</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.popekim.com/feeds/4469526619811680805/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default'/><link rel='alternate' type='text/html' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html'/><author><name>Pope</name><uri>http://www.blogger.com/profile/03943401839650233842</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='30' src='http://2.bp.blogspot.com/_BBDmHdyx8wo/SfTUvbwSs-I/AAAAAAAAAYk/P1yurbiaKZM/S220/650px-Triskele-hollow-triangle.svg.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7711027831820077522.post-5684612790762196290</id><published>2011-03-21T17:26:23.456-07:00</published><updated>2011-03-21T17:26:23.456-07:00</updated><title type='text'>Thanks for correcting the source code Steven.  I g...</title><content type='html'>Thanks for correcting the source code Steven.  I guess I really should double check my source code :-)&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll update the main post to reflect it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default/5684612790762196290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default/5684612790762196290'/><link rel='alternate' type='text/html' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html?showComment=1300753583456#c5684612790762196290' title=''/><author><name>Pope</name><uri>http://www.blogger.com/profile/03943401839650233842</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='30' src='http://2.bp.blogspot.com/_BBDmHdyx8wo/SfTUvbwSs-I/AAAAAAAAAYk/P1yurbiaKZM/S220/650px-Triskele-hollow-triangle.svg.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html' ref='tag:blogger.com,1999:blog-7711027831820077522.post-4469526619811680805' source='http://www.blogger.com/feeds/7711027831820077522/posts/default/4469526619811680805' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-186246922'/></entry><entry><id>tag:blogger.com,1999:blog-7711027831820077522.post-4966482781478781423</id><published>2011-03-21T16:30:50.688-07:00</published><updated>2011-03-21T16:30:50.688-07:00</updated><title type='text'>In response to the first Anonymous post, the reaso...</title><content type='html'>In response to the first Anonymous post, the reason is because of a small error in Pope&amp;#39;s source.&lt;br /&gt;&lt;br /&gt;The line &lt;i&gt;out_lines = d.readlines()&lt;/i&gt; should be &lt;i&gt;out_lines = temp_file.readlines()&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;d&lt;/i&gt; is the file descriptor number since that&amp;#39;s what is returned by &lt;i&gt;temp_file.fileno()&lt;/i&gt;. You can&amp;#39;t read from a file descriptor number.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default/4966482781478781423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default/4966482781478781423'/><link rel='alternate' type='text/html' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html?showComment=1300750250688#c4966482781478781423' title=''/><author><name>Steven</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html' ref='tag:blogger.com,1999:blog-7711027831820077522.post-4469526619811680805' source='http://www.blogger.com/feeds/7711027831820077522/posts/default/4469526619811680805' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1969811101'/></entry><entry><id>tag:blogger.com,1999:blog-7711027831820077522.post-5789521305863986382</id><published>2010-07-30T09:46:15.238-07:00</published><updated>2010-07-30T09:46:15.238-07:00</updated><title type='text'>I&amp;#39;ve run into the problem before, and it can b...</title><content type='html'>I&amp;#39;ve run into the problem before, and it can be worked around by placing your call to p.stdout.readlines() and p.stderr.readlines() in a thread before calling p.wait(). The problem is that either call would wait for the file to close while the other one potentially blocks when it&amp;#39;s buffer is full.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default/5789521305863986382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default/5789521305863986382'/><link rel='alternate' type='text/html' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html?showComment=1280508375238#c5789521305863986382' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html' ref='tag:blogger.com,1999:blog-7711027831820077522.post-4469526619811680805' source='http://www.blogger.com/feeds/7711027831820077522/posts/default/4469526619811680805' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-549789148'/></entry><entry><id>tag:blogger.com,1999:blog-7711027831820077522.post-3184280776775104083</id><published>2009-01-07T08:53:00.000-08:00</published><updated>2009-01-07T08:53:00.000-08:00</updated><title type='text'>can you post your code here?</title><content type='html'>can you post your code here?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default/3184280776775104083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default/3184280776775104083'/><link rel='alternate' type='text/html' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html?showComment=1231347180000#c3184280776775104083' title=''/><author><name>Pope Kim</name><uri>http://www.blogger.com/profile/03943401839650233842</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html' ref='tag:blogger.com,1999:blog-7711027831820077522.post-4469526619811680805' source='http://www.blogger.com/feeds/7711027831820077522/posts/default/4469526619811680805' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-186246922'/></entry><entry><id>tag:blogger.com,1999:blog-7711027831820077522.post-480967223466146854</id><published>2009-01-07T08:47:00.000-08:00</published><updated>2009-01-07T08:47:00.000-08:00</updated><title type='text'>I cannot read the file d, python says it's impossi...</title><content type='html'>I cannot read the file d, python says it's impossible to read an int object.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default/480967223466146854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7711027831820077522/4469526619811680805/comments/default/480967223466146854'/><link rel='alternate' type='text/html' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html?showComment=1231346820000#c480967223466146854' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.popekim.com/2008/12/never-use-pipe-with-python-popen.html' ref='tag:blogger.com,1999:blog-7711027831820077522.post-4469526619811680805' source='http://www.blogger.com/feeds/7711027831820077522/posts/default/4469526619811680805' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-843861187'/></entry></feed>
