Noah
bc121d791a
Merge pull request #1682 from RustPython/coolreader18/compare_digest
...
Add _operator._compare_digest
2020-01-25 12:20:08 -06:00
Aviv Palivoda
32d544d41a
Merge pull request #1699 from palaviv/splitlines-keepends
...
Support keepends in Str.splitlines
2020-01-25 17:06:43 +02:00
Aviv Palivoda
8bf0d93bb2
Refactor string.splitlines
2020-01-24 22:53:44 +02:00
Aviv Palivoda
ad4beab6f6
fix line continuation parsing
2020-01-24 21:50:19 +02:00
Aviv Palivoda
4a9e87b80d
Support keepends in Str.splitlines
2020-01-24 12:58:51 +02:00
Noah
5b02a96192
Merge pull request #1696 from alvinlindstam/string-performance
...
String performance
2020-01-20 13:06:39 -06:00
Alvin Lindstam
59666f7e0f
Make string iterator test include non-ascii
2020-01-19 15:48:43 +01:00
Jeong YunWon
655834d578
Merge pull request #1678 from youknowone/object-cmp
...
__eq__ and __ne__ compatibility
2020-01-18 19:26:45 +09:00
Alvin Lindstam
7c57085281
Improve test check for windows platform
...
`'win' in sys.platform` returns true on MacOS, since it's platform string
is `"darwin"`. This was likely not intended, since the check seems to be testing for
a windows platform, and was the only test error on a clean master build for me.
2020-01-15 21:59:27 +01:00
Jeong YunWon
c4d1ad346b
Merge pull request #1679 from corona10/math_nextafter
...
math: Implement math.nextafter
2020-01-13 20:18:16 +09:00
coolreader18
0418cc7790
Add _operator._compare_digest
2020-01-12 22:57:19 -06:00
Dong-hee Na
1de9b1a41d
math: Implement math.nextafter
2020-01-13 02:03:02 +09:00
Jeong YunWon
947c4fe703
Merge pull request #1608 from cclauss/patch-2
...
Travis CI: Matrix -> jobs and Python 3.6 to 3.8
2020-01-12 23:58:55 +09:00
Jeong YunWon
81d36a1f1d
__eq__ and __ne__ compatibility
2020-01-12 18:33:58 +09:00
coolreader18
a26e5f23f8
Add dict iterator __length_hint__
2020-01-10 18:24:23 +00:00
Noah
7d40f45ff5
Add list iter __length_hint__ tests
2020-01-10 11:38:12 -06:00
Jeong YunWon
5389ab02ba
more types for whats_left.sh
2020-01-08 21:21:40 +09:00
Jeong YunWon
a47defc8cb
whats_left prints inherited but unimplemented attrs
2020-01-08 20:55:35 +09:00
Jeong YunWon
bb9d09baaf
bad int test snippet
2020-01-08 11:54:30 +09:00
Jeong YunWon
5a3937fd15
Refactor deque and fix comparison bug
2020-01-08 02:20:41 +09:00
Aviv Palivoda
a3293a7f21
Merge pull request #1662 from doyshinda/impl_percent_format_for_int
...
Implement the '%' string format code for integers
2020-01-05 19:08:08 +02:00
coolreader18
7d3f34144d
Add tests
2020-01-05 00:20:00 -06:00
Abe
6a1580141b
Implement the '%' string format code for integers
2020-01-04 19:54:54 -07:00
Abe
765089d560
Add support for the % format code for floats.
...
Contributes to #1656
2020-01-03 16:14:24 -07:00
Jeong YunWon
e84ecafecd
bump up num-bigint to 0.2.4 to fix modpow
2020-01-02 17:00:09 +09:00
Abe
30473d3058
Add support for string formatting of floats with ":f" format code
...
Also adds automatic conversion of int -> float when the ":f"
format code is specified.
Fixes a f-string formatting style regression introduced in #1625 .
2019-12-31 18:52:46 -07:00
Noah
deee1f7df7
Merge pull request #1644 from RustPython/coolreader18/exc-cleanup
...
Use PyBaseExceptionRef in places where we expect exceptions
2019-12-29 17:17:26 -05:00
coolreader18
d4261cafa3
Add new test for cause
2019-12-27 11:22:53 -06:00
Aviv Palivoda
6698fdee12
Add TODO for spec validation
2019-12-27 10:19:07 +02:00
Aviv Palivoda
c3703f08d7
Support expression in f-strings spec
2019-12-27 10:19:07 +02:00
Daniel Alley
4bbca2bed2
Add itertools.combinations_with_replacement()
2019-12-26 00:21:53 -05:00
Daniel Alley
bf82caed4b
Implement itertools.chain.from_iterable()
2019-12-25 10:33:23 -05:00
Daniel Alley
7be477a091
Add itertools.cycle()
2019-12-24 20:13:50 -05:00
Daniel Alley
5ae7e99cde
Add permutations implementation
2019-12-24 00:55:46 -05:00
Daniel Alley
f32fe9dcb8
Fix combinations implementation
2019-12-24 00:23:37 -05:00
Abe
325fb4c3a3
Add str.format_map method
2019-12-23 16:29:24 -07:00
Windel Bouwman
63f0d27b15
Merge pull request #1617 from RustPython/coolreader18/os-stuff
...
Fix some various issues with `os` and `binascii`
2019-12-21 12:31:59 +01:00
coolreader18
3d9f9f0172
Fix os.lseek
2019-12-16 18:33:04 -06:00
coolreader18
b410394934
Add more binascii tests
2019-12-14 15:48:48 -06:00
coolreader18
b8b094b597
Add os.isatty test
2019-12-14 15:48:48 -06:00
coolreader18
7ac8b6ee38
Add os.lseek test
2019-12-14 15:48:48 -06:00
Eunchong Yu
e671528c63
Add test cases for condensed form of hashlib usage
...
Ref: https://docs.python.org/3.6/library/hashlib.html#hash-algorithms
2019-12-14 16:02:04 +09:00
Noah
a04c19ccb0
Merge pull request #1585 from adolfogonzalez3/fixing_ceil_floor
...
Possible fix for math.ceil and math.floor
2019-12-06 16:30:58 -06:00
Adolfo Gonzalez III
1519c326d8
Added test
2019-12-06 14:17:30 -06:00
Adolfo Gonzalez III
4e4be1c40a
Removed file
2019-12-06 13:20:25 -06:00
coolreader18
516bce048a
Don't panic when we try going past the end of a generator
2019-12-03 21:39:34 -06:00
coolreader18
ea7db95a70
Have single_or_tuple_any recursively check for tuples
2019-12-03 21:39:34 -06:00
coolreader18
d4a1021473
Add support for __bytes__ method
2019-12-03 21:39:33 -06:00
coolreader18
bca6214c4f
Fix byte{s,array}.join
2019-12-03 21:39:33 -06:00
Adolfo Gonzalez III
67c7fef22e
Removed tests
2019-12-02 11:27:50 -06:00