lazylife7157
|
c3af2bb858
|
Make memoryview.__hash__() returns hash value of wrapped object
|
2019-10-05 01:41:49 +09:00 |
|
Noah
|
c8e6ca7271
|
Merge pull request #1451 from sanxiyn/optimize-buildmap
Optimize BuildMap bytecode emission
|
2019-10-03 15:48:10 -05:00 |
|
Noah
|
9c4c39aef2
|
Merge pull request #1456 from RustPython/revert-1444-fix-int-arg
Revert "Fix argument keyword error in int/float/bool.__new__"
|
2019-10-03 15:18:32 -05:00 |
|
Windel Bouwman
|
699450ddd7
|
Merge pull request #1447 from RustPython/coolreader18/type-attrs
Fix properties on `type`
|
2019-10-03 20:10:25 +02:00 |
|
Windel Bouwman
|
452e82f3a7
|
Merge pull request #1455 from RustPython/coolreader18/sre-py
Add the _sre module
|
2019-10-03 17:02:10 +02:00 |
|
Noah
|
0f50b28400
|
Merge pull request #1457 from sanxiyn/parser-panic
Do not panic in parser
|
2019-10-03 09:48:55 -05:00 |
|
coolreader18
|
936119073b
|
Add tests for type.__bases__, fix type.__bases__
|
2019-10-03 09:46:57 -05:00 |
|
Seo Sanghyeon
|
3f1009ec2c
|
Disable a Clippy warning
|
2019-10-03 20:16:40 +09:00 |
|
Seo Sanghyeon
|
bdb6208f6f
|
Do not panic in parser
|
2019-10-03 19:41:12 +09:00 |
|
coolreader18
|
8746f29d3b
|
Fix sre_compile._bytes_to_code
|
2019-10-02 22:09:31 -05:00 |
|
Noah
|
9ed825742c
|
Revert " Fix argument keyword error in int/float/bool.__new__"
|
2019-10-02 21:33:43 -05:00 |
|
coolreader18
|
e8073831f6
|
Fix _sre._Dispatcher.build_dispatch_table
|
2019-10-02 21:25:09 -05:00 |
|
coolreader18
|
877b402289
|
Fix some errors with the Python 3.6 sre modules
|
2019-10-02 20:36:03 -05:00 |
|
coolreader18
|
35e35f6930
|
Update Python sre modules to their 3.6 versions
|
2019-10-02 20:36:02 -05:00 |
|
coolreader18
|
7e7a20a653
|
Fix PyNamespace constructor
|
2019-10-02 20:32:41 -05:00 |
|
coolreader18
|
0c84de8a54
|
Make creating a PyRef<T> fallible
If the payload isn't what it should be (usually because there's no
constructor for the type), it'll throw a RuntimeError
|
2019-10-02 18:44:24 -05:00 |
|
coolreader18
|
9456d1b680
|
Add constructor to mappingproxy
|
2019-10-02 18:42:46 -05:00 |
|
Noah
|
8612ccc151
|
Rename re with the Rust regex crate to regex_crate
|
2019-10-02 20:11:48 +00:00 |
|
Noah
|
c371712c50
|
Fix some stuff for re
|
2019-10-02 20:11:19 +00:00 |
|
Noah
|
0540fc19e4
|
Add re.py, sre_{compile,constants,parse}.py from CPython 3.0
|
2019-10-02 20:10:03 +00:00 |
|
Noah
|
015cbc2bb1
|
Add _sre.py from nikhaldi/_sre.py
|
2019-10-02 20:09:33 +00:00 |
|
Noah
|
d047dc0bd1
|
Merge pull request #1444 from lntuition/fix-int-arg
Fix argument keyword error in int/float/bool.__new__
|
2019-10-02 12:14:19 -05:00 |
|
Windel Bouwman
|
339e44fb5c
|
Merge pull request #1420 from lntuition/fix-1408
Fix int type casting errors
|
2019-10-02 17:27:54 +02:00 |
|
Seo Sanghyeon
|
e4ec430896
|
Optimize BuildMap bytecode emission
|
2019-10-03 00:03:08 +09:00 |
|
Sang-Heon Jeon
|
49577e0713
|
Merge branch 'master' into fix-int-arg
|
2019-10-02 15:19:01 +09:00 |
|
lntuition
|
a07daf322f
|
Fix argument keyword error in bool.__new__
Add BoolArgs struct to fix argument keyword error in bool.__new
|
2019-10-02 15:13:45 +09:00 |
|
lntuition
|
02135be992
|
Add testcase for bool.__new__
Add testcase for bool.__new__
|
2019-10-02 15:13:45 +09:00 |
|
lntuition
|
a209169d9c
|
Fix argument keyword error in float.__new__
Add FloatArgs struct to fix argument keyword error in float.__new
|
2019-10-02 15:13:45 +09:00 |
|
Noah
|
904959b0b7
|
Add builtinfunc.__call__
|
2019-10-01 19:15:29 -05:00 |
|
Noah
|
d9cdb32e49
|
Merge pull request #1441 from dralley/fix-strings
Handle unicode indexing by character, not by grapheme
|
2019-10-01 19:01:41 -05:00 |
|
Noah
|
a129080560
|
Don't forward all type properties to type_type
|
2019-10-01 21:54:12 +00:00 |
|
Noah
|
57ab07deb1
|
Merge pull request #1445 from dralley/version_info
Change sys.version* attributes to return the Python version
|
2019-10-01 16:35:58 -05:00 |
|
Noah
|
c38df6994c
|
Add type.__bases__ property
|
2019-10-01 21:24:23 +00:00 |
|
Noah
|
418addcffa
|
Fix properties on the type type
|
2019-10-01 21:23:17 +00:00 |
|
Daniel Alley
|
a6bf19e549
|
Change sys.version* attributes to return the Python version
Return the version of Python that we attempt to be compatible with, not
the version numbers of the RustPython interpreter itself.
closes #1396
|
2019-10-01 16:12:45 -04:00 |
|
Daniel Alley
|
02ea0b629f
|
Handle unicode indexing by character, not by grapheme
Python isn't grapheme aware, so for compatibility sake, we shouldn't be
either.
closes #1417
|
2019-10-01 12:37:16 -04:00 |
|
Noah
|
36a4e107d7
|
Merge pull request #1414 from RustPython/coolreader18/enum-module
Fix weirdness with type.__new__()/type()/metaclass.__new__() in order to support enum
|
2019-10-01 07:26:31 -05:00 |
|
Jeong YunWon
|
9ad862c753
|
Merge pull request #1443 from HyeockJinKim/iss1431
Implement __eq__, __ne__ of slice
|
2019-10-01 15:19:05 +09:00 |
|
HyeockJinKim
|
246cb81ebe
|
Add tests for slice.__eq__ and slice.__ne__
|
2019-10-01 14:39:27 +09:00 |
|
HyeockJinKim
|
cc8f221c67
|
Implement __eq__, __ne__ of slice
Compute __eq__ and __ne__ by comparing start,
stop and step of slice
Issue #1431
|
2019-10-01 14:39:21 +09:00 |
|
Aviv Palivoda
|
da17726a90
|
Merge pull request #1380 from mpajkowski/os_scandir_contextmanager
os.scandir refinement
|
2019-09-30 23:53:33 +03:00 |
|
lntuition
|
9cee128c6f
|
Add testcase for float.__new__
Add testcase for float.__new__
|
2019-09-30 21:45:32 +09:00 |
|
lntuition
|
17ef308785
|
Fix argument keyword error in int.__new__
Change property name and attributes of IntOptions
Fixed: #1440
|
2019-09-30 21:45:32 +09:00 |
|
lntuition
|
af0f03cdc6
|
Add testcase for int.__new__
Add testcase for int.__new__
|
2019-09-30 20:31:59 +09:00 |
|
coolreader18
|
7780337f72
|
Add mappingproxy.get tests
|
2019-09-29 23:32:51 -05:00 |
|
coolreader18
|
78069284a8
|
Only have type_new on object
|
2019-09-29 23:22:59 -05:00 |
|
Noah
|
d22cac2dd8
|
Rename new slots to tp_new
|
2019-09-29 23:14:37 -05:00 |
|
Noah
|
2bb04f4836
|
Don't try to put __new__ on every type
|
2019-09-29 23:14:37 -05:00 |
|
coolreader18
|
b581975ef6
|
Fix clippy lints
|
2019-09-29 23:14:36 -05:00 |
|
coolreader18
|
c46b5b50bd
|
Fix weirdness with type.__new__()/type()/metaclass.__new__()
|
2019-09-29 23:14:31 -05:00 |
|