Commit Graph
158 Commits
Author SHA1 Message Date
Jeong YunWon 91b57a3f28 Fix clippy warnings 2023-03-10 02:05:52 +09:00
Jeong YunWon 71e11950d9 rename preconversor -> conversion to follow cpython name 2023-03-01 04:51:47 +09:00
Jeong YunWon a1b74b0758 early error return of raw_magnitude_str 2023-03-01 04:19:28 +09:00
John Pham 8b7158f169 Make common::repr throw error instead of panic (#4520) 2023-02-19 22:09:54 +09:00
Jeong YunWon 42a22c280d use workspace dependencies 2023-02-06 15:30:38 +09:00
yt2b 9e8e5a1e81 Fix mod_ 2023-01-22 14:43:58 +09:00
Jeong YunWon fc0b08042d refactor try_update_quantity_from_element 2023-01-21 11:57:22 +09:00
Charlie Marsh 115357ddd1 Implement lone-dot semantics for %-style format strings 2023-01-20 13:23:26 -05:00
yt2b 1640b6a7f3 Refactor FormatType 2023-01-15 15:19:26 +09:00
yt2b 8828fd17a0 Alternate float format doesn't work correctly. (#4446) 2023-01-14 16:48:03 +09:00
messense ee5a1c9002 Fix panic when parsing a format spec with multi-byte character 2023-01-13 14:40:20 +08:00
Noa c7faae9b22 Bump all crate versions to 0.2.0 2023-01-11 00:14:28 -06:00
yt2b 22a5a83fda PyInt.format only raises ValueError (#4428) 2023-01-08 02:06:04 +09:00
Jeong YunWon 604aa427fa Merge pull request #4429 from youknowone/fix-format
Fix nightly clippy warnings
2023-01-07 21:38:41 +09:00
Jeong YunWon 8d36fe68e7 Fix nightly clippy warnings 2023-01-07 21:07:10 +09:00
yt2b 4bec6e8cc8 add from_bytes 2023-01-07 12:44:28 +09:00
yt2b 3677013765 Fix tests 2023-01-06 23:28:33 +09:00
yt2b 32cf0185bd Fix functions 2023-01-06 22:56:30 +09:00
yt2b e60a264dc8 Remove map_err 2023-01-06 00:02:39 +09:00
yt2b f84dd2e84f Implement format validation 2023-01-05 23:55:23 +09:00
Jeong YunWonandyt2b 062a543c7f Fix f-string padding
Co-Authored-By: yt2b <reinventing.the.wheels@gmail.com>
2023-01-05 22:29:11 +09:00
yt2b 980e578d27 Remove map_err 2023-01-04 23:36:34 +09:00
yt2b a79d3ad61b Fix functions 2023-01-04 23:08:20 +09:00
yt2b 555987e97f Fix functions 2023-01-03 16:22:27 +09:00
yt2b b9e2b716dd Add function 2023-01-03 16:10:35 +09:00
yt2b e11cda970a Implement From trait 2023-01-03 16:08:41 +09:00
yt2b 8e85234134 Fix format_int 2023-01-02 22:51:49 +09:00
Jeong YunWon 23c7b92aff Move (c)format basic implementations to rustpython-common 2023-01-02 20:21:36 +09:00
Ethan Post c2a5acb40c Implements 6 os/posix constants missing for macos (#4110) 2022-09-26 15:48:48 +09:00
Padraic Fanning 50fd23ab47 Fix unnecessary closure (clippy) 2022-09-22 23:09:30 -04:00
Jeong YunWon 6eeaf976a2 sort Cargo.toml dependencies 2022-08-22 08:42:20 +09:00
Jeong Yunwon 7b959dfba7 relocate conversion traits and fix build 2022-08-21 23:18:25 +09:00
Jeong YunWon 27040c01b0 Fix nightly clippy 2022-08-16 09:02:42 +09:00
Jeong YunWon 2fafd409a9 impl _imp.source_hash 2022-08-15 16:09:32 +09:00
Gilteun Choi 13acb1ce6e Precision bug fix when FormatType is None (#3975) 2022-08-04 22:34:31 +09:00
Gyubong Lee d7f17d82ec Fix formatter 2022-07-27 13:37:34 +09:00
Gyubong Lee 60c4db78dd Reflect feedbacks 2022-07-27 13:36:15 +09:00
Gyubong Lee 187fc5d872 hash_pointer -> hash_object_id 2022-07-26 11:42:25 +09:00
Gyubong Lee 01a5fa1ba9 Reflect feedback 2022-07-25 18:07:10 +09:00
Gyubong Lee dc3c7a9712 Fix lint 2022-07-25 18:07:10 +09:00
Gyubong Lee d317c8b08c Move hash_complex implementation from hash.rs to complex.rs 2022-07-25 18:07:10 +09:00
Gyubong Lee 6098eb66ed Fix wrong implementation of hash_complex 2022-07-25 18:07:10 +09:00
Gyubong Lee 3c0f3cacdd Apply inlining 2022-07-25 18:07:10 +09:00
Gyubong Lee d388a13120 Fix hash_complex's hash function 2022-07-25 18:07:10 +09:00
Gyubong Lee 8a97c0b8fa libc::c_void -> std::ffi::c_void 2022-07-25 18:07:10 +09:00
Gyubong Lee 98d3f38476 Reflect feedbacks 2022-07-25 18:07:10 +09:00
Jeong Yunwon dd2bf4c96b fix clippy 2022-07-21 06:45:28 +09:00
Jeong Yunwon 8c0be4b48f Fix nightly clippy warnings 2022-06-24 01:13:32 +09:00
Dennis Zhuang d4f001fa21 Basic mmap module 2022-06-15 01:38:27 +09:00
Jeong Yunwon 7105073c91 shared hash seed in process 2022-05-23 09:03:13 +09:00