Commit 0f683b2
committed
Fix connect error on windows (#70):
>>> import tarantool
>>> tarantool.connect('48.12.22.123',3311)
```
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
tarantool.connect('48.12.22.123',3311)
File "C:\Python27\lib\site-packages\tarantool\__init__.py", line 47, in connect
encoding=encoding)
File "C:\Python27\lib\site-packages\tarantool\connection.py", line 93, in __init__
recv = self._sys_recv = libc.recv
File "C:\Python27\lib\ctypes\__init__.py", line 378, in __getattr__
func = self.__getitem__(name)
File "C:\Python27\lib\ctypes\__init__.py", line 383, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'recv' not found
```1 parent bd08927 commit 0f683b2
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
0 commit comments