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
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
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
silmeth
4cfd3a1cd0
get rid of unnecessary muts in objint::div_ints
2019-02-15 19:50:25 +01:00
silmeth
8ed82a089f
make big ints dividable if the result fits in a float
2019-02-15 19:43:00 +01:00
silmeth
0c626dd595
rename objstr::get_value_as_ref to objstr::borrow_value
2019-02-15 19:29:58 +01:00
Windel Bouwman
0c351ea76d
Remove support for module get_item
2019-02-15 17:30:28 +01:00
Windel Bouwman
2d22a882ae
Merge pull request #475 from palaviv/Add-set-funcs3
...
Add set.{union,intersection,difference,symmetric_difference}
2019-02-15 17:08:10 +01:00
Windel Bouwman
b785960a25
Merge pull request #461 from adrian17/arg_check_refactor
...
Refactor arg_check macro
2019-02-15 16:59:09 +01:00
janczer
9e719b6cb8
Move test to list.py
2019-02-15 16:53:36 +01:00
Windel Bouwman
a541b509a9
Merge branch 'master' into Add-set-funcs3
2019-02-15 16:53:10 +01:00
Windel Bouwman
1611aa42c1
Merge pull request #476 from palaviv/set-unhashable
...
set raises TypeError when unhashable element is passed in creation
2019-02-15 16:50:05 +01:00
Aviv Palivoda
412df7472f
set raises TypeError when unhashable element is passed in creation
2019-02-15 15:34:55 +02:00
Aviv Palivoda
49e10ed497
Add set.symmetric_difference
2019-02-15 15:13:05 +02:00
Aviv Palivoda
938688cb69
Add set.difference
2019-02-15 15:13:05 +02:00
Aviv Palivoda
23ef487927
Add set.intersection
2019-02-15 15:13:05 +02:00
Aviv Palivoda
83c4eda62c
Add set.union
2019-02-15 15:13:05 +02:00
janczer
2ac195e539
List remove, handle non exist element. Add new test
2019-02-15 08:49:58 +01:00
Windel Bouwman
48032a5110
Merge pull request #472 from OddCoincidence/int-float-rarithmetic
...
Add {int,float}.{__radd__,__rsub__,__rmul__,__rtruediv__}
2019-02-15 07:14:01 +01:00
Windel Bouwman
a2d4924909
Merge pull request #469 from janczer/fix_typos
...
Fix typos
2019-02-15 07:03:04 +01:00
Windel Bouwman
ddbd7d759f
Merge pull request #471 from OddCoincidence/fstring-fixes-and-tests
...
Fix f-string edge case and add more tests
2019-02-15 07:02:27 +01:00
Joey Hain
c6ac393f84
Add {int,float}.{__radd__,__rsub__,__rmul__,__rtruediv__}
2019-02-14 21:21:30 -08:00
Joey Hain
fb4d55bd8f
Fix f-string edge case and add more tests
2019-02-14 18:46:23 -08:00
janczer
358f9f764b
Add remvoe to list object
2019-02-14 21:18:38 +01:00
janczer
89e947a04f
Fix typos
2019-02-14 20:38:18 +01:00
Windel Bouwman
d76c86ed16
Merge pull request #468 from janczer/add_complex_real_imag
...
Add complex methods real and imag
2019-02-14 17:59:40 +01:00
janczer
2a2ddff14e
Add complex methods real and imag
2019-02-14 16:56:32 +01:00