Commit Graph

3555 Commits

Author SHA1 Message Date
Aviv Palivoda
b41943e080 Use vendored version of openssl 2020-04-04 13:49:07 +03:00
Noah
f33e2d3b39 Remove incognito from vm 2020-04-03 12:34:00 -05:00
Noah
be565d30ae Make incognito a CodeFlag bit 2020-04-03 12:34:00 -05:00
Noah
80f11466b3 Add "incognito" compilation 2020-04-03 12:34:00 -05:00
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
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
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
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
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
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
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
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
Noah
18c4a6f44c Merge pull request #1801 from RustPython/coolreader18/async-gen
Implement async generators
2020-03-21 11:37:53 -05:00
Noah
44bd11fd49 Merge pull request #1822 from palaviv/glob
Add glob module
2020-03-21 09:37:48 -05: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
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
f0cc91d9ac Refactor to be more accurate to CPython 2020-03-21 00:34:13 -05:00
coolreader18
b83443cea9 Partially implement async generators 2020-03-21 00:33:46 -05:00
Jeong YunWon
e97937ab20 Merge pull request #1814 from youknowone/test-bytes
fix bytes bugs and add test_bytes.py
2020-03-21 09:54:02 +09:00
Jeong YunWon
be6f49456f Merge pull request #1812 from youknowone/str-repr
Fix str.__repr__ and builtin ascii
2020-03-21 09:53:49 +09:00
Noah
457602d5f1 Merge pull request #1819 from RustPython/coolreader18/only-gh-actions
Remove Travis and Azure CI
2020-03-20 14:39:56 -05:00
Jeong YunWon
d1dba7f7d1 Merge pull request #1818 from palaviv/struct-fixes
Struct fixes
2020-03-21 01:14:21 +09:00
Aviv Palivoda
a90157c1b7 Support bytes in os.listdir 2020-03-20 17:33:02 +02:00
Aviv Palivoda
d95c10c023 Support bytes in stat 2020-03-20 17:24:24 +02:00
Aviv Palivoda
e53f53dfc0 Add PyPathLike 2020-03-20 17:02:19 +02:00
Aviv Palivoda
4f88b07d18 Support bytes as scandir path 2020-03-20 16:40:02 +02:00
Noah
ddc461ce7f Lower recursion limit on debug builds 2020-03-15 13:50:53 -05:00
Noah
56eb656fdd Allow compilation on Redox 2020-03-15 13:48:43 -05:00
Aviv Palivoda
efb6f6a64c Implement pascal string packing 2020-03-14 17:07:38 +02:00
Aviv Palivoda
7925932459 bool packing check __bool__ 2020-03-14 16:33:13 +02:00
Aviv Palivoda
bbb799f2c7 Resize pack_string with padding 2020-03-14 16:25:02 +02:00
Aviv Palivoda
395fd6bfbe Integer packing check __index__ 2020-03-14 12:30:41 +02:00
Noah
eecb097ae6 Make bytecode::Location Copy 2020-03-13 21:49:10 -05:00
Noah
75eabfdc2c Merge pull request #1787 from youknowone/posonly
PEP570 - positional only parameter support
2020-03-13 17:19:21 -05:00