[p4python] Output of p4 print chunked into array?

Jan Van Uytven juytven at perforce.com
Thu Nov 6 13:46:51 PST 2014


I have a user who's a bit confused as to why the output of 'p4 print'
(when run as p4.run_print("-q", "some_file")) returns an array with the
contents of the file 'chunked' into 4096-byte segments.

He points out that this isn't documented, and as far as I can tell, he's
right.  Is there a particular reason why P4Python does this?

(I'd check p4prod, but I can't seem to access it atm)

- Jan

-- 
Jan Van Uytven

Everything(Nothing) is true - 
   Everything is permissible!
   - Hassan i Sabbah



More information about the p4python mailing list