Commit Graph

4960 Commits

Author SHA1 Message Date
Noah
aa98bb4e41 Ugrade dependencies and update lockfile format 2020-01-31 00:31:12 -06:00
Noah
ee354baf22 Merge pull request #1687 from RustPython/coolreader18/purge-ub
Purge all UB from init_type_hierarchy
2020-01-30 13:41:01 -08:00
Jeong YunWon
bd08950e2f Merge pull request #1719 from palaviv/more-actions
Add more jobs to github actions
2020-01-31 01:41:28 +09:00
Aviv Palivoda
487c742939 Merge pull request #1720 from palaviv/split-github-actions
Split rust test and snippets in github actions
2020-01-30 17:03:43 +02:00
Aviv Palivoda
c9227cd335 Split rust test and snippets 2020-01-30 16:08:34 +02:00
Aviv Palivoda
3fb6fb8706 Merge pull request #1718 from youknowone/macos-whence
cleanup unused import warning for macOS
2020-01-30 15:23:53 +02:00
Aviv Palivoda
644076196a Add wasm test to github actions 2020-01-30 15:19:54 +02:00
Aviv Palivoda
acc47ee31c Merge pull request #1717 from palaviv/dict_iterator-repr
Add repr for dict_keys, dict_values and dict_items
2020-01-30 14:45:23 +02:00
Jeong YunWon
24304a9f24 cleanup unused import warning for macOS 2020-01-30 21:14:54 +09:00
Aviv Palivoda
3b47bb2f61 Add CPython tests to github actions 2020-01-30 14:05:04 +02:00
Aviv Palivoda
dfb3588fd5 Add python lint to github actions 2020-01-30 14:05:04 +02:00
Aviv Palivoda
d1b7d658bc Fix clippy warning 2020-01-30 13:35:01 +02:00
Aviv Palivoda
9685b77cf3 Add repr for dict_keys, dict_values and dict_items 2020-01-30 12:28:14 +02:00
Jeong YunWon
2071743ddd Merge pull request #1712 from youknowone/basetype
Add Py_TPFLAGS_BASETYPE support to restrict subclass
2020-01-30 17:21:12 +09:00
Jeong YunWon
7fd92fcc71 Py_TPFLAGS_BASETYPE 2020-01-30 16:32:09 +09:00
Jeong YunWon
869645203d cpython compatible type_new 2020-01-29 21:30:33 +09:00
Jeong YunWon
1ecc8228d9 PySlots::flags 2020-01-29 21:30:33 +09:00
Jeong YunWon
421d78ee1b strip_prefix for tp_ and set_ 2020-01-29 21:30:33 +09:00
Jeong YunWon
b2ba6b2013 objtype::class_*_attr into PyClassRef methods 2020-01-29 21:30:33 +09:00
Jeong YunWon
ad2d82c66f cleanup objtype 2020-01-29 21:30:33 +09:00
coolreader18
5cc2b3c8c5 Add branch safelist to travis 2020-01-28 16:50:38 -06:00
Noah
f1cf568ae2 Merge pull request #1713 from RustPython/coolreader18/no-azure
Fix up some testing stuff; only build one target profile of rustpython when testing
2020-01-28 12:58:29 -08:00
Noah
aa760544bb Only run GH actions CI on push when branch is master 2020-01-28 18:04:00 +00:00
coolreader18
ff97ac5133 Fix subprocess test and byte{s,array}.{,l,r}strip 2020-01-28 11:33:11 -06:00
coolreader18
3a8f2aa25b Only build the necessary rust target for test_snippets 2020-01-28 11:33:10 -06:00
Noah
e6a431ad22 Merge pull request #1676 from youknowone/fix-cpytest
Fix test_bool::test_sane_len
2020-01-27 18:24:40 -08:00
Noah
ac4af12320 Merge pull request #1700 from palaviv/github-actions
GitHub actions
2020-01-27 16:22:54 -08:00
Noah
b6e3b025db Merge pull request #1710 from dralley/remove-wtf8
Remove wtf8 dependency
2020-01-27 08:32:03 -08:00
Daniel Alley
4e2afe7937 Remove wtf8 dependency 2020-01-27 08:35:58 -05:00
Noah
dc98ea671e Merge pull request #1711 from dralley/once-cell
Replace lazy_static! macro with once_cell
2020-01-27 05:33:27 -08:00
Jeong YunWon
750cb7e010 Merge pull request #1708 from youknowone/class-item-meta
Utility ClassItemMeta for class item meta parsing
2020-01-27 15:26:24 +09:00
Daniel Alley
e5cac96511 Replace lazy_static! macro with once_cell 2020-01-27 01:05:53 -05:00
Jeong YunWon
88d4f6242d Utility ClassItemMeta for class item meta parsing 2020-01-27 13:55:19 +09:00
Jeong YunWon
d8a0eec025 Merge pull request #1707 from cedric-h/embed-examples
Add examples showcasing how to embed RustPython in Rust applications
2020-01-27 13:39:46 +09:00
Jeong YunWon
e8e76fc522 Merge pull request #1691 from youknowone/call-descriptor
call slot and PyBuiltinCallable
2020-01-27 13:38:05 +09:00
Cedric Hutchings
62de954898 Use more specific scoping in hello_embed.rs 2020-01-26 16:02:48 -05:00
Cedric Hutchings
93ccc69d7d Replace 'pointer' with 'memory' 2020-01-26 15:40:01 -05:00
Cedric Hutchings
d1f74f90cd Make suggested improvements to mini_repl.rs 2020-01-26 15:29:58 -05:00
Jeong YunWon
bebfb67842 Use vm.invoke instead of calling __call__ 2020-01-26 19:30:58 +09:00
Cedric Hutchings
c6aed0464a Add note about when output is printed to mini_repl.rs 2020-01-26 01:04:53 -05:00
Cedric Hutchings
9beb44251d Add examples showcasing how to embed RustPython in Rust applications 2020-01-26 00:42:35 -05:00
Jeong YunWon
eea157c2f0 Refactor PyWeak to use PyBuiltinCallable 2020-01-26 14:39:27 +09:00
Jeong YunWon
80f3da92ee vm/src/slots.rs 2020-01-26 14:05:05 +09:00
Jeong YunWon
e2e5c7ab00 Add PyBuiltinCallable and call slot 2020-01-26 14:04:44 +09:00
Jeong YunWon
d7085db17d Merge pull request #1689 from youknowone/pymethod-magic
#[pymethod(magic)]: pyname as __{sig.ident}__ form
2020-01-26 12:04:39 +09:00
Noah
bc121d791a Merge pull request #1682 from RustPython/coolreader18/compare_digest
Add _operator._compare_digest
2020-01-25 12:20:08 -06:00
Jeong YunWon
106c8111c1 Fix test_bool::test_sane_len 2020-01-26 02:50:06 +09:00
Jeong YunWon
d5367d1761 #[pymethod(magic)]: pyname as __{sig.ident}__ form 2020-01-26 02:48:43 +09:00
Jeong YunWon
f24c150972 Merge pull request #1703 from youknowone/azure
Fix Azure Pipelines build
2020-01-26 02:46:57 +09:00
Jeong YunWon
346b9d251b Fix Azure Pipelines build 2020-01-26 02:46:28 +09:00