Commit Graph

1676 Commits

Author SHA1 Message Date
Noah
491c4e775b Fix json.scanstring unicode handling 2021-02-20 21:04:30 -06:00
Noah
27fdb9eef1 Decompress.decompress() takes PyBytesLike 2021-02-20 21:04:30 -06:00
Noah
7d99e49fd9 Parse address tuple based on socket family 2021-02-20 21:04:30 -06:00
Noah
fb2efa95f9 Make getaddrinfo return a full tuple for inet6 2021-02-20 21:04:30 -06:00
Noah
b0f9c2809e Add SSLContext.compression 2021-02-20 21:04:30 -06:00
Noah
ede2d9ed16 Add SSLSocket.cipher 2021-02-20 21:04:30 -06:00
Noah
a0d9481fe5 Add RLock._is_owned 2021-02-20 21:04:30 -06:00
Noah
e6d9af43ca Miscellaneous fixes for aiohttp 2021-02-20 21:04:29 -06:00
rickygao
83ff1fb1d8 add itertools.pairwise and fix typos 2021-02-17 12:56:19 +08:00
rickygao
496eb8922b fix style 2021-02-16 14:45:42 +08:00
rickygao
c0e8b8d8bc follow the latest signature itertools.accumulate(iterable[, func, *, initial=None]) 2021-02-16 14:37:06 +08:00
Noah
73a6a49379 Merge pull request #2470 from zsilver1/math-lib-fixes
Fix `math.floor` and `math.ceil` functions to match cpython behavior
2021-02-15 21:05:30 -06:00
Zach Silver
9636996c4f Fix floor and ceil functions to match cpython behavior 2021-02-15 16:30:14 -08:00
pca006132
3f6df176d9 Optimize check_signals 2021-02-15 15:01:53 +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