Commit Graph

5322 Commits

Author SHA1 Message Date
Noah
a104d43d7f Merge pull request #1811 from RustPython/coolreader18/typ-generic-pyobj
Make PyObject.typ a Rc<PyObject<PyClass>>
2020-04-03 12:20:37 -05:00
Noah
7143b93203 Rename into_generic_pyobj -> into_typed_pyobj 2020-04-03 11:43:07 -05:00
Noah
ceb11d6bc1 Merge pull request #1827 from mireille-raad/master
Adding readme under parser and parser/src
2020-04-03 09:55:54 -05:00
Mireille Raad
9c1cb881d1 move content of readme file 2020-04-03 10:18:04 -04:00
Jeong YunWon
a6b23129ea Merge pull request #1816 from RustPython/coolreader18/posonly-error
Error on positional-only parameters passed as keywords
2020-04-03 15:23:18 +09:00
Noah
aad212299f Add tests for positional/keyword only arguments 2020-04-03 00:24:33 -05:00
Noah
652231a683 Error on positional-only parameters passed as keywords 2020-04-03 00:24:30 -05:00
Noah
807c84981c Fix typo
Co-Authored-By: Jeong YunWon <youknowone@users.noreply.github.com>
2020-04-03 00:12:59 -05:00
Jeong YunWon
91080470aa Merge pull request #1836 from RustPython/coolreader18/pyfunc-smallbox
Don't allocate for PyNativeFunc when it's just a fn pointer
2020-04-03 13:15:22 +09:00
Jeong YunWon
73f0b3c4ec Merge pull request #1835 from RustPython/coolreader18/fix-cached_property
Call __set_name__ on descriptors when initializing types
2020-04-03 12:53:47 +09:00
Noah
e2d7ab30aa Don't allocate for PyNativeFunc when it's just a fn pointer 2020-04-02 13:57:08 -05:00
Noah
bd1fdd4d90 Call __set_name__ on descriptors when initializing types 2020-04-02 12:29:20 -05:00
Noah
c1c9631798 Merge pull request #1823 from RustPython/coolreader18/stdlib-ssl
Add the ssl stdlib module
2020-04-01 11:34:41 -05:00
Noah
7051b25d2a Manually error on embedded nul for set_ciphers 2020-03-31 22:40:42 -05:00
Jeong YunWon
210e8a07f0 Merge pull request #1830 from youknowone/method-repr
Basic bound method repr
2020-03-30 21:58:00 +09:00
Noah
4fc45d2569 Add _SSLSocket.peer_certificate 2020-03-27 15:24:09 -05:00
Noah
4f64afb8cf Add ctx.load_verify_locations(cadata=), and ctx.get_ca_certs 2020-03-27 15:24:09 -05:00
Noah
126f41e003 Make rustpython -i script.py work like it does in CPython 2020-03-27 15:24:08 -05:00
Noah
12c57ce135 Add ssl.RAND_* functions 2020-03-27 15:24:08 -05:00
Noah
31905bd1ce Add OPENSSL_VERSION constants 2020-03-27 15:24:08 -05:00
Noah
588589865e Try a few things to make cert verification work 2020-03-27 15:24:08 -05:00
Noah
bea6e54a37 Make ssl work on windows 2020-03-27 15:24:08 -05:00
Noah
03ba022258 Don't use the matches!() macro 2020-03-27 15:24:08 -05:00
Noah
72f7cd65eb Install openssl on Windows in GH Actions 2020-03-27 14:40:20 -05:00
Noah
40835b19e6 Add _ssl stdlib module 2020-03-27 14:40:20 -05:00
Noah
a42e94b44f Add socket.getsockopt, impl io::{Read,Write} for PySocketRef 2020-03-27 14:40:20 -05:00
Noah
289311727b impl TryFromObject for CString 2020-03-27 14:40:20 -05:00
Noah
255b5a631a Edit ssl.py slightly 2020-03-27 14:40:19 -05:00
Noah
d3cc3601d6 Add ssl.py from CPython 3.6 2020-03-27 14:40:19 -05:00
Noah
0f4b358101 Add ipaddress.py from CPython 3.6 2020-03-27 14:40:19 -05:00
Noah
d243b73b67 Fix int.from_bytes() with an arbitrary iterator 2020-03-27 14:40:16 -05:00
Jeong YunWon
d148bdd46c Basic bound method repr 2020-03-28 02:05:58 +09:00
Mireille Raad
4b506c2fee Adding readme under parser and parser/src
Adding readme files under parser and parser/src to make it faster to figure out the files and what each does.
2020-03-22 19:59:20 -04:00
Aviv Palivoda
7faab46ab7 Merge pull request #1825 from palaviv/fix-readme
Remove azure pipeline and travis badges from README
2020-03-21 18:55:05 +02:00
Noah
18c4a6f44c Merge pull request #1801 from RustPython/coolreader18/async-gen
Implement async generators
2020-03-21 11:37:53 -05:00
Aviv Palivoda
f12117f2ea Remove azure pipeline and travis badges from README 2020-03-21 18:33:09 +02:00
Noah
d7b9f3bd27 Update Cargo.lock 2020-03-21 10:25:41 -05:00
Noah
1f8c80b9f7 Merge pull request #1824 from palaviv/fix-test-bytes
Escape octet in string
2020-03-21 10:24:55 -05:00
Noah
44bd11fd49 Merge pull request #1822 from palaviv/glob
Add glob module
2020-03-21 09:37:48 -05:00
Aviv Palivoda
0444c1afa2 Fix clippy warning 2020-03-21 16:35:47 +02:00
Aviv Palivoda
e436e42b4c Merge lex_byte into lex_string 2020-03-21 15:58:20 +02:00
Aviv Palivoda
a2e85aff23 Escape octet in string 2020-03-21 11:08:46 +02:00
Aviv Palivoda
d6a8aeb3e4 Remove expected failure from passing test 2020-03-21 10:25:15 +02:00
Aviv Palivoda
d93e4eaf4e Change OutputMode to camel case 2020-03-21 10:11:44 +02:00
Noah
78f8f14003 Apply review comments 2020-03-21 00:37:13 -05:00
Noah
888ec28fbf Mark unsupported tests 2020-03-21 00:35:38 -05:00
Noah
08593cd9f3 Do some more refactoring, but better 2020-03-21 00:35:38 -05:00
Noah
c1bf5124b1 RuntimeError on coro raising StopIteration 2020-03-21 00:35:38 -05:00
Noah
9507a9f795 Add some functions from asyncio from Python 3.8 2020-03-21 00:35:38 -05:00
Noah
8f2c03c307 Update to test_asyncgen from CPython 3.8 2020-03-21 00:35:38 -05:00