Commit Graph

1730 Commits

Author SHA1 Message Date
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
coolreader18
1612c954a1 Add weakproxy test 2019-04-14 20:14:54 -05:00
coolreader18
cc76bf7a1f Add weakproxy class 2019-04-14 20:09:43 -05:00
Darren Kaste
a8e064b1c0 Import TypeProtocol before use in type_check! 2019-04-14 17:19:44 -04:00
Darren Kaste
daaeb78831 Prefix helper macro calls with $crate 2019-04-14 17:08:35 -04:00
Joey
79623f4e7a str: proper titlecase support 2019-04-14 12:23:09 -07:00
Aviv Palivoda
2ffd1c9484 Fix typo 2019-04-14 20:39:28 +03:00
Aviv Palivoda
b6ce407391 Remove else and finally from in_exc_handler 2019-04-14 19:06:21 +03:00
Aviv Palivoda
aec7f84960 Print exception context 2019-04-14 18:55:29 +03:00
Aviv Palivoda
3ec9b01928 Add exception __context__ 2019-04-14 18:54:43 +03:00
Aviv Palivoda
2c2925a684 Support reraise 2019-04-14 18:54:43 +03:00