The Home for People Who Like to Flip Out and Write Code
Notes From PyATL 2012-07-12
Announcements (Doug)
Julython
PyATL Ladies
A contractor with too much work; hook him up w/ Matt (clay@daemons.net)?
file.readline() (Doug)
I think this is about the hint param that came up on the core-mentorship
mailing list.
It appears the way the hint works is that it has a base buffer size and it
uses the hint to figure out a multiplier to use on the base: if the hint is
big enough to fit in 1 * base, then it reads buf_size bytes, if it is too
big for 1, but fits in 2, it reads 2 * buf_size bytes, etc. (btw, it reads
that many bytes, and then reads to the next newline, to be particular)
(in response to a question from Rick) It runs in two passes
(collection, test-running), and you probably don’t want to have
side-effects in your imports.
It has some sort of profiling tools baked in, but not many details (pretty
interesting, though).
(Another Q from Rick): What about unittest2? It’s more
convenient for him.