Commit Graph

525 Commits

Author SHA1 Message Date
Aviv Palivoda
9a3f73126a Skip SIGPWR, SIGSTKFLT on macos 2019-08-05 22:05:31 +03:00
Windel Bouwman
2613ee417d Merge pull request #1189 from palaviv/signal
signal support
2019-08-04 20:29:47 +02:00
Aviv Palivoda
d7e19da0c0 Merge pull request #1202 from RustPython/coolreader18/fix-redox
Fix redox with new os functions
2019-08-04 18:51:25 +03:00
yf
2e51657eaa fmt code 2019-08-04 19:11:33 +08:00
yf
18bbe94753 Add os.openpty 2019-08-04 18:26:15 +08:00
coolreader18
d44a208da9 Fix redox with new os functions 2019-08-03 17:13:32 -05:00
Aviv Palivoda
5e5d46d373 Remove os_set_signal 2019-08-03 12:31:55 +03:00
Aviv Palivoda
f600868a01 Define SIG_* on windows 2019-08-03 11:00:37 +03:00
Aviv Palivoda
23cba402a5 Get signal numbers from libc 2019-08-03 10:21:51 +03:00
Aviv Palivoda
075f2c9e74 Use libc directly to set signal 2019-08-03 10:13:56 +03:00
Aviv Palivoda
25b9f35de0 Fix more clippy warnings 2019-08-03 00:09:45 +03:00
Aviv Palivoda
52d204c6d3 Fix clippy warnings 2019-08-02 10:40:49 +03:00
Aviv Palivoda
7cd5e895c7 Get SIG_IGN 2019-08-02 09:46:19 +03:00
Aviv Palivoda
9470d75b5b Compile nix parts only on unix 2019-08-02 09:46:19 +03:00
Aviv Palivoda
61bf0763dd User arr_macro to create triggers array 2019-08-02 09:46:19 +03:00
Aviv Palivoda
56b555b905 Add signal numbers 2019-08-02 09:45:39 +03:00
Aviv Palivoda
a1af6b4d6c Iterate over triggers in check_sginals 2019-08-02 09:45:39 +03:00
Aviv Palivoda
7061f1c9c4 Add signal.{SIG_IGN, SIG_DFL} 2019-08-02 09:45:39 +03:00
Aviv Palivoda
c1e07999cf Add test for signal 2019-08-02 09:45:39 +03:00
Aviv Palivoda
e8001d789f Add signal.alarm 2019-08-02 09:45:39 +03:00
Aviv Palivoda
a7d96b7223 Use rust signal module directly 2019-08-02 09:45:39 +03:00
Aviv Palivoda
57cdae17a7 Add signal.getsignal 2019-08-02 09:45:39 +03:00
Aviv Palivoda
ca23c43ae4 Return previous handler from signal 2019-08-02 09:45:39 +03:00
Aviv Palivoda
f540d31a1b Move static triggers array to signal.rs 2019-08-02 09:45:39 +03:00
Aviv Palivoda
1b17926e91 Initial signal support 2019-08-02 09:45:39 +03:00
Marcin Pajkowski
364ddeb6b2 Fix compilation on Windows 2019-07-30 22:58:37 +02:00
Marcin Pajkowski
53c653fd2b Implement several methods - os module
os.getpid  [RUST STD]
os.getegid [UNIX]
os.getgid  [UNIX]
os.getsid  [UNIX]
os.getuid  [UNIX]
os.geteuid [UNIX]
os.getppid [UNIX]
os.getpgid [UNIX]
os.setgid  [UNIX]
os.setegid [UNIX]
os.setpgid [UNIX]
os.setuid  [UNIX]
os.seteuid [UNIX]
2019-07-30 18:15:33 +02:00
coolreader18
a72ef1e365 Add frozen package support 2019-07-27 14:27:29 -05:00
Windel Bouwman
1fddce461f Implement review comments and improve parsing a bit. 2019-07-25 23:54:31 +02:00
Dong-hee Na
29248fd1fa stdlib.io: Implement seekable() 2019-07-24 14:16:37 +09:00
Windel Bouwman
d6c19c1c6a Add location to expressions. Change symboltable to use flags for symbols. 2019-07-20 20:44:38 +02:00
Windel Bouwman
f919ed0137 Extend symtable module. 2019-07-19 22:05:35 +02:00
Windel Bouwman
215308d474 Add initial draft of symtable module. 2019-07-16 22:04:38 +02:00
Windel Bouwman
ff762d7109 Address relative import with 3 dots. Closes #1052. 2019-07-15 21:41:43 +02:00
Windel Bouwman
0741c36bb8 Simplify import AST in line with CPython. 2019-07-15 21:00:28 +02:00
Windel Bouwman
a0abe08c9a Merge pull request #1149 from RustPython/coolreader18/cpython-libs3
Add codecs, locale, shutil, errno, and encodings modules
2019-07-15 17:12:08 +02: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
Windel Bouwman
e06de30eb6 Implement more nodes in the ast. Add script to walk over AST of sourcecode. 2019-07-14 21:18:49 +02:00
coolreader18
fb3ccadc17 Merge pull request #1140 from RustPython/redox
Add Redox OS support, via platform checks!
2019-07-13 16:59:56 -05:00
Windel Bouwman
e705ec292b Add mktime function. 2019-07-13 11:26:44 +02:00
coolreader18
86a6b2a366 Use feature for proc_macro_hack 2019-07-13 00:59:18 -05:00
coolreader18
bd749eae2d Use more platform checks 2019-07-12 20:18:54 -05:00
coolreader18
afd7a33848 Implement os.stat for redox 2019-07-12 20:02:21 -05:00
coolreader18
fc6c683c03 Fix os module again 2019-07-12 16:18:50 -05:00
coolreader18
67813f186c Fix os module 2019-07-12 11:44:42 -05:00
coolreader18
869ea2e679 Remove pwd on redox 2019-07-11 19:26:59 -05:00
coolreader18
0b7ca175a8 Add fnmatch and shlex 2019-07-11 09:38:13 -05:00
Windel Bouwman
98e6486c98 Merge pull request #1128 from RustPython/re-kung-fu
Add time.gmtime function.
2019-07-10 20:06:43 +02:00
Windel Bouwman
fb23cc6e03 Add time.ctime, time.strftime 2019-07-10 17:37:42 +02:00