Commit Graph

364 Commits

Author SHA1 Message Date
eldpswp99
76c8f33a6f remove precommit 2021-09-28 00:27:44 +09:00
Noa
0bb0946a5e Merge pull request #3118 from RustPython/more-codecs
Implement ascii codec in Rust
2021-09-23 12:48:04 -05:00
Jeong YunWon
874ed5a78d Merge pull request #3098 from youknowone/doc-sync
CPython docs database for module items
2021-09-23 11:39:37 +09:00
Noa
20b86b2060 Implement ascii codec in Rust 2021-09-22 16:35:50 -05:00
Jeong YunWon
225e7427a7 Merge pull request #3092 from youknowone/str-safe
Fix PyStr operations to be safe
2021-09-23 00:26:28 +09:00
Jeong YunWon
c2b4755af4 CPython docs database for module items 2021-09-22 04:25:41 +09:00
Jeong YunWon
2952f6e7c6 extract wchar_t definition to rustpython-common 2021-09-22 03:30:41 +09:00
Jeong YunWon
795738d32b ascii! macro 2021-09-21 18:14:42 +09:00
Jeong YunWon
60fddd1553 little bit better error message for signature error 2021-09-16 03:29:33 +09:00
Myunghoon Park
8c91269977 add precommit which runs fmt 2021-09-12 17:45:59 +09:00
Noa
61749bf4cf Remove unnecessary redox patches 2021-09-11 15:48:22 -05:00
Noa
34b91e7cad Update rustyline to 9.0 2021-09-10 10:28:23 -05:00
Padraic Fanning
f833ba6ed3 Update num_bigint to 0.4.2
Fixes a compilation error with the latest nightlies.
2021-09-03 18:53:23 -04:00
Jeong YunWon
da166186de derive __text_signature__ from definition 2021-08-22 17:37:42 +09:00
sobolevn
10fe2d4763 Attempt to fix the failing CI 2021-08-17 01:32:25 +03:00
Noah
94eb264c92 Fix rustyline on redox 2021-08-11 18:45:57 -05:00
Noah
a32ee555cf Run cargo update 2021-07-31 18:44:40 -05:00
Noah
4de16f6955 Remove derive_more dep 2021-07-31 10:49:39 -05:00
Noah
b05c0e27f6 Upgrade dependencies for redox 2021-07-31 10:18:00 -05:00
Yossi Konstantinovsky
d382009a5f add initial pyexpat implementation 2021-07-20 14:36:02 +03:00
Dean Li
d044d8ab61 os: Implement (f)pathconf
Implement pathconf and fpathconf using libc::pathconf.

os.pathconf_names is not implemented.
2021-06-13 21:43:33 +08:00
Noah
c5f11a7ef4 Merge pull request #2586 from RustPython/coolreader18/hash-neg1-to-neg2
Make PyStr.hash an AtomicI64
2021-05-22 12:31:49 -05:00
Noah
d1a4812d3f Implement _codecs.utf_8_decode in rust 2021-05-20 20:36:04 -05:00
Noah
ab3537f9c9 Make PyStr.hash a AtomicI64 2021-05-20 18:41:13 -05:00
Jeong YunWon
53e2f5f48a module _scproxy 2021-05-13 03:03:21 +09:00
Noah
6b55c8d44f Fix(?) windows errnos 2021-05-04 11:31:09 -05:00
Noah
d969299de5 Always have fds represent the C RT's fds, even on windows 2021-04-27 08:15:12 -05:00
Noah
8ae26e545f Don't depend on num-iter 2021-04-25 18:03:29 -05:00
Noah
325007f6f3 Don't include regex in the binary, remove regex_crate module 2021-04-22 08:31:27 -05:00
Noah
9aab312dae Remove serde_json python module 2021-04-22 08:08:19 -05:00
Noah
696aa99b80 Apply review comments 2021-04-21 20:44:18 -05:00
Kangzhi Shi
7ab4e9573c fix sre zerowidth search 2021-04-20 10:21:16 +02:00
Noah
075b184b56 Upgrade sre-engine 2021-04-16 10:56:14 -05:00
Noah
763c18d8aa Merge pull request #2544 from RustPython/coolreader18/misc-fixes
Misc fixes related to IPython
2021-04-14 15:14:54 -05:00
Noah
f892b06c3e Switch to sre-engine from crates.io 2021-04-13 10:40:15 -05:00
Noah
3db00be5f3 Add termios module 2021-04-11 17:38:44 -05:00
Noah
f9555fd75d Fix getrandbits for k>32 2021-04-07 10:52:40 -05:00
Noah
84ca512b0a Update lock_api to crates.io 0.4.3 2021-04-03 20:55:39 -05:00
Noah
25ecd7c38b Upgrade dependencies 2021-03-25 08:06:56 -05:00
Noah
9b0a86d037 Run cargo update 2021-03-25 08:06:14 -05:00
Noah
163cd19533 Merge pull request #2519 from TheOnlyError/2406-parse-multiple-lines-REPL
2406 parse multiple lines REPL
2021-03-25 08:04:07 -05:00
Noah
d6c8247886 Merge pull request #2521 from RustPython/fix-cpython-parse-bench
Level the playing field for the parse_to_ast benchmarks
2021-03-21 19:20:32 -05:00
Noah
f1f7e8d1fb Level the playing field for the parse_to_ast benchmarks 2021-03-19 21:47:28 -05:00
Eric van der Toorn
29a69b8958 update rustyline 2021-03-16 12:45:06 +01:00
Dean Li
ead42f2903 Implement dir_fd in os.open
Now pass `test_posix.py PosixTester.test_open_dir_fd`

Implement `dir_fd` in
`make_path` and `os.open(path, flags, mode=0o777, *, dir_fd=None)`
2021-03-13 11:23:18 +08:00
Noah
6da8b937da Add freebsd support 2021-03-08 08:08:54 -06:00
Noah
a0d9481fe5 Add RLock._is_owned 2021-02-20 21:04:30 -06:00
Noah
9c6eea6aa0 Fix os.utime to be able to take floats 2021-02-08 12:36:54 -06:00
Noah
4a26d13481 Fix do_handshake method 2021-02-07 19:39:36 -06:00
Noah
aa238de4a9 Support newlines in the middle of base64 2021-02-07 19:39:36 -06:00