Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99573 > unrolled thread
| Started by | Chris Lalancette <clalancette@gmail.com> |
|---|---|
| First post | 2015-11-26 08:33 -0500 |
| Last post | 2015-11-26 08:33 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Looking for ideas to improve library API Chris Lalancette <clalancette@gmail.com> - 2015-11-26 08:33 -0500
| From | Chris Lalancette <clalancette@gmail.com> |
|---|---|
| Date | 2015-11-26 08:33 -0500 |
| Subject | Re: Looking for ideas to improve library API |
| Message-ID | <mailman.137.1448544829.20593.python-list@python.org> |
On Thu, Nov 26, 2015 at 7:36 AM, MRAB <python@mrabarnett.plus.com> wrote: > Why pass a file descriptor? Why not a filename? The reason for a file descriptor is so that I can also add other file-like objects, such as StringIO. My unit tests, for instance, rely heavily on this. That being said, it is not *strictly* required (my unit tests could be modified to write to temporary files), but I thought it was a nice feature. Chris
Back to top | Article view | comp.lang.python
csiph-web