Commit Graph

1740 Commits

Author SHA1 Message Date
Adam
6f04bebae5 Merge pull request #866 from RustPython/dict_popitem
dict.popitem & dict.setdefault
2019-04-25 09:06:28 +01:00
Adam Kelly
1c43a6bfbe Add dict.setdefault. 2019-04-25 08:04:54 +01:00
Adam Kelly
ceac014a6c Add dict.popitem. 2019-04-25 08:04:24 +01:00
ben
d84b8b52a5 Fix the tuple from rpartition being in wrong order when sub isn't
contained within the string
2019-04-25 10:37:59 +12:00
Windel Bouwman
86acb7aa3a Merge pull request #860 from palaviv/os-stat
Add os.stat
2019-04-24 09:27:21 +02:00
Jeong YunWon
1d5adc4353 Add built-in dict.pop 2019-04-23 10:34:06 +09:00
Aviv Palivoda
55bd00b600 Add stat_result.{st_size} 2019-04-22 18:52:35 +03:00
Aviv Palivoda
56958552f4 Add stat_result.{st_nlink, st_uid, st_gid} 2019-04-22 18:47:10 +03:00
Aviv Palivoda
9a1caa08c3 Add stat_result.{st_ino, st_dev} 2019-04-22 18:35:38 +03:00
Aviv Palivoda
384bf5b545 Add os.stat 2019-04-22 18:27:39 +03:00
coolreader18
9e54dbef7c Merge pull request #856 from palaviv/socket-new-args
Convert socket to new args style
2019-04-21 19:00:37 -05:00
Aviv Palivoda
cb32201904 Add Address 2019-04-22 00:18:19 +03:00
Windel Bouwman
adb66322c5 Merge pull request #852 from palaviv/scandir
Add os.scandir
2019-04-21 18:56:29 +02:00
coolreader18
d55d8841ad Merge pull request #854 from sanxiyn/delete-tuple
Implement deleting tuples
2019-04-21 11:47:46 -05:00
Seo Sanghyeon
87f9a8e634 Implement deleting tuples 2019-04-21 23:48:13 +09:00
Aviv Palivoda
b61cd6f011 Simplify return values 2019-04-21 17:44:41 +03:00
Aviv Palivoda
1f73393255 Move more socket methods to new arg style 2019-04-21 17:35:20 +03:00
Aviv Palivoda
9954361df9 Move more socket methods to new arg style 2019-04-21 17:28:41 +03:00
Aviv Palivoda
206ba4dbfb Change socket to new args style 2019-04-21 17:20:33 +03:00
Aviv Palivoda
3986e2f87d Add set.isdisjoint 2019-04-21 16:41:36 +03:00
Aviv Palivoda
64e6ea0016 Add DirEntry.{is_file} 2019-04-21 12:06:49 +03:00
Aviv Palivoda
548f3f34c4 Add DirEntry.{is_dir} 2019-04-21 12:04:12 +03:00
Aviv Palivoda
858a6d03b0 Add DirEntry.{name, path} 2019-04-21 11:42:57 +03:00
Aviv Palivoda
3828652da6 Add os.scandir 2019-04-21 11:17:36 +03:00
Windel Bouwman
3afb5d39ed Merge pull request #850 from palaviv/socket-fileno
Socket.fileno
2019-04-20 14:36:05 +02:00
Joey
01f143ec7b Merge pull request #832 from RustPython/joey/proper-titlecase
str: proper titlecase support
2019-04-19 17:05:12 -07:00
coolreader18
ac3cfca0fa Fix callable (again) 2019-04-19 12:04:22 -05:00
coolreader18
cf5e106748 Fix is_callable 2019-04-19 11:43:24 -05:00
Joey
ae8ea1d060 Merge remote-tracking branch 'origin/master' into joey/proper-titlecase 2019-04-19 09:27:00 -07:00
Joey
29ea307f4c unicode-casing: specify rev explicitly, add todo comment 2019-04-19 09:26:24 -07:00
coolreader18
a6f3b9a5ff Add PyCallable 2019-04-19 10:14:57 -05:00
coolreader18
2a74e48d98 Add vm.is_callable 2019-04-19 10:10:56 -05:00
Aviv Palivoda
2bc72dae9f Move fileno logic to Connection impl 2019-04-19 16:10:55 +03:00
Aviv Palivoda
e7b059ed9c Add socket.fileno for windows 2019-04-19 16:00:00 +03:00
Aviv Palivoda
cf0a920743 Add socket.fileno for unix 2019-04-19 15:50:06 +03:00
Windel Bouwman
ae7058ffa8 Merge pull request #842 from RustPython/benchmarking
Add some benchmark scripts.
2019-04-18 07:05:25 +02:00
Windel Bouwman
eb16f16566 Improve syntax error with line information. 2019-04-17 20:02:24 +02:00
Adam
615a121200 Merge pull request #841 from RustPython/mutual-import
Support mutual importing modules.
2019-04-17 15:09:23 +01:00
Windel Bouwman
84457e6e92 Add some benchmark scripts. 2019-04-17 15:04:50 +02:00
Windel Bouwman
2a8b586622 Fix caching of rust modules. 2019-04-17 14:03:18 +02:00
Windel Bouwman
240c1e42db Merge pull request #839 from RustPython/nonlocal
Add nonlocal support.
2019-04-17 14:02:04 +02:00
Windel Bouwman
6d1b807c77 Improve error message of unwrap operation on nonlocal scope. 2019-04-17 12:59:56 +02:00
Windel Bouwman
06563a36f6 Support mutual importing modules. 2019-04-17 12:33:09 +02:00
ben
9b71424d4e Use slice.xxx_index() methods in setslice and delslice 2019-04-17 20:02:08 +12:00
ben
f2873a519d Merge branch 'master' into slice_new
# Conflicts:
#	tests/snippets/builtin_slice.py
#	vm/src/frame.rs
#	vm/src/obj/objrange.rs
#	vm/src/obj/objslice.rs
2019-04-17 19:44:46 +12:00
Windel Bouwman
6abf1511e9 Add nonlocal support. 2019-04-16 17:19:57 +02:00
coolreader18
08babef619 Remove the __inside_vm hack for procedural macros 2019-04-15 20:24:16 -05:00
Windel Bouwman
78db5ea311 Merge pull request #835 from RustPython/coolreader18/weakproxy
Add weakproxy
2019-04-15 17:35:04 +02:00
Adam Kelly
dfbaf3cdf0 Remove pub from PyDict.entries (easy TODO) 2019-04-15 13:25:04 +01:00
Adam Kelly
c9b479c43b Guard for changes in dictionary size during iteration. 2019-04-15 13:25:04 +01:00