Message250401
| Author | desbma |
|---|---|
| Recipients | desbma |
| Date | 2015-09-10.18:38:49 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1441910330.09.0.484556764779.issue25063@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Sorry if it has already been discussed, or if this is a stupid idea. By looking at the signature, my thought was that the only use of shutil.copyfileobj was to wrap the use of sendfile, and use a fallback if it is not available on the system or not usable with "fake" Python files (not having a file descriptor, eg. like gzip.GzipFile). By looking at the implementation, I was surprised that it does not try to call os.sendfile. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-09-10 18:38:50 | desbma | set | recipients: + desbma |
| 2015-09-10 18:38:50 | desbma | set | messageid: <1441910330.09.0.484556764779.issue25063@psf.upfronthosting.co.za> |
| 2015-09-10 18:38:50 | desbma | link | issue25063 messages |
| 2015-09-10 18:38:49 | desbma | create | |