Bugs item #835300, was opened at 2003-11-03 16:23 Message generated for change (Settings changed) made by rhettinger 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: Closed >Resolution: Invalid 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 05: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 14: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 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com