Message250918
| Author |
desbma |
| Recipients |
desbma |
| Date |
2015年09月17日.20:08:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1442520485.03.0.419427125487.issue25156@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is related to issue25063 (https://bugs.python.org/issue25063).
Trying to use sendfile internally in shutil.copyfileobj was considered risky because of special Python files that expose a file descriptor but wrap it to add special behavior (eg: GzipFile).
I believe such risk does not exist for shutil.copyfile, and it would be possible to use sendfile if available. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年09月17日 20:08:05 | desbma | set | recipients:
+ desbma |
| 2015年09月17日 20:08:05 | desbma | set | messageid: <1442520485.03.0.419427125487.issue25156@psf.upfronthosting.co.za> |
| 2015年09月17日 20:08:04 | desbma | link | issue25156 messages |
| 2015年09月17日 20:08:04 | desbma | create |
|