coolreader18
86535bbfbf
Add ANY_TRIGGERED shortcut
2019-08-25 13:05:25 -05:00
coolreader18
6faf2637b4
Move NSIG, reorganize prompt stuff
2019-08-25 12:50:05 -05:00
coolreader18
0d492e7875
Raise a KeyboardInterrupt on a SIGINT
2019-08-23 16:57:39 -05:00
Windel Bouwman
89a97b66ad
Merge pull request #1290 from mpajkowski/int_fix
...
Fix panics with int()
2019-08-23 17:12:33 +02:00
Noah
e0de5fc139
Merge pull request #1314 from youknowone/bool-real
...
bool.real
2019-08-22 09:13:43 -05:00
Jeong YunWon
0327428aa5
bool.real
2019-08-22 13:57:44 +09:00
Marcin Pajkowski
6d618c5e5a
Add changes suggested by @seeturtle
...
+ Add tests covering those changes
2019-08-20 06:11:59 +02:00
Marcin Pajkowski
5e37adcf68
Apply review comments
2019-08-20 06:11:59 +02:00
Marcin Pajkowski
3f3fa2e5af
Fix panics with int()
...
+ add automatic radix detection based on given literal
if optional arg base is set to 0 (CPython behavior)
+ tolerate underscore separators
2019-08-20 06:11:59 +02:00
coolreader18
a4d92cbac0
Fix os.chmod not defined on windows
2019-08-19 14:30:10 -05:00
Noah
49949aa2f9
Merge pull request #1271 from suewoon/os-chmod
...
Add os.chmod
2019-08-19 11:58:07 -05:00
suewoon
7397f312e3
Fix: match on a boolean expression, change import
2019-08-20 01:09:38 +09:00
suewoon
44806620fc
Put os_chmod under #[cfg(unix)] attribute
2019-08-20 00:32:21 +09:00
suewoon
648d7e3250
Add os.chomd
2019-08-20 00:31:15 +09:00
Windel Bouwman
291ffd2671
Add support for ascii formatting of f-strings.
2019-08-19 11:27:13 +02:00
Jeong YunWon
32861cee46
Add slice support for PyTimeStructure
2019-08-19 14:43:00 +09:00
Jeong YunWon
82d6fc81ff
PySliceableSequence return type can be non-Self sequence
2019-08-19 14:43:00 +09:00
Jeong YunWon
27ab455e46
Add time.struct_time.isdst
2019-08-19 06:00:49 +09:00
Jeong YunWon
4a30090311
Fix int.__mod__ or negative
2019-08-19 02:57:38 +09:00
Windel Bouwman
03606d5f33
Merge pull request #1296 from corona10/gh-1295
...
use getgroups(2) for apple macos.
2019-08-18 11:12:12 +02:00
Dong-hee Na
ea5efdbcde
use getgroups(2) for apple macos
...
Although nix-rust/nix mentioned that this feature should be implemented
based on opendirectoryd, CPython implemented it based on getgroups(2)
for apple macOS.
So I ported the code from nix-rust/nix and it works well.
ref0: 500036a206/src/unistd.rs (L1320)
ref1: c4cacc8c5e/Modules/posixmodule.c (L6852)
2019-08-18 17:10:30 +09:00
Windel Bouwman
5e31459514
Merge pull request #1297 from mpajkowski/math_modf
...
Add math.modf
2019-08-18 09:14:52 +02:00
Windel Bouwman
f229831629
Merge pull request #1251 from RustPython/scope-detection
...
Extend AST python module. Add idea for scope detection.
2019-08-18 09:14:20 +02:00
Windel Bouwman
4ab043ddf5
Merge pull request #1291 from RustPython/get-item-performance
...
Increase performance for get_item_option.
2019-08-18 09:12:46 +02:00
Marcin Pajkowski
c4db8d6538
Add math.modf function
2019-08-17 23:14:53 +02:00
Windel Bouwman
f9511a6636
Merge pull request #1294 from corona10/itertools_filterfalse
...
itertools: Implement itertools.filterfalse
2019-08-17 17:18:21 +02:00
Windel Bouwman
b6f522d917
Allow &str to be used a dictionary key.
2019-08-17 17:11:23 +02:00
Dong-hee Na
6dbc6b437b
itertools: Implement itertools.filterfalse
2019-08-17 19:32:49 +09:00
Windel Bouwman
e3344df00e
Merge pull request #1289 from Lynskylate/add-super-str
...
Add __str__ __repr__ for super
2019-08-17 09:47:14 +02:00
coolreader18
ebeda0de64
Simplify os.access a bit
2019-08-16 23:18:40 -05:00
Noah
21754a0000
Merge pull request #1277 from Nimpruda/implement-os-access
...
[WIP]Implement os access
2019-08-16 16:59:08 -05:00
Khalil HADJI
c9112d851b
Removed forgottent derive Debug
2019-08-16 23:18:12 +02:00
Khalil HADJI
598d844d34
cargo clippy
2019-08-16 23:16:07 +02:00
Khalil HADJI
69aa5d00d0
Working version without F_OK
2019-08-16 23:14:08 +02:00
Windel Bouwman
d1f4412c09
Increase performance for get_item_option.
2019-08-16 22:07:54 +02:00
Windel Bouwman
1f1a29cff2
Merge pull request #1288 from Writtic/module_ldexp
...
Update ldexp module of math
2019-08-16 20:50:05 +02:00
lynskylate
a0ee8114f0
Add __repr__ __str__ for super
2019-08-17 01:17:25 +08:00
johan.park
c8d8acdcdf
Fix TypeError issue
...
- Using python reference type instead of arg_check
- Add TypeError assertion on test case
- Add TypeError assertion of frexp method
2019-08-17 00:44:00 +09:00
Khalil HADJI
8deb0499a4
Added a function that returns the right permissions
2019-08-16 17:38:18 +02:00
Khalil HADJI
30b8124089
Structure to represent file permissions and functions for parsing
2019-08-16 17:11:18 +02:00
Khalil HADJI
91c5353f5c
os.access is a unix only feature for the moment
2019-08-16 17:05:06 +02:00
Khalil HADJI
e4452d0325
Put AccesFlags in a struct
2019-08-16 17:02:21 +02:00
johan.park
20cb32bf1a
Fix code for rustfmt and clippy
2019-08-16 23:10:13 +09:00
johan.park
b38a280ea1
Update ldexp module of math
2019-08-16 23:03:55 +09:00
Windel Bouwman
a90001edc2
Merge pull request #1287 from ChJR/feature/reduce_payload_occurrence/int
...
Reduce payload occurrence of int
2019-08-16 13:48:51 +02:00
Windel Bouwman
1e3ab21055
Merge pull request #1286 from kluid/deprecated_fix
...
fixed deprecated inclusive range syntax '...' to '..='
2019-08-16 13:47:48 +02: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
ChJR
deb716df75
Change inner int methods without direct access to payload.
2019-08-16 17:51:54 +09:00
Noah
c06928cc84
Merge pull request #1283 from corona10/imghdr
...
Implement FileIO.read with nbytes and importing modified imghdr.py
2019-08-16 03:42:11 -05:00
kluid
a8f3ba0d1f
fixed deprecated syntax 'inclusive range' in zlib.rs to .
2019-08-16 17:37:24 +09:00