Aviv Palivoda
218cec98cb
Add KeyError to builtins
2019-02-19 21:38:39 +02:00
Windel Bouwman
ac95b61e3e
Merge pull request #496 from adrian17/arg_check_comments
...
Document arg_check! macro a bit
2019-02-19 17:42:47 +01:00
Adrian Wielgosik
e016b68552
Document arg_check! macro a bit
2019-02-18 19:59:28 +01:00
Windel Bouwman
fcea8455fa
Merge pull request #473 from janczer/add_list_copy
...
Add copy method to set object
2019-02-18 10:50:20 +01:00
Windel Bouwman
16832c8f8c
Merge pull request #479 from calixteman/fix_equality
...
Fix issue with equality
2019-02-18 10:49:36 +01:00
Windel Bouwman
43d9fc5dc0
Merge branch 'master' into fix_equality
2019-02-18 08:12:12 +01:00
Windel Bouwman
a47e979f29
Merge branch 'master' into add_list_copy
2019-02-18 08:08:31 +01:00
Windel Bouwman
70d5cdbe3e
Merge pull request #492 from OddCoincidence/inplace-ops
...
Support magic methods for in-place operations
2019-02-18 08:05:59 +01:00
Windel Bouwman
71f32ee9b0
Merge pull request #491 from calixteman/fix_ccov_badge
...
Fix typo in codecov.io badge
2019-02-18 07:58:32 +01:00
Joey Hain
ddc7da4a9d
Add test for in-place ops
2019-02-17 18:17:26 -08:00
Joey Hain
afabde26d5
coverage: try deleting old gcda files
2019-02-17 17:18:47 -08:00
Joey Hain
7abaea556a
Micro-optimize list.__iadd__
2019-02-17 14:30:38 -08:00
Joey Hain
dcb29ab1f0
Add list.__iadd__
2019-02-17 10:54:25 -08:00
Joey Hain
b310d5e24b
Use i-methods for in-place operations
2019-02-17 10:47:58 -08:00
Joey Hain
fe3f45f655
Implement remaining binop reverse fallbacks
2019-02-17 09:26:31 -08:00
Calixte Denizet
b61730972e
Fix typo in codecov.io badge
2019-02-17 17:07:49 +01:00
Windel Bouwman
1af9cc0173
Merge pull request #489 from OddCoincidence/decorator-paths
...
Allow attributes to be used as decorators
2019-02-17 08:01:25 +01:00
Windel Bouwman
cb2a807994
Merge pull request #486 from OddCoincidence/assert-raises
...
Reuse and improve ergonomics of assert_raises utility
2019-02-17 07:59:34 +01:00
Windel Bouwman
9d218bf806
Merge pull request #485 from calixteman/ccov
...
Code coverage for RustPython
2019-02-17 07:56:58 +01:00
Windel Bouwman
a92f4bbecc
Merge pull request #487 from liranringel/azure-pipelines
...
Add Windows CI via Azure Pipelines
2019-02-17 07:54:31 +01:00
Joey Hain
114d9df1d1
Allow attributes to be used as decorators
2019-02-16 19:43:25 -08:00
Calixte Denizet
6d646cc38e
Add a codecov badge
2019-02-16 18:33:45 +01:00
Joey Hain
47e95486f0
Reuse and improve ergonomics of assert_raises utility
...
- Move assert_raises to testutils
- Add optional message argument, with reasonable default
- Reverse order of expr and exception type for readability
- Lambda argument no longer takes parameter
- Convert applicable snippets to use assert_raises
2019-02-16 09:32:42 -08:00
Liran Ringel
9b7160800b
Fix os_info.py to pass on windows
2019-02-16 19:23:33 +02:00
Calixte Denizet
e86e108e67
Don't run tests in --release with code coverage
2019-02-16 18:19:52 +01:00
Liran Ringel
2554174697
Set up CI with Azure Pipelines
2019-02-16 18:34:45 +02:00
Calixte Denizet
31c5b5ed3d
Workaround issue with grcov
2019-02-16 17:30:05 +01:00
Calixte Denizet
ce541a1ca5
Remove parenthesis
2019-02-16 15:55:41 +01:00
Calixte Denizet
1e3c2fbf18
Try again
2019-02-16 15:28:43 +01:00
Calixte Denizet
90184bcb90
Code coverage for RustPython
2019-02-16 14:54:29 +01:00
Calixte Denizet
5a154f9745
Fix list & tuple equality
2019-02-16 14:23:20 +01:00
Calixte Denizet
93c184a745
Fix fmt
2019-02-16 13:25:13 +01:00
Calixte Denizet
dd6b5b9aae
Fix list_eq
2019-02-16 13:15:58 +01:00
Calixte Denizet
117c6c8494
Fix list_remove
2019-02-16 13:00:39 +01:00
Calixte Denizet
5d82e2c6b5
Fix equality check in list_count, list_index and list_contains
2019-02-16 12:45:57 +01:00
Calixte Denizet
bf19d652dc
Fix issue with equality
2019-02-16 12:45:57 +01:00
Windel Bouwman
159daf061a
Change scope from using set_item to set_attr.
2019-02-16 11:18:55 +01:00
Windel Bouwman
163a1311f7
Merge pull request #470 from janczer/add_remove_list
...
Add remvoe to list object
2019-02-16 10:27:27 +01:00
Windel Bouwman
26f9a7fe1a
Merge pull request #483 from OddCoincidence/f-string-format-specs
...
Support format specs in f-strings
2019-02-16 08:35:21 +01:00
Windel Bouwman
eb55d20b4a
Merge pull request #480 from janczer/fix_clippy_issues
...
Remove return, use function without closure
2019-02-16 08:31:26 +01:00
Windel Bouwman
ec6dc7ca4a
Merge pull request #481 from evilpie/discard
...
implement set.discard
2019-02-16 08:30:57 +01:00
Windel Bouwman
0a70852b3f
Merge pull request #478 from silmeth/int-division
...
big Integers division
2019-02-16 08:22:29 +01:00
Joey Hain
134c3b94a5
support format specs in f-strings
2019-02-15 18:18:44 -08:00
Joey Hain
5968c4d922
convert f-string parser to state machine
2019-02-15 18:14:33 -08:00
Ryan Liddle
7364866a8a
Merge pull request #477 from RustPython/dict7
...
Remove support for module get_item
2019-02-16 11:11:52 +11:00
Tom Schuster
4762d654b4
implement set.discard
2019-02-15 20:46:00 +01:00
janczer
b9daabfc94
Remove return, use function without closure
2019-02-15 20:43:20 +01:00
janczer
c1f6d16079
Change iterator to for loop
2019-02-15 20:33:41 +01:00
silmeth
4a67bb9797
stop dividing the divisor if the remainder already disappeared
2019-02-15 20:08:28 +01:00
janczer
4726d6b8b0
Remove unwrap methods
2019-02-15 20:01:02 +01:00