Commit Graph

4947 Commits

Author SHA1 Message Date
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
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
Jeong YunWon
2ff552f06c Merge pull request #1702 from youknowone/travis
Merge travis rust lint jobs (rustfmt + clippy)
2020-01-26 02:27:34 +09:00
Aviv Palivoda
fbb96c5494 Fix os.symlink on windows 2020-01-25 19:25:56 +02:00
Jeong YunWon
8c5fde99e3 Merge travis rust lint jobs (rustfmt + clippy) 2020-01-26 01:52:45 +09:00
Jeong YunWon
c1143743cd Merge pull request #1701 from youknowone/comparison
Fix comparison operator
2020-01-26 01:45:36 +09:00
Jeong YunWon
3698d0e438 Fix comparison operator 2020-01-26 01:18:51 +09:00
Aviv Palivoda
32d544d41a Merge pull request #1699 from palaviv/splitlines-keepends
Support keepends in Str.splitlines
2020-01-25 17:06:43 +02:00
Aviv Palivoda
b184d7cad8 Run github actions CI on PRs 2020-01-25 13:06:28 +02:00
Aviv Palivoda
7c824995e9 Install pipenv directly 2020-01-25 13:02:21 +02:00
Aviv Palivoda
6a88efec55 Add fmt and clippy to github actions 2020-01-25 12:54:15 +02:00
Aviv Palivoda
5b4dd0701b Add snippets tests to github actions 2020-01-25 12:17:05 +02:00