CJ Kucera wrote:
> Okay, I've got a reproducible testcase of this available up here:
> http://apocalyptech.com/pygtk-zlib/
>
> I'm no longer *totally* convinced that it's a zlib issue... zlib's call
> actually returns a valid string, and the error happens la
CJ Kucera wrote:
> Okay, I've got a reproducible testcase of this available up here:
> http://apocalyptech.com/pygtk-zlib/
Hello, two brief notes here:
1) Someone on the PyGTK list mentioned that I should really be using
StringIO instead of my own hacky attempt at one, in there, and o
CJ Kucera wrote:
> Anyway, the issue turned out to be zlib.decompress() - for larger sets
> of data, if I wasn't specifying "bufsize," the malloc()s that it was
> doing behind-the-scenes must have been clobbering memory. As soon as I
> specified bufsize, everything was
g up one question: for larger chunks of data, is it More
Appropriate to use a zlib decompression object instead of just passing
it all through zlib.decompress()?
Thanks, everyone...
-CJ
--
http://mail.python.org/mailman/listinfo/python-list
script that cabn reproduce the bug is also a very good
> idea, and will help speed-up the problem solution.
Right, that's the goal. Right now it's still pretty unwieldy, still.
I'll keep on it.
Thanks for the response!
-CJ
--
WOW: Flemmy| "
ead of just having a Windows crash. And having it work
the FIRST time, when the .pyc's getting compiled, is rather suspicious.
Anyway, I'll continue trying to pare this app down to one manageable
script which I can post here, but until then I'd be happy to hear ideas
from anyone else about this.
Thanks!
-CJ
--
http://mail.python.org/mailman/listinfo/python-list
Was this ever solved?
I'm running into the same problem right now.
Any help is much appreciated.
-cjb
--
http://mail.python.org/mailman/listinfo/python-list
really, thanks)
-
Wait a minute. I can use my PSP to play GAMES?!?
Steven D'Aprano <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> On Sun, 09 Oct 2005 07:02:52 +, CJ wrote:
>
>>Okay, same program, different issue. Thanks to the help that I w
at, I'm not going to put all of it here for obvious
reasons. But, if I take out the whole for loop and the lines relating to
it and statically assign grubrpt as ["blk","blk"...] then the program
runs wonderfully.
From what I understand, you can never have too many functions, so I
tried to make the grub "blk" a function and got the same result. I'm
still nailing them down, so if my functions look a little weird you know
why. Also, I do realize that there is an easier way to do this, I just
created a little project for myself to learn the basics of the language.
Thanks for all the help!
-CJ
--
http://mail.python.org/mailman/listinfo/python-list
CJ <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
Thanks! I think I've nailed it. I appreciate all the input!
--
http://mail.python.org/mailman/listinfo/python-list
nt cnto
print cntt
print ttllst[cnto]
print ttllst[cntt]
if ttllst[cnto]==ttllst[cntt]:
rept=rept+1
if cntt==len(ttllst):
print ttllst[cnto],"appears in the list",rept,"times."
cntt=-1
cnto=cnto+1
rept=-1
cntt=cntt+1
print "done."
I get no errors. The p
11 matches
Mail list logo