defnull / multipart

Multipart parser for Python 3
Other
120 stars 33 forks source link

MultipartPart() and __str__() #2

Open defnull opened 14 years ago

defnull commented 14 years ago

MultipartPart() instances should be usable as strings but throw an exception if they are to big to fit into memory.

wobsta commented 14 years ago

MultipartPart is not aware of a mem_limit. It sure has a memfile_limit, but that's about it. (The disk_limit and mem_limit is enforced by MultipartParser.) MultipartPart has a value function (!), not a value property (anymore -- I changed this recently).