Commit Graph
5527 Commits
Author SHA1 Message Date
Jeong YunWon ec00d727dd Fix str.center and all pad methods into pystr 2020-04-29 03:05:01 +09:00
Jeong YunWon e8dfffa597 Merge pull request #1858 from youknowone/bytes-find
Fix bytes.{find,count} and simplify __contains__ implementation
2020-04-29 01:53:56 +09:00
Toan Phan 6266081d9a Add os.setreuid and os.setresuid methods 2020-04-28 13:35:57 +09:00
Noah 970fa4b035 Merge pull request #1888 from TheAnyKey/TheAnyKey/whats-left-fix
The any key/whats left fix
2020-04-27 18:18:58 -05:00
TheAnyKey f343440ffd Added remark to set and export path to lib 2020-04-27 13:11:17 -04:00
TheAnyKey 0dd111a4ff wrapped module imports with exception handlers and report when importing fails 2020-04-27 13:08:33 -04:00
TheAnyKey b4c28ad351 Merge pull request #1 from RustPython/master
Sync with master
2020-04-27 10:11:28 +02:00
Jeong YunWon b7da9ad7c5 Replace bytes.__contains__ impl 2020-04-27 11:35:41 +09:00
Jeong YunWon f471f61472 Fix bytes.count 2020-04-27 11:35:37 +09:00
Jeong YunWon 06463f98eb Fix bytes.find 2020-04-27 11:34:46 +09:00
Jeong YunWon ad111b029f Merge pull request #1885 from youknowone/startsendswith
cleanup startsendswith args with FromArgs
2020-04-27 11:11:07 +09:00
Jeong YunWon eaa839b51a Merge pull request #1832 from youknowone/pymodule
pymodule derive macro
2020-04-27 10:42:07 +09:00
Jeong YunWon 016d68c819 pymodule itertools 2020-04-27 01:07:36 +09:00
Jeong YunWon 66b63956fd cleanup startsendswith args with FromArgs 2020-04-27 01:05:08 +09:00
Jeong YunWon 2d50cfa022 Add itertools class names 2020-04-27 00:17:36 +09:00
Jeong YunWon 7c8c049031 pymodule platform 2020-04-27 00:11:51 +09:00
Jeong YunWon 9c272831be pymodule binascii 2020-04-27 00:11:51 +09:00
Jeong YunWon 0004fa3b80 pymodule _collections 2020-04-27 00:11:51 +09:00
Jeong YunWon fe0b854995 pymodule for _random 2020-04-27 00:11:51 +09:00
Jeong YunWon 84527b06ac MODULE_NAME as const 2020-04-27 00:11:51 +09:00
Jeong YunWon 5ff55f1321 pymodule error for mod without body 2020-04-27 00:11:51 +09:00
Jeong YunWon 06f8d0bb98 pyclass member support for #[pymodule] 2020-04-27 00:11:51 +09:00
Jeong YunWon 7cea2c3953 use #[pymodule] for stdlib struct 2020-04-27 00:11:51 +09:00
Jeong YunWon 7261198ff4 pymodule derive macro 2020-04-27 00:11:51 +09:00
Jeong YunWon 9b3fa53f88 Merge pull request #1843 from RustPython/coolreader18/clippy-fixes
Fix some clippy lints that were previously 'allow'ed
2020-04-27 00:10:01 +09:00
Jeong YunWon d3449ae794 Merge pull request #1876 from youknowone/share-strip
shared string strip implemenetation
2020-04-26 01:44:04 +09:00
Jeong YunWon 522034c84e Merge pull request #1880 from HyeockJinKim/issue1879
Remove unused variable
2020-04-26 00:12:26 +09:00
Jeong YunWon e147d3e695 Merge pull request #1884 from RustPython/coolreader18/disable-unpack-opt
Disable the unpack optimization
2020-04-26 00:11:21 +09:00
Aviv Palivoda a6b674cc3c Merge pull request #1875 from palaviv/dict-thread
Make Dict thread safe
2020-04-25 13:22:23 +03:00
Aviv Palivoda c29b678525 Remove mut in Dict test 2020-04-25 12:37:09 +03:00
Aviv Palivoda 95812e90ab Fix clippy warnings 2020-04-25 12:23:42 +03:00
Aviv Palivoda 08f74bb63c Make PyDict ThreadSafe 2020-04-25 12:23:42 +03:00
Aviv Palivoda 38cb24df66 Make PySet and PyFrozenSet ThreadSafe 2020-04-25 12:23:42 +03:00
Aviv Palivoda b3cadbd47e Convert Dict to ThreadSafe 2020-04-25 12:23:42 +03:00
Aviv Palivoda c3527252f3 Merge pull request #1881 from palaviv/threading-3
Change more objects to ThreadSafe
2020-04-25 12:22:14 +03:00
Noah c50ab85bbb Add test for unpack regression 2020-04-25 02:15:14 -05:00
Aviv Palivoda a53c29e0b1 Mark PyString, PyStringIterator, PyStringReverseIterator as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda f46715ae3c Mark PyStaticMethod as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda 4f7e1ea483 Mark PySlice as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda 54a9994f7c Make PyRange, PyRangeIterator ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda dc81354473 Make PyProperty ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda 9d1eadc1b9 Mark PyMemoryView as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda 99be207366 Mark PyCallableIterator, PySequenceIterator as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda 7c4fd239c7 Mark PyFilter as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda a03f28ff44 Make PyEnumerate ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda ceb7ca6682 Mark PyCode as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda 804d9c5fab Mark PyClassMethod as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda c4ab76c1e8 Mark PyMap as ThreadSafe 2020-04-25 10:03:39 +03:00
HyeockJinKim 2462e41703 Remove unused variable
Removed unused `is_param` variable for symbol.

Closes RustPython#1879
2020-04-25 13:59:54 +09:00
Noah d7842c79e3 Disable the unpack optimization 2020-04-24 15:14:58 -05:00