Aviv Palivoda
2edba36de7
Allow skipping of unknown modules
2019-07-04 23:58:01 +03:00
Maxim Kurnikov
9ce5240598
add name, path, msg attributes to ImportError
2019-07-03 22:18:49 +03:00
coolreader18
f34f16b2cc
Merge pull request #1095 from RustPython/coolreader18/whats_left-modules
...
Add module listing to whats_left.sh
2019-07-03 12:58:09 -05:00
Maxim Kurnikov
8162b87a00
Do not pollute stack when if-expression condition evaluated to False
2019-07-03 16:13:16 +03:00
coolreader18
3668250c12
Show module attributes missing
2019-07-01 14:21:29 -05:00
Windel Bouwman
4a108c1ef5
Merge pull request #1059 from RustPython/unicodedata
...
Add initial unicodedata module.
2019-07-01 20:44:14 +02:00
coolreader18
f8cf39ebbb
Change sys.path in not_impl_gen.py
2019-07-01 13:20:04 -05:00
coolreader18
982b2f2c14
Add comment to not_impl_gen.py
2019-07-01 13:11:43 -05:00
coolreader18
307990d5de
Add module listing to whats_left.sh
2019-07-01 13:06:45 -05:00
coolreader18
fbd0c599a9
Merge pull request #1074 from JimJeon/feature/rmod
...
Implement int.__rmod__
2019-06-30 20:33:15 -05:00
Windel Bouwman
13be2cf3f4
Merge master branch
2019-06-30 21:22:33 +02:00
silmeth
5dddd02bca
improve (de)serialization: no crash on BigInts, non-string map keys
2019-06-30 16:10:58 +02:00
Windel Bouwman
a332b74ad8
Merge pull request #1064 from RustPython/cryptomods
...
Add initial hashlib module.
2019-06-30 10:58:49 +02:00
Windel Bouwman
f0492eefb2
Merge pull request #1084 from silmeth/int-float-comparison
...
fix float–int cross-type comparisons
2019-06-30 09:25:49 +02:00
Aviv Palivoda
4bf317c3af
Merge pull request #1076 from corona10/complex_repr
...
Fix complex representation for negative imaginary number case.
2019-06-29 21:03:16 +03:00
Aviv Palivoda
ed737026c3
Merge pull request #1082 from RustPython/xdrlib
...
Add xdrlib.py
2019-06-29 20:46:42 +03:00
Windel Bouwman
c7004f7b0f
Merge pull request #1070 from corona10/ellipsis
...
Add "Ellipsis" for Ellipsis
2019-06-29 16:58:13 +02:00
silmeth
d0de3be2a9
fix float–int cross-type comparisons
...
Fixes #1069
2019-06-29 16:50:09 +02:00
Windel Bouwman
df31abea98
Merge branch 'master' of https://github.com/RustPython/RustPython into cryptomods
2019-06-29 16:46:00 +02:00
Dong-hee Na
8c318dcd3c
Add "Ellipsis" for Ellipsis
...
Currently, only "..." works for Ellipsis type.
This PR will fix this code to work.
```python
a = Ellipsis
b = ...
a is b
```
2019-06-29 23:34:27 +09:00
Windel Bouwman
ddc24d67dc
Add xdrlib.py
2019-06-29 14:44:39 +02:00
Windel Bouwman
0a242b69a5
Merge pull request #1067 from palaviv/memoryview-slice
...
Memoryview slice
2019-06-29 14:41:46 +02:00
Windel Bouwman
f4d63c923a
Switch to better supported crypto lib.
2019-06-29 14:03:19 +02:00
Windel Bouwman
09823a0a64
Merge pull request #1078 from corona10/sys.byteorder
...
sys.byteorder: Implement sys.byteorder
2019-06-29 13:24:41 +02:00
Windel Bouwman
18a49d10b5
Merge pull request #1077 from hannut91/add-tuple-rmul
...
Add tuple.__rmul__
2019-06-29 13:19:13 +02:00
Dong-hee Na
b1aa10d03e
Fix complex representation for negative imaginary number case.
2019-06-29 16:30:34 +09:00
Dong-hee Na
103559101e
sys.byteorder: Implement sys.byteorder
2019-06-29 16:16:03 +09:00
Aviv Palivoda
32be3bc110
Merge pull request #1071 from hannut91/add-resolve-path
...
Fix TestWithTempDir test to pass on Mac
2019-06-29 10:15:23 +03:00
Windel Bouwman
57de0ebc05
Merge pull request #1061 from RustPython/xdrlib
...
Add endianness support to struct module.
2019-06-29 09:05:54 +02:00
hannut91
91d901abdb
Add tuple.__rmul__
...
Add tuple.__rmul__ and uncomment test snippet of __rmul__.
2019-06-29 16:02:42 +09:00
JimJeon
1e568f1044
Implement int.__rmod__
...
Extracted inner_mod function and used in int.__mod__ and int.__rmod__
and also added test snippets of int.__mod__ and int.__rmod__.
2019-06-29 15:21:28 +09:00
hannut91
1dc5daa4d8
Fix TestWithTempDir test to pass on Mac
...
Fix TestWithTmpeDir test that comapre os.getcwd() and tmpdir.
os.getcwd() returns the result of resolving the symbolic link. But tmpdir
absolute path. Testing fails on Mac because the /tmp directory is a symbolic
link. Comparing the results of resolving tempdir will pass the test. But
RustPython does not implement lstat, so it does not pass, but in CPython The
test passes.
2019-06-29 14:58:44 +09:00
Aviv Palivoda
5a8613c78a
Add tests for memoryview
2019-06-28 10:28:48 +03:00
Aviv Palivoda
3c54494132
Merge pull request #1054 from mkurnikov/keyerror-cpython
...
KeyError should have passed key object as a first element of .args
2019-06-28 09:23:51 +03:00
Aviv Palivoda
da39dde31f
Merge pull request #1062 from palaviv/file-io-fd
...
Improve FileIO
2019-06-28 09:18:54 +03:00
Windel Bouwman
0a369d821d
Add initial hashlib module.
2019-06-27 19:09:35 +02:00
Maxim Kurnikov
848714e18e
save passed object into the first .args parameter for dict/mappingproxy KeyError
2019-06-26 23:40:24 +03:00
Windel Bouwman
9e194b3904
Add endianness support to struct module.
2019-06-26 16:38:11 +02:00
Windel Bouwman
4db83aca7f
Add initial unicodedata module.
2019-06-26 13:41:58 +02:00
coolreader18
c96680a70c
Merge pull request #1050 from palaviv/relative-import
...
Support relative import
2019-06-25 15:50:26 -05:00
Aviv Palivoda
dc7eb24aab
Support fileno as name in FileIO
2019-06-25 19:13:27 +03:00
Maxim Kurnikov
8852abc6c3
make exception __repr__ compatible with python3.6
2019-06-24 22:19:59 +03:00
Maxim Kurnikov
1e53e6c168
specify python 3.6 specifically as a Pipfile venv target
2019-06-24 22:19:01 +03:00
Maxim Kurnikov
cd1d7b1a43
add args attribute to exceptions, make __str__ and __repr__ compatible with CPython
2019-06-24 17:30:20 +03:00
coolreader18
3085eadcb5
Merge pull request #1055 from romab1998/feature/ord_bytes_bytearray
...
add bytearray and bytes input types for ord()
2019-06-23 21:16:54 -05:00
romab
7effca3533
added tests for ord() in tests/snippets
2019-06-23 23:25:12 +05:00
Aviv Palivoda
e8c0644a04
Test relative import from upper level
2019-06-23 18:21:02 +03:00
Aviv Palivoda
ae5259670c
Test relative import
2019-06-23 18:21:02 +03:00
rmliddle
026958a322
Resolved merge conflict
2019-06-23 11:39:46 +10:00
Windel Bouwman
30979d9f27
Merge pull request #1043 from yanganto/feat/unicode-iterals
...
support unicode literal
2019-06-19 19:13:13 +02:00