New submission from Roman Zeyde :
The following code shouldn't fail without any warning at all:
>>> import socket
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> s.bind(('localhost', 7))
>>> print(s.getsockname())
('127.
Changes by Roman Zeyde :
--
components: +Extension Modules -None
___
Python tracker
<http://bugs.python.org/issue5104>
___
___
Python-bugs-list mailing list
Unsub
Changes by Roman Zeyde :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue5104>
___
___
Python-bugs-list mailing list
Unsubscri
Roman Zeyde added the comment:
I've checked Python 3.0.1 today (at
http://svn.python.org/projects/python/tags/r301/Modules/socketmodule.c)
and it seems that the bug above has been fixed there too.
___
Python tracker
<http://bugs.python.org/i
New submission from Roman Zeyde:
Reproduction:
Python 2.7.4 (default, Apr 19 2013, 18:28:01)
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import struct
>>> struct.pack('!L
Roman Zeyde added the comment:
You are correct - the documentation is right:
"Format characters have the following meaning; the conversion between C and
Python values should be obvious given their types. The ‘Standard size’ column
refers to the size of the packed value in bytes when
Changes by Roman Zeyde :
--
resolution: -> works for me
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue18169>
___
___
Python-bugs-