Commit Graph

27 Commits

Author SHA1 Message Date
Padraic Fanning
37f62bb9f6 Fix platforms for errno.EDEADLOCK 2022-02-19 20:12:17 -05:00
Padraic Fanning
f87e557e20 Update errno module to CPython 3.10
Some constants have also been reordered to reflect the order in the
original C source.
2022-02-19 19:54:53 -05:00
Kangzhi Shi
ca4e8f50e8 refactor ItemProtocol -> Object Protocol 2021-11-27 13:00:37 +02:00
David Carlier
f56514d61b netbsd build fix proposal 2021-10-31 08:41:14 +00:00
Aratrik
d6fc20f64e Relocate vm.set_attr to obj.set_attr 2021-10-19 14:50:53 +05:30
Jeong YunWon
b9ffa93eb1 replace py_module! from errno and sysconfigdata 2021-10-15 02:11:35 +09:00
Jeong YunWon
4b12f11eb5 Remove TryIntoRef for PyObjectRef 2021-10-12 02:45:08 +09:00
Jeong YunWon
a42d547a3f new_{utf8_str, ascii_literal} -> new_str again 2021-10-11 21:28:14 +09:00
Jeong YunWon
8515779589 Fix wasi build 2021-10-11 04:39:02 +09:00
Jeong YunWon
741cfea565 vm.ctx.new_int returns PyInt 2021-10-11 01:05:38 +09:00
ChJR
296f18326e Make OSError subclass instead of itself 2021-10-08 02:33:44 +09:00
Jeong YunWon
48dc5c96b6 PyStrKind 2021-09-16 03:35:44 +09:00
Noah
99104faaf7 Re-export pyobject::* from the root of the crate 2021-05-20 10:24:07 -05:00
Noah
6b55c8d44f Fix(?) windows errnos 2021-05-04 11:31:09 -05:00
Noah
1feae7841f Fix stuff on windows 2021-04-27 08:15:13 -05:00
Noah
6da8b937da Add freebsd support 2021-03-08 08:08:54 -06:00
Jeong YunWon
7b6ab8da72 Replace vm.new_{int,str,bool} with vm.new_pyobj 2020-08-10 02:16:29 +09:00
Jeong YunWon
67b5d61d1f Refactor DictKey 2020-08-04 02:12:56 +09:00
Reuben Staley
b35b84064d more conditional compiling, this time for errors 2020-05-27 15:07:08 -06:00
Reuben Staley
f2eb588e5f Add the OpenBSD support that I am smart enough to 2020-05-27 01:41:07 -06:00
coolreader18
4cf49efda1 Always set OSError.errno; have it be None instead of missing 2019-12-14 15:48:48 -06:00
coolreader18
e612c0d7ab Add the errno::errors module 2019-11-16 22:57:49 -06:00
coolreader18
e61cbe7008 Update to work on Redox 2019-08-25 23:16:25 -05:00
Windel Bouwman
b6f522d917 Allow &str to be used a dictionary key. 2019-08-17 17:11:23 +02:00
Jeong YunWon
99881147d4 errno for non-linux unix 2019-08-16 13:57:30 +09:00
coolreader18
f7dd1a2952 Add windows errno 2019-07-15 00:03:38 -05:00
coolreader18
f59d84a750 Add codecs, locale, shutil, errno, and encodings modules 2019-07-14 23:09:59 -05:00