Thomas Heller wrote:
Gerrit <[EMAIL PROTECTED]> writes:
Cameron Laird wrote:
Subject: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 2)
What is the frequency of the weekly Python-URL? (-;
According to the name, about 1.6 µHz.
Thomas
NOW you've done it!!
Made me s
Steve Holden wrote:
Gustavo Córdova Avila wrote:
Actually the op did mention that he wanted to monitor files.
As was pointed out to me when I made the same assertion, he actually
said "file object which is stdin" or something like that, which means
the object could be a socket, a pipe,
indeed talking about a pipe or something that
really can block, and you call fileobject.read(1024),
it will block until it gets 1024 bytes.
Donn Cave, [EMAIL PROTECTED]
Actually the op did mention that he wanted to monitor files.
--
Gustavo Córdova Avila <[EMAIL PROTECTED]>
<mailto:[EMAI
David Bolen wrote:
Jp Calderone <[EMAIL PROTECTED]> writes:
def nonBlockingReadAll(fileObj):
bytes = []
while True:
b = fileObj.read(1024)
bytes.append(b)
if len(b) < 1024:
break
return ''.join(bytes)
Wouldn't this still block
:-)
--
Gustavo Córdova Avila <[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
*Tel:* +52 (81) 8130-1919 ext. 127
Integraciones del Norte, S.A. de C.V.
Padua #6047, Colonia Satélite Acueducto
Monterrey, Nuevo León, México.
--
http://mail.python.org/mailman/listinfo/python-list
th embeded comments ! */
#endif
Rob.
Actually, it's infinitly [sp?] more defficient
(contrary of efficient?) than triple-quoted strings
or line-by-line comments, because those two never
make it to execution stage, because they're dropped
by the compiler. :-)
--
Gustavo Córdova Avi
ines of code: triple-quoted strings.
Strings which are unassigned in a source file are dropped
by the compiler, so they don't make it to the execution
stage; they're nice that way.
--
Gustavo Córdova Avila <[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
*Tel:* +52 (81) 8130-1919 ext
Peter Maas wrote:
Grant Edwards schrieb:
On 2004-11-29, Peter Maas <[EMAIL PROTECTED]> wrote:
If the "reverse engineering" argument boils down to "protecting source
doesn't make sense" then why does Microsoft try so hard to protect
its sources?
To avoid embarassment.
:) This cannot be the whole tr
Does anybody have an Arch archive with the current python source I could
slurp it from?
Thanks in advance :-)
--
Gustavo Córdova Avila <[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
*Tel:* +52 (81) 8130-1919 ext. 127
Integraciones del Norte, S.A. de C.V.
Padua #6047, Colonia Satéli