Noah
|
ebab829f60
|
Switch to using parking_lot::Mutex instead of std::sync::Mutex
|
2020-07-04 22:58:18 -05:00 |
|
Noah
|
2576321c2e
|
Fix compilation on redox
|
2020-06-02 15:21:33 -05:00 |
|
Aviv Palivoda
|
fb5862da91
|
Remove ThreadSafe trait
|
2020-05-16 13:58:10 +03:00 |
|
Aviv Palivoda
|
8042ff8a86
|
Make PySocket ThreadSafe
|
2020-05-15 16:19:00 +03:00 |
|
Noah
|
a42e94b44f
|
Add socket.getsockopt, impl io::{Read,Write} for PySocketRef
|
2020-03-27 14:40:20 -05:00 |
|
coolreader18
|
791050bb95
|
Use libc for android socket constants
|
2020-03-03 15:13:21 -06:00 |
|
Jeong YunWon
|
92cb58b163
|
Remove _vm parameter - remove unused functions
|
2020-02-06 18:54:37 +09:00 |
|
Jeong YunWon
|
6ddb690e09
|
Remove _vm parameter when it is not required
|
2020-02-06 11:07:51 +09:00 |
|
Jeong YunWon
|
1bac582921
|
&str::to_string -> &str::to_owned for literals
|
2020-02-05 22:55:33 +09:00 |
|
Jeong YunWon
|
7fd92fcc71
|
Py_TPFLAGS_BASETYPE
|
2020-01-30 16:32:09 +09:00 |
|
Jeong YunWon
|
d31d0c6510
|
Merge pull request #1685 from youknowone/slot-name
pyslot guess slot name from function name
|
2020-01-15 11:51:16 +09:00 |
|
Jeong YunWon
|
3ade61a641
|
Merge pull request #1686 from RustPython/coolreader18/redox-fix
Fix compilation on Redox
|
2020-01-15 11:08:02 +09:00 |
|
Jeong YunWon
|
8c7e01b4f6
|
pyslot guess slot name from function name
|
2020-01-15 10:28:39 +09:00 |
|
coolreader18
|
ddf5c9aade
|
Compile for redox
|
2020-01-14 19:07:05 -06:00 |
|
Jeong YunWon
|
c6e148efcf
|
cleanup bytearray
|
2020-01-13 11:20:42 +09:00 |
|
Jeong YunWon
|
70b63eb758
|
new_rustfunc -> new_function & new_method to distinguish bindable functions
|
2020-01-12 18:39:16 +09:00 |
|
Jeong YunWon
|
9d01ae2957
|
socket.has_ipv6 as false (temporary)
|
2020-01-08 11:54:30 +09:00 |
|
Jeong YunWon
|
2473f8a1fe
|
Merge pull request #1655 from youknowone/refactor-tuple
Refactor list, tuple and collections.deque
|
2020-01-08 11:45:45 +09:00 |
|
Marty Moradian
|
a72109cec0
|
Formatting changes.
|
2020-01-07 16:58:44 -06:00 |
|
Marty Moradian
|
43d135594a
|
Disambiguated method call for ntoh
|
2020-01-07 15:54:05 -06:00 |
|
Marty Moradian
|
93e2eec2da
|
Made requested changes. (Combined short and long versions of hton and ntoh with generics, simplified their return values, replaced a chunk of code with from_be.)
|
2020-01-07 15:42:49 -06:00 |
|
Marty Moradian
|
2912d799d8
|
Add htons, ntohl, and ntohs to socket.rs
|
2020-01-07 04:11:58 -06:00 |
|
Jeong YunWon
|
9f4f8ad0ec
|
PyTuple::elements into private
|
2020-01-06 02:34:56 +09:00 |
|
coolreader18
|
777542f7ec
|
Directly instantiate exceptions in the vm.new_*_error functions
|
2019-12-28 01:31:24 -06:00 |
|
Noah
|
97c8d11092
|
Make PyResult<T> = Result<T, PyBaseExceptionRef>
|
2019-12-27 11:22:52 -06:00 |
|
coolreader18
|
a48afdd087
|
Add compilation on windows
|
2019-12-22 22:11:45 -06:00 |
|
coolreader18
|
32d1016a7f
|
Add a TryFromObject impl for std::time::Duration
|
2019-12-21 14:51:12 -06:00 |
|
coolreader18
|
dcbf1a7ac4
|
Add socket.setsockopt
|
2019-12-21 14:51:11 -06:00 |
|
coolreader18
|
69658bd215
|
Update binascii with base64, add with_ref method to PyBytesLike
|
2019-12-14 15:48:48 -06:00 |
|
Riey
|
58fc058dc1
|
Add IPPROTO_NONE for android target
|
2019-12-14 16:23:29 +09:00 |
|
coolreader18
|
04dfc06cd7
|
More socket constants
|
2019-12-03 21:39:34 -06:00 |
|
coolreader18
|
f24cdf191c
|
Add socket.gethostbyaddr, fix socket.bind with empty address
|
2019-11-30 17:25:36 -06:00 |
|
coolreader18
|
62ce47d144
|
Add socket.recv_into
|
2019-11-30 17:25:36 -06:00 |
|
coolreader18
|
f75638cc17
|
socket.getaddrinfo
|
2019-11-30 17:25:34 -06:00 |
|
coolreader18
|
bed54e035c
|
Add some constants to native modules
|
2019-11-16 22:58:51 -06:00 |
|
Noah
|
e563945979
|
Address feedback
|
2019-11-01 17:42:36 -05:00 |
|
coolreader18
|
460e1497ff
|
Fix some minor stuff
|
2019-10-28 22:29:28 -05:00 |
|
coolreader18
|
25a571a38b
|
Fix _socket.socket __new__/__init__, set timeout
|
2019-10-28 22:27:23 -05:00 |
|
coolreader18
|
f2d63723cc
|
Add socket constants
|
2019-10-28 22:27:23 -05:00 |
|
coolreader18
|
90e97c2baa
|
Add socket.py from CPython 3.6
|
2019-10-28 22:27:22 -05:00 |
|
coolreader18
|
435342bc32
|
Convert PySocket to new-style class
|
2019-10-28 22:27:22 -05:00 |
|
coolreader18
|
fcc796d6e1
|
Use socket2 crate for the socket module
It closely mirrors the unix C api for sockets, which is good because
Python does as well.
|
2019-10-28 22:27:22 -05:00 |
|
Aviv Palivoda
|
da8c3f5ead
|
Use u32 directly
|
2019-10-17 19:34:29 +03:00 |
|
Aviv Palivoda
|
e89baf8d47
|
Use usize directly
|
2019-10-17 19:28:04 +03:00 |
|
Jeong YunWon
|
6c0f852b62
|
Refactor pymethod return types to be smaller as possible
|
2019-10-11 03:27:23 +09:00 |
|
coolreader18
|
c46b5b50bd
|
Fix weirdness with type.__new__()/type()/metaclass.__new__()
|
2019-09-29 23:14:31 -05:00 |
|
Noah
|
f846cd7327
|
Fix failing socket test
|
2019-09-21 15:33:52 -05:00 |
|
Noah
|
0def37d78e
|
Make PyString.value private
|
2019-09-19 17:45:48 -05:00 |
|
Windel Bouwman
|
e181826b5f
|
Add scope type and other symboltable properties.
|
2019-08-29 19:16:45 +02:00 |
|
lynskylate
|
936af5b9f8
|
Rename args
|
2019-08-26 01:44:56 +08:00 |
|