[ python-Bugs-835300 ] socket object method " makefile" has wrong doc

SourceForge.net noreply at sourceforge.net
Mon Dec 20 11:18:22 CET 2004


Bugs item #835300, was opened at 2003-11-03 22:23
Message generated for change (Comment added) made by neunhoef
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=835300&group_id=5470

Category: Documentation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 1
Submitted By: Max Neunhöffer (neunhoef)
Assigned to: Skip Montanaro (montanaro)
Summary: socket object method "makefile" has wrong doc

Initial Comment:
The documentation of the method "makefile" for socket
objects still claims that the new file object
corresponds to a dup()ped file descriptor, which seems
to be wrong.

Python Version: 2.3.2 
Operating system: Debian GNU/Linux

----------------------------------------------------------------------

>Comment By: Max Neunhöffer (neunhoef)
Date: 2004-12-20 11:18

Message:
Logged In: YES 
user_id=350896

I can no longer understand what made me file this bug
report. I vaguely remember having had the problem that no
dup was done,
but I am no longer sure what I have seen at the time.
Sorry for the inconvenience!

----------------------------------------------------------------------

Comment By: Irmen de Jong (irmen)
Date: 2004-11-07 20:00

Message:
Logged In: YES 
user_id=129426

Why does this seem to be wrong? 
If I look at the code in socketmodule.c, it seems to me that
sock_makefile does a dup() on the socket's fd, and returns a
file based on the new fd....

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=835300&group_id=5470


More information about the Python-bugs-list mailing list