Jeong YunWon
61455ce261
Separate IntoPyObject and IntoPyResult
2020-08-04 22:59:34 +09:00
Jeong YunWon
67b5d61d1f
Refactor DictKey
2020-08-04 02:12:56 +09:00
Jeong YunWon
4a4a7baeb6
Merge pull request #2061 from tobark/symlink
...
Add target_is_directory parameter for symlink function
2020-08-03 18:27:02 +09:00
Yi Hyunjoon
3d0453d47d
Allow dead TargetIsDirectory temporary
2020-08-03 17:35:56 +09:00
Jeong YunWon
7bbc729477
BufferedIO.read avoid clone
2020-08-03 02:02:31 +09:00
Noah
3d5ea1b38d
Merge pull request #2060 from skinny121/zlib_decompress
...
Fix zlib decompression
2020-08-02 09:48:47 -05:00
Yi Hyunjoon
d9f507e4a3
Add target_is_directory parameter for symlink function
2020-08-02 17:52:37 +09:00
Jeong YunWon
2c86359051
Merge pull request #2045 from Lynskylate/feature-symtable
...
Add is_imported and is_annotation for symtable
2020-08-02 17:42:51 +09:00
Ben Lewis
43434d8559
Fix zlib decompress
2020-08-02 19:49:57 +12:00
lynskylate
31061b0464
Optimize code
2020-08-02 15:11:08 +08:00
Basix
43e6837ddb
Rename os_chmod to chmod
2020-08-02 14:01:55 +09:00
Basix
639d21acc9
Implement os.chmod on Windows
2020-08-02 13:44:42 +09:00
Ben Lewis
e9a2944138
Fix clippy warnings
2020-08-02 07:22:05 +12:00
Ben Lewis
e90e2bfc6e
Implement string module.
2020-08-02 07:22:05 +12:00
lynskylate
07476a24fc
Fix is namespace
2020-08-02 02:52:07 +08:00
lynskylate
7d8ab3dda7
Merge remote-tracking branch 'origin/master' into feature-symtable
2020-08-02 02:31:09 +08:00
Jeong YunWon
0a8df91274
Merge pull request #2048 from BasixKOR/os-waitpid-windows
...
Implement os.waitpid on Windows
2020-08-02 00:41:15 +09:00
Jeong YunWon
55e97af2f4
Merge pull request #2054 from BolunThompson/str_dis
...
Change dis.dis to take strings to decompile
2020-08-02 00:40:57 +09:00
Basix
cf9370a240
Implement os.waitpid on Windows
2020-08-02 00:17:50 +09:00
Jeong YunWon
8dccb60419
Merge pull request #2041 from youknowone/os-module
...
Reorganize os module
2020-08-01 23:59:11 +09:00
Bolun Thompson
33808e623c
Added support for strings to dis.dis
...
Currently, the dis module's dis function only accepts functions tp
decompile. This adds support for disassembling strings. It does this by
compiling the string, then disassembling compiled output.
2020-08-01 07:21:28 -07:00
Jeong YunWon
5c9de57ed9
Apply suggestions from code review
2020-08-01 04:40:12 +09:00
Jeong YunWon
58990cbbaf
Apply suggestions from code review
2020-08-01 04:39:26 +09:00
Yiqun Ling
12df480cc9
Apply suggestions from code review
...
Co-authored-by: Jeong YunWon <youknowone@users.noreply.github.com >
2020-08-01 01:29:11 +08:00
Basix
141eba5be2
Implement msvcrt.SetErrorMode
2020-08-01 00:15:06 +09:00
lynskylate
96a0ea9487
Merge remote-tracking branch 'origin/master' into feature-symtable
2020-07-31 02:12:41 +08:00
lynskylate
8a6ac64f03
Introduce symtable test and add is_annotation for symbol
2020-07-31 02:11:00 +08:00
clemado1
123eefd87f
Allow None parameter for remove, index, count method of array
2020-07-30 10:36:53 +09:00
Jeong YunWon
64f4f14e00
Reorganize os module
2020-07-30 06:15:41 +09:00
Ben Lewis
30a774e143
Code review changes.
2020-07-29 19:37:55 +12:00
Ben Lewis
ddb9606544
Unmark fixed tests in test_urlparse.py, and fix clippy error.
2020-07-29 19:05:40 +12:00
Ben Lewis
9da9b92633
Fix some cgi tests and mark some other as expected failures.
2020-07-29 19:05:40 +12:00
Minjun Shin
e20a7673e3
os.execv implementation for unix systems
...
Uses nix::unistd::execv for implementation.
2020-07-29 13:09:27 +09:00
Noah
fa2d6175c5
Fix flat_option->flatten merge 😬
2020-07-28 13:16:05 -05:00
Noah
a7d81f76ba
Merge pull request #2038 from youknowone/flatten
...
flat_option -> flatten
2020-07-28 13:08:07 -05:00
Jeong YunWon
1a653562b8
flat_option -> flatten
...
by following std::option::Option
2020-07-29 02:05:48 +09:00
Jeong YunWon
1aa17c8013
Merge pull request #1999 from skinny121/groupby
...
Add itertools.groupby
2020-07-28 18:57:43 +09:00
Noah
0221b460b1
Merge pull request #2032 from ohgree/typo
...
os.rs - Minor typo fix for panic! macro
2020-07-27 16:57:38 -05:00
Minjun Shin
03e7825ace
Minor typo fix for panic! macro
2020-07-28 06:13:51 +09:00
Ben Lewis
73a2b74a06
Code review changes.
2020-07-27 12:43:06 +12:00
Ben Lewis
2d6a1af8e2
Fix/mark itertools tests.
2020-07-27 12:42:44 +12:00
Ben Lewis
c74eb6c9a2
Implement itertools.groupby
2020-07-27 12:39:33 +12:00
Jeong YunWon
84b5475d4c
obj::objbyteinner::PyByteInner -> bytesinner::PyBytesInner
2020-07-27 08:38:53 +09: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
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
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