Noah
|
435d364cb4
|
Merge pull request #2188 from hyperbora/extend-the-socket-module
implement socket.getprotobyname
|
2020-09-05 19:23:22 -05:00 |
|
Jeong YunWon
|
a1a8d0320d
|
Merge pull request #2163 from RustPython/coolreader18/immutable-slots
Make class.slots completely immutable
|
2020-09-06 01:09:41 +09:00 |
|
hyperbora
|
3ff0647365
|
implement socket.getprotobyname
|
2020-09-05 23:36:28 +09:00 |
|
hyperbora
|
51d6785ff1
|
implement socket.inet_pton, socket.inet_ntop
|
2020-09-02 21:17:15 +09:00 |
|
Noah
|
619f1a1de9
|
Make PyStructSequence a derive macro
|
2020-08-30 15:46:04 -05:00 |
|
hyperbora
|
c30fabddee
|
add gethostbyname function
|
2020-08-30 09:30:13 +09:00 |
|
Jeong YunWon
|
dded3ffc53
|
Remove redundant clone from new_class
|
2020-08-23 19:10:46 +09:00 |
|
Jeong YunWon
|
c9c1ac9532
|
Give module names for classes
|
2020-08-23 18:24:46 +09:00 |
|
Jeong YunWon
|
f497c99ec7
|
Give correct names to types
|
2020-08-22 06:32:39 +09:00 |
|
Jeong YunWon
|
23c2c58140
|
Move out read-only flags of slots.
|
2020-08-21 09:47:02 +09:00 |
|
Jeong YunWon
|
7b6ab8da72
|
Replace vm.new_{int,str,bool} with vm.new_pyobj
|
2020-08-10 02:16:29 +09:00 |
|
Jeong YunWon
|
a846338395
|
BorrowValue for PyTuple
|
2020-08-09 14:55:09 +09:00 |
|
Jeong YunWon
|
ab37e455f3
|
BorrowValue for PyString
|
2020-08-09 14:14:55 +09:00 |
|
Jeong YunWon
|
ee90f7cfbd
|
IntoPyException
|
2020-08-05 16:45:06 +09:00 |
|
Jeong YunWon
|
61455ce261
|
Separate IntoPyObject and IntoPyResult
|
2020-08-04 22:59:34 +09:00 |
|
Jeong YunWon
|
84b5475d4c
|
obj::objbyteinner::PyByteInner -> bytesinner::PyBytesInner
|
2020-07-27 08:38:53 +09:00 |
|
Noah
|
39303f0567
|
Transition more files to use PyMutex/PyRwLock
|
2020-07-25 15:22:03 -04:00 |
|
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 |
|