Jeong YunWon
bccf83ff73
standard library is set by default by 5f6c715
...
Related commit: 5f6c7152b3
2020-05-08 04:04:36 +09:00
Jeong YunWon
c3ea697ef3
Merge pull request #1906 from RustPython/coolreader18/default-rustpythonpath
...
Have a default sys.path value pointing to <checkout>/Lib
2020-05-08 03:46:44 +09:00
Jeong YunWon
9a8f47b14e
Merge pull request #1904 from RustPython/coolreader18/zipimport
...
Add zipimport to allow importing from zip files
2020-05-06 15:50:16 +09:00
Noah
c2e52c27ff
Merge pull request #1889 from RustPython/coolreader18/_json-optimizations
...
Add the _json module and _json.make_scanner
2020-05-05 11:09:09 -05:00
Noah
5f6c7152b3
Have a default sys.path value pointing to <checkout>/Lib
2020-05-05 10:57:35 -05:00
Noah
c6d3b1b8f4
Merge pull request #1899 from TheAnyKey/TheAnyKey/p38_self_documenting_fstrings
...
The any key/p38 self documenting fstrings
2020-05-05 10:24:15 -05:00
Windel Bouwman
7d9209b59a
Merge pull request #1901 from RustPython/cpython-unittest-guideline
...
Add cpython unittest guideline
2020-05-05 14:33:34 +02:00
Windel Bouwman
cb86cac736
Merge pull request #1905 from RustPython/coolreader18/ssl-optional
...
Make the ssl module optional
2020-05-05 14:32:49 +02:00
TheAnyKey
a535e3c754
merged
2020-05-05 07:49:54 -04:00
TheAnyKey
71ec5c1b86
clean up after review
2020-05-05 05:01:16 -04:00
TheAnyKey and Jeong YunWon
cba961ecfa
Apply suggestions from code review
...
Co-authored-by: Jeong YunWon <youknowone@users.noreply.github.com >
2020-05-04 23:09:31 +02:00
Noah
e65a5edc34
Unmark expectedFailures from test_iter
2020-05-04 13:08:13 -05:00
Noah
b75ba3e19e
Fix ci errors
2020-05-04 11:43:17 -05:00
Noah
22c7d98209
Make the ssl module optional
2020-05-04 11:40:31 -05:00
Noah
466f24ceb9
Don't fail in zlib.decompress with too big an input
2020-05-03 21:11:37 -05:00
Noah
8be180dd0b
Add optparse.py from CPython 3.8.2
2020-05-03 18:13:09 -05:00
Noah
45b14c878f
Fix negative wbits args for zlib
2020-05-03 18:10:48 -05:00
Noah
37912dfbe0
Add closefd arg to open
2020-05-03 18:03:22 -05:00
Noah
10c63dacbd
Add _io.open_code
2020-05-03 16:09:25 -05:00
Noah
2c0f199f19
Initialize zipimport in the vm
2020-05-03 16:09:25 -05:00
Noah
3c14563b2b
Add zipimport.py from CPython 3.8.2
2020-05-03 16:09:25 -05:00
Noah
fbf7a978b4
Merge pull request #1894 from RustPython/coolreader18/zlib-decompressobj
...
Add zlib.decompressobj()
2020-05-03 16:09:08 -05:00
Jeong YunWon
5759c10c25
Add cpython unittest guideline
2020-05-03 23:40:01 +09:00
Jeong YunWon
5b52bb8537
Merge pull request #1896 from mrmiywj/add_umask_support
...
Add umask support
2020-05-03 23:10:24 +09:00
mrmiywj
b286e5d4dd
format
2020-05-02 23:11:11 -07:00
mrmiywj
fd0232d685
add umask support in os
2020-05-02 23:10:42 -07:00
Aviv Palivoda
57ebfdea43
Merge pull request #1892 from palaviv/threading-type
...
Make more objects ThreadSafe
2020-05-02 00:58:02 +03:00
Noah
130840c91c
Add getters to zlib.Decompressor
2020-05-01 14:14:51 -05:00
Aviv Palivoda
bfd14b4712
Support multiple js functions
2020-05-01 20:15:59 +03:00
TheAnyKey
620115d69a
recommit
2020-05-01 10:14:02 -04:00
TheAnyKey
f823af1975
skipping inkompatible test for the moment
2020-04-30 14:51:46 -04:00
TheAnyKey
80a9710aa8
fixed clippy; tests fail explicitly for python 3.7 and below
2020-04-30 14:25:49 -04:00
TheAnyKey
3e8cde7b9c
Removed incompatibilty with CPython, fixed parser error handling
2020-04-30 12:48:41 -04:00
Jeong YunWon
46945c334c
Merge pull request #1897 from youknowone/fix-bytes-find
...
Fix find/index/count not to crash for bigint start/end arguments
2020-05-01 00:51:23 +09:00
Noah
766a5986dd
Merge pull request #1900 from Kienyew/fix-typo
...
Fix Sourcode
2020-04-30 10:03:44 -05:00
Kienyew
e3353aac4e
Fix typo
2020-04-30 12:57:26 +08:00
TheAnyKey
3ccb117b9a
fixed fmt
2020-04-29 17:52:47 -04:00
TheAnyKey
8e8e839b94
activated further test, removed todos
2020-04-29 17:16:23 -04:00
TheAnyKey
972503c3ab
fixed qute handling in tests
2020-04-29 17:13:07 -04:00
TheAnyKey
e7ec972ab7
now conversion flags can be followed by a format specifier and added tests
2020-04-29 16:55:21 -04:00
TheAnyKey
c25353c083
minor cleanup
2020-04-29 15:41:04 -04:00
TheAnyKey
34478d3db7
implemented selfdocumenting fstrings and tests from cpython- current handling of quotes is too simple
2020-04-29 15:37:47 -04:00
Jeong YunWon
0c5d333cdb
Merge pull request #1891 from RustPython/coolreader18/fix-codec-tests
...
Fix a few codecs tests
2020-04-30 03:58:33 +09:00
Jeong YunWon
3e6f18c38e
Merge pull request #1898 from youknowone/cache-str-len
...
Cache str.len()
2020-04-30 03:55:02 +09:00
Noah
3937e846bd
Merge pull request #1890 from RustPython/coolreader18/fix-int-tests
...
Fix a few int tests
2020-04-29 11:58:50 -05:00
Noah
aafbdd06b2
Allow struct.unpack to take a bytes
2020-04-29 11:58:19 -05:00
Noah
fca831480f
Add seek/tell to some io classes
2020-04-29 11:58:19 -05:00
Noah
5ce321b647
Add zlib.decompressobj()
2020-04-29 11:58:16 -05:00
Jeong YunWon
5396053e39
Cache str.len()
...
Rust str is utf-8, so it doesn't match to CPython str very well.
Probably we would reimplement PyString as same as CPython, but this is a
temporal fix for easy speedup.
Before:
$ time cargo run --release Lib/test/test_unicode.py
13.56s user 0.16s system 88% cpu 15.487 total
After:
$ time cargo run --release Lib/test/test_unicode.py
10.02s user 0.10s system 88% cpu 11.448 total
2020-04-29 23:31:03 +09:00
Jeong YunWon
a115005c3d
Fix find/index/count not to raise error for bigint start/end arguments
2020-04-29 23:07:12 +09:00