Commit Graph

143 Commits

Author SHA1 Message Date
Aviv Palivoda
d0184a7ac2 struct.pack does not allow string as pack parameter 2019-10-20 10:13:40 +03:00
Seo Sanghyeon
6887365092 Update lexical to 4 2019-10-15 21:40:59 +09:00
Seo Sanghyeon
97069c8605 Update lalrpop to 0.17 2019-10-11 15:50:15 +09:00
Chris West (Faux)
60bb597dc0 upgrade low-risk deps 2019-10-10 21:07:26 +01:00
Chris West (Faux)
a5be00b488 upgrade statrs 2019-10-10 20:50:09 +01:00
Chris West (Faux)
9213c99da9 upgrade direct use of rand 2019-10-10 20:50:09 +01:00
Chris West (Faux)
45e4d6e9cd upgrade regex to be consistent 2019-10-10 20:50:09 +01:00
Windel Bouwman
161f1d4c98 Merge pull request #1491 from RustPython/bytecode-compression
Compress bytecode using LZ4
2019-10-10 08:04:21 +02:00
kluid
6f7d76f74b Added _csv module and implemented reader function. 2019-10-09 12:29:35 +09:00
Windel Bouwman
64ab147f64 Compress bytecode using LZ4 2019-10-07 20:54:22 +02:00
ChJR
0b60b6f5d5 Add os.EX_* constants 2019-10-06 17:01:13 +09:00
Noah
867c91b28f Merge pull request #1459 from RustPython/coolreader18/sysexit
Correctly handle a SystemExit unwound to the top level of execution
2019-10-05 18:39:45 -05:00
Noah
e89d00f167 Correctly handle a SystemExit unwound to the top level of execution 2019-10-04 22:05:01 -05:00
Seo Sanghyeon
e4ec430896 Optimize BuildMap bytecode emission 2019-10-03 00:03:08 +09:00
Daniel Alley
02ea0b629f Handle unicode indexing by character, not by grapheme
Python isn't grapheme aware, so for compatibility sake, we shouldn't be
either.

closes #1417
2019-10-01 12:37:16 -04:00
Noah
d88167bb73 Bump crate versions 2019-09-25 11:57:38 -05:00
coolreader18
42ca599379 Update Cargo.lock 2019-09-12 09:30:11 -05:00
coolreader18
6a34a720e4 Update dependencies 2019-09-10 21:53:53 -05:00
coolreader18
2920c87a19 Fix more stuff on redox 2019-09-10 20:24:02 -05:00
coolreader18
5dd5b44b59 Use the rustyline prompt on redox 2019-09-10 18:01:21 -05:00
Noah
5ae1fca0ec Improve UX on windows
Use the `dirs` crate to find the config dir on non-unix; fix warnings
2019-09-04 11:15:41 -05:00
Tommaso Thea Cioni
b99ff48567 Raised chrono version to 0.4.7. 2019-09-04 03:01:38 +02:00
Noah
c61f1d20ea Allow time.time() to work on WASM 2019-08-26 21:21:31 +00:00
coolreader18
e61cbe7008 Update to work on Redox 2019-08-25 23:16:25 -05:00
Windel Bouwman
4e256e3775 Merge pull request #1284 from Writtic/module_factorial
Update factorial module of math
2019-08-16 13:01:19 +02:00
johan.park
48ae9a309d Update factorial module of math
- Implement factorial function with test case
- Deal with Negative input as a ValueError
2019-08-16 14:28:35 +09:00
Windel Bouwman
4b3423c0dc Merge pull request #1278 from RustPython/coolreader18/update-deps
Upgrade dependencies
2019-08-16 07:07:30 +02:00
coolreader18
df71821ce9 Upgrade dependencies 2019-08-15 16:19:46 -05:00
Dong-hee Na
850f479dd2 stdlib_io: Implement fileIO.close 2019-08-16 05:28:12 +09:00
kluid
43c1143e67 Implemented stdlib os.cpu_count 2019-08-15 14:30:57 +09:00
Marcin Pajkowski
128bd8c836 Add zlib module
+ Implement following functions:
  * zlib.compress
  * zlib.decompress
  * zlib.crc32
  * zlib.adler32

+ Add compression level constants
2019-08-12 18:32:24 +02:00
Windel Bouwman
4e1fea62c5 Merge pull request #1200 from RustPython/coolreader18/compiler-optimization
Add basic constant optimization to the compiler
2019-08-09 07:03:38 +02:00
Aviv Palivoda
6486780025 Add subprocess module 2019-08-08 17:32:24 +03:00
Aviv Palivoda
d63839a5ea Merge pull request #1205 from Lynskylate/impl-socket-module
Extend Socket module
2019-08-08 17:30:02 +03:00
lynskylate
c9c580d2fe Add inet_ntoa and windows gethostname 2019-08-07 01:28:17 +08:00
coolreader18
ba6758035f Make peephole optimizer a stream processor 2019-08-03 22:02:29 -05:00
coolreader18
d44a208da9 Fix redox with new os functions 2019-08-03 17:13:32 -05:00
Aviv Palivoda
52d204c6d3 Fix clippy warnings 2019-08-02 10:40:49 +03:00
Aviv Palivoda
61bf0763dd User arr_macro to create triggers array 2019-08-02 09:46:19 +03: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
Aviv Palivoda
5c240d71a8 Support freezing of stdlib 2019-07-20 18:06:46 +03:00
Windel Bouwman
8101f423df Merge pull request #1153 from RustPython/ast-module
Add initial draft of symtable module.
2019-07-20 09:07:05 +02:00
Windel Bouwman
f919ed0137 Extend symtable module. 2019-07-19 22:05:35 +02:00
coolreader18
97c9b2316e Update Dockerfile.wasm 2019-07-18 10:49:05 -05:00
coolreader18
f59d84a750 Add codecs, locale, shutil, errno, and encodings modules 2019-07-14 23:09:59 -05:00
coolreader18
86a6b2a366 Use feature for proc_macro_hack 2019-07-13 00:59:18 -05:00
coolreader18
dd11780877 Fix num-* crates 2019-07-12 11:45:27 -05:00
coolreader18
53cc56820b Revert unnecesarily change Cargo.lock entries 2019-07-11 19:15:27 -05:00
coolreader18
e373ad25ae Make repl rudimentary 2019-07-11 19:01:52 -05:00
coolreader18
2c65988ea7 Switch to hexf_parse 2019-07-11 18:53:47 -05:00