Message57513
| Author |
gvanrossum |
| Recipients |
christian.heimes, gvanrossum, nnorwitz, roudkerk, theller |
| Date |
2007年11月15日.00:00:46 |
| SpamBayes Score |
0.029181631 |
| Marked as misclassified |
No |
| Message-id |
<1195084847.01.0.29307374899.issue1378@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here's a new version along the lines I described. Please test on
Windows. It works on Linux and OSX. What this includes:
- the dup-on-windows implementation by R Oudkerk, with the
GetLastError() suggestion from Thomas Heller.
- Replace the C implementations of dup() and accept() with _dup() and
_accept() that return file descriptors instead of socket objects.
- Implement accept() and dup() in Python using _accept() and _dup().
- Get rid of socket.fromfd(). You can use socket.socket(..., fileno=...)
instead (it doesn't dup though). |
| Files |
| File name |
Uploaded |
|
socket.diff
|
gvanrossum,
2007年11月15日.00:00:46
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年11月15日 00:00:47 | gvanrossum | set | spambayes_score: 0.0291816 -> 0.029181631 recipients:
+ gvanrossum, nnorwitz, theller, christian.heimes, roudkerk |
| 2007年11月15日 00:00:47 | gvanrossum | set | spambayes_score: 0.0291816 -> 0.0291816 messageid: <1195084847.01.0.29307374899.issue1378@psf.upfronthosting.co.za> |
| 2007年11月15日 00:00:46 | gvanrossum | link | issue1378 messages |
| 2007年11月15日 00:00:46 | gvanrossum | create |
|