Commit Graph

1663 Commits

Author SHA1 Message Date
Zach Silver
9636996c4f Fix floor and ceil functions to match cpython behavior 2021-02-15 16:30:14 -08:00
kenkoooo
c558335089 Implement os.getpriority and os.setpriority (#2453) 2021-02-14 20:22:18 -06:00
kenkoooo
b15daec6c6 Merge branch 'master' into os_getgrouplist 2021-02-12 21:42:12 +09:00
Noah
6b761e94c0 Unify/simplify os.stat 2021-02-11 08:01:22 -06:00
kenkoooo
9b79ca4a0d Implement os.getgrouplist 2021-02-11 18:04:11 +09:00
Noah
561f4ee779 Allow tuple structs for derive(FromArgs) 2021-02-08 12:36:54 -06:00
Noah
ce8b5eed90 Enable dir_fd for utime, unskip a bunch of tests 2021-02-08 12:36:54 -06:00
Noah
9c6eea6aa0 Fix os.utime to be able to take floats 2021-02-08 12:36:54 -06:00
Noah
7809edd399 Fix non-threading callback 2021-02-07 19:39:36 -06:00
Noah
4a26d13481 Fix do_handshake method 2021-02-07 19:39:36 -06:00
Noah
781f46a826 Add more ssl methods 2021-02-07 19:39:36 -06:00
Noah
2e831f5daa Store OSError errno in the args tuple 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
Danilo Bargen
a406bdd2dc Implement os.getlogin 2021-02-06 13:41:54 +01:00
Noah
6d371cea8a Merge pull request #2409 from RustPython/coolreader18/fix-http
Fix BufferedReader over a SocketIO to properly read the right amount
2021-02-03 11:29:01 -06:00
Noah
160505d0cf Use helper type for deadlines 2021-02-03 10:54:12 -06:00
boris
e7105643ec Fix _random.Random signature 2021-02-03 01:14:40 -05:00
boris
8acb7453dc Fix binascii.hexlify 2021-01-31 19:13:55 -05:00
Noah
235c384f49 Remove py_io::write_all, fix windows 2021-01-29 11:47:09 -06:00
Noah
d6eeed9770 Yeah sure lets just reimplement _all_ the timeout code 2021-01-29 11:47:09 -06:00
Noah
f613995198 zlib gzip wbits 2021-01-29 11:47:07 -06:00
Noah
9e5716124a Don't panic on invalid wbits 2021-01-29 11:45:29 -06:00
Noah
ca912fcf27 Fix BufferedReader over a SocketIO to properly read the right amount 2021-01-29 11:45:29 -06:00
Noah
6c30bc10bc Extract the sre interpreter into a separate repo 2021-01-29 10:18:20 -06:00
Noah
942b8afbe1 Add enumerate kwargs, stat_result unnamed fields, -u flag 2021-01-29 00:46:17 -06:00
Noah
76b6abb507 DirEntry as os.PathLike, st_xtime_ns 2021-01-29 00:46:16 -06:00
Jeong YunWon
dd267b5ff2 Merge pull request #2415 from RustPython/coolreader18/csv-writer
Add csv.writer()
2021-01-29 14:18:42 +09:00
Noah
59794cdfd7 Change site-packages paths 2021-01-27 15:20:52 -06:00
Noah
570d2521d0 Merge pull request #2408 from verhovsky/add-gzip
Copy gzip from CPython 3.10
2021-01-25 18:29:16 -06:00
Noah
5c660c0ae3 Fix crc32 signature again 2021-01-25 18:02:01 -06:00
Noah
3aafd1a85f Add csv.writer 2021-01-25 17:08:04 -06:00
Noah
e74e1958c4 Switch to csv-core for the _csv module 2021-01-25 15:11:24 -06:00
Noah
97e5c2c890 Merge pull request #2352 from qingshi163/_sre-wip
[WIP] _sre
2021-01-25 14:43:22 -06:00
Noah
19f9ca6390 Merge pull request #2399 from RustPython/coolreader18/asdl
Generate rustpython-ast based off of Python.asdl
2021-01-25 11:09:31 -06:00
Noah
0b68a8acd4 Remove TryFromObject for String impl 2021-01-24 15:31:42 -06:00
boris
95e2d110e7 Comment out failing tests and add notes to io.TextIOWrapper 2021-01-24 02:48:28 -05:00
boris
a6623f1a7d Format ID's as hex 2021-01-24 01:13:30 -05:00
Noah
d78937011c Fix zlib.crc32 signature 2021-01-23 14:16:23 -06:00
boris
92896c3681 Add optional mode argument 2021-01-23 02:52:40 -05:00
boris
90524f77c9 Copy gzip from CPython 3.10 2021-01-23 01:10:52 -05:00
boris
7b321b132d Add DEF_MEM_LEVEL by copying the maximum value from CPython 2021-01-23 01:09:55 -05:00
boris
074c996c04 Add more zlib constants 2021-01-22 23:38:38 -05:00
Kangzhi Shi
5794c46adf fix multiple bugs; pass tests 2021-01-22 16:40:33 +02:00
Kangzhi Shi
2a6bf6286a fix Match.group with __index__ 2021-01-21 19:45:00 +02:00
Kangzhi Shi
5232a3db3e fix back_peek_char 2021-01-21 19:24:10 +02:00
Kangzhi Shi
df42fd913f fix at_beginning 2021-01-21 16:14:23 +02:00
Kangzhi Shi
40b68fbea7 impl Pattern SubArgs with bytes 2021-01-21 15:51:51 +02:00
Kangzhi Shi
81d791b04b fix op branch 2021-01-21 12:48:32 +02:00
Kangzhi Shi
8d11e9e310 pass multiple tests 2021-01-20 17:30:23 +02:00
Kangzhi Shi
2e7f47a79e fix zero width repeat 2021-01-20 16:33:30 +02:00