Ben Lewis
73a2b74a06
Code review changes.
2020-07-27 12:43:06 +12:00
Ben Lewis
020c4c9fd6
Un-mark test_new_style_iter_class, as it now passes.
2020-07-27 12:42:44 +12:00
Ben Lewis
2d6a1af8e2
Fix/mark itertools tests.
2020-07-27 12:42:44 +12:00
Ben Lewis
611b4b4907
Add test_itertools.py from CPython 3.8.3.
2020-07-27 12:39:33 +12:00
Ben Lewis
c74eb6c9a2
Implement itertools.groupby
2020-07-27 12:39:33 +12:00
Jeong YunWon
3bc7141564
Merge pull request #2029 from RustPython/coolreader18/update-deps
...
Update dependencies
2020-07-27 07:37:18 +09:00
Noah
2bc2d1721e
Update itertools
2020-07-26 15:21:39 -05:00
Noah
fcad7e0091
Use lz4-compression instead of lz4-compress
2020-07-26 15:21:39 -05:00
Noah
ab232e6cd8
Use lexical-core instead of lexical
2020-07-26 15:21:38 -05:00
Noah
861532990d
Update lalrpop
2020-07-26 15:21:38 -05:00
Noah
a1de3a5483
Update flamer + flame some more functions
2020-07-26 15:21:25 -05:00
Jeong YunWon
1fd87879aa
Merge pull request #2002 from BasixKOR/sys-getwindowsversion
...
Implement `sys.getwindowsversion`
2020-07-26 22:12:40 +09:00
Jeong YunWon
75b91087cd
Merge pull request #2018 from RustPython/coolreader18/common-crate
...
Move a few non-python specific functions into a 'common' crate, make threading optional
2020-07-26 22:03:59 +09:00
hyperbora
19326d8411
fix a divmod bug ( #2025 )
2020-07-26 21:37:49 +09:00
Basix
240a31e112
Use module parameter for WindowsVersion
2020-07-26 17:11:20 +09:00
Basix
1505c9a88e
Add tests
2020-07-26 17:08:31 +09:00
Basix
ac57b5225d
Rename getwindowsversion_type
2020-07-26 17:07:05 +09:00
Basix
0cc085b3a5
Fix code style
2020-07-26 17:06:25 +09:00
Basix
d4d4f7a398
Add getwindowsversion in sys module
...
Compatibility note:
The return type of this function has a different name from CPython.
2020-07-26 17:06:24 +09:00
Basix
9bafa29969
Fix handling of null-terminated string
2020-07-26 17:06:24 +09:00
Basix
ab926d17f4
Implement sys.getwindowsversion
2020-07-26 17:06:24 +09:00
Noah
1527184c16
Merge pull request #2026 from BolunThompson/absolute_sys_executable
...
Fixed bug where sys.executable returned an absolute path instead of a relative path
2020-07-25 21:04:13 -04:00
Bolun Thompson
84aa0e094a
avoid unnecessary cloning
2020-07-25 14:33:41 -07:00
coolreader18
126beb75e0
Add no-threading compilation check to rust_tests
2020-07-25 15:29:48 -04:00
Noah
76df8773e7
Use PyRc in rustpython_wasm
2020-07-25 15:22:03 -04:00
Noah
642a1ee7ee
Disable the threading feature for rustpython-wasm
2020-07-25 15:22:03 -04:00
Noah
3647568ac5
Make threading optional
2020-07-25 15:22:03 -04:00
Noah
39303f0567
Transition more files to use PyMutex/PyRwLock
2020-07-25 15:22:03 -04:00
Noah
16ff022014
Add the rustpython_common::{cell, rc} modules
2020-07-25 15:22:03 -04:00
Noah
0251f3e9a2
Move pyhash and some float ops to rustpython-common
2020-07-25 15:22:00 -04:00
Bolun Thompson
1098efa00a
Fixed bug where sys.executable would return a relative path instead of an absolute path
2020-07-25 11:35:19 -07:00
hatee-hatee-hatee-ho
6735ac5902
implemented __repr__ method in impl_pyclass_sequence
...
* implemented sys.version_info.__repr__
* support 'module' optional parameter for 'pyclass sequence' attribute.
* Separated module name and class name of 'pystruct_sequence' attribute parameter
2020-07-26 00:24:53 +09:00
Jeong YunWon
546ac88c27
Merge pull request #1984 from LeBoucEtMistere/add_os_chown
...
Implementation of chown, lchown and fchown for the os module
2020-07-25 21:07:35 +09:00
Jeong YunWon
b280194e59
Merge pull request #2024 from BolunThompson/sys_base_executable
...
Add _base_executable variable to sys module
2020-07-25 20:46:11 +09:00
Bolun Thompson
447ddd1b09
Added newline for spacing
...
Accidentally removed newline for spacing in documentation; re added it.
2020-07-25 00:25:08 +00:00
Jeong YunWon
025f604585
Merge pull request #2019 from youknowone/pystr
...
Refactor str/bytes implementations with pystr
2020-07-25 04:14:41 +09:00
Depasse Arthur
428bf1e0a1
adding fchown function as a wrapper around chown
2020-07-24 17:18:12 +02:00
Depasse Arthur
deb5b08112
add support for passing fd as path argument in chown
2020-07-24 17:14:33 +02:00
Depasse Arthur
792c40badc
adding lchown function as a wrapper around chown
2020-07-24 16:38:07 +02:00
Depasse Arthur
12dee0d55a
Adding base snippets tests for os.chown
2020-07-24 16:18:48 +02:00
Depasse Arthur
dfffca4696
Running flake8 linter on test file
2020-07-24 16:18:48 +02:00
Depasse Arthur
6d541634c5
setting proper values for supports_{fd,dir_fd,follow_symlinks} sets for chown function
2020-07-24 16:18:48 +02:00
Depasse Arthur
eaa4a3bfd4
fixing clippy lint
2020-07-24 16:18:48 +02:00
Depasse Arthur
308468f1d5
First implementation of chown for the os module
2020-07-24 16:18:48 +02:00
Noah
c65ab9f5b8
Merge pull request #2022 from minoring/test-cmd
...
Add CPython 3.83 test test_cmd.py
2020-07-24 09:34:10 -04:00
minoring
f65765fcab
Add CPython 3.83 test test_cmd.py
...
All tests are passed.
2020-07-24 19:46:18 +09:00
Jeong YunWon
10f53935dc
clean up cformat a bit
2020-07-24 08:55:12 +09:00
Bolun Thompson
6a713a5b8b
Added _base_executable variable to sys module
2020-07-23 16:11:38 -07:00
Jeong YunWon
466e6fcfc3
clean up unnssesary mut from cformat
2020-07-24 05:57:10 +09:00
Jeong YunWon
5b20601748
pystr py_cformat
2020-07-23 06:39:04 +09:00