Skip to content

WIP: :add bytes __add__, __contain__, __getitem__ #738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 70 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
430bc4b
Fix vm.import when there are no frames on stack
coolreader18 Mar 23, 2019
a830d8e
Add PyDocument and PyElement
coolreader18 Mar 23, 2019
2626a80
Support frozenset
palaviv Mar 23, 2019
dc05d5f
Remove Refcell around PyFrozenSet elements
palaviv Mar 23, 2019
9050799
Merge branch 'master' into coolreader18/wasm-browser-dom
coolreader18 Mar 23, 2019
0aabe88
Put `browser` class methods into `impl` blocks
coolreader18 Mar 23, 2019
590b659
Change validate_set_or_frozenset to a function
palaviv Mar 23, 2019
6fa059f
Make PyObject.typ a PyClassRef
skinnyBat Mar 23, 2019
00540de
Fix wasm, to reflect that PyObject.typ is now a PyClassRef
skinnyBat Mar 23, 2019
faf1925
Remove usages of PyClassRef::from_pyobj
skinnyBat Mar 23, 2019
017a9ef
add bytes.__add__ + bytes tests
jgirardet Mar 23, 2019
a5558e0
Introduce Either extractor and convert range.__getitem__
OddCoincidence Mar 23, 2019
a156010
Merge pull request #737 from skinny121/object_type_pyclassref
OddCoincidence Mar 23, 2019
b6f1ecd
Fix example
OddCoincidence Mar 23, 2019
e5066da
Merge remote-tracking branch 'origin/master' into joey/range-getitem-…
OddCoincidence Mar 23, 2019
3c15d89
Avoid some cloning
OddCoincidence Mar 23, 2019
dc68101
Refactor type_new_class to use more specific ref types
skinnyBat Mar 23, 2019
1997fb8
add bytes.__contains__ + fix err in __add__
jgirardet Mar 24, 2019
db8e648
Make PyFunction.code a PyCodeRef, PyGenerator.frame a FrameRef, and
skinnyBat Mar 24, 2019
0f2889a
Fix weird rustfmt
coolreader18 Mar 24, 2019
6eb93a7
Move code methods into impl PyCodeRef
skinnyBat Mar 24, 2019
84d47d2
Rename to just Either
OddCoincidence Mar 24, 2019
946103b
Merge branch 'master' into coolreader18/wasm-browser-dom
coolreader18 Mar 24, 2019
5441f3f
Merge pull request #739 from RustPython/joey/range-getitem-either
OddCoincidence Mar 24, 2019
3f36358
Panic if value poped of stack isn't a code object.
skinnyBat Mar 24, 2019
ec433cd
Fix rustfmt again (?)
coolreader18 Mar 24, 2019
12564da
Rustfmt?
coolreader18 Mar 24, 2019
fbd0860
Merge pull request #740 from skinny121/into_object_cleanup
OddCoincidence Mar 24, 2019
9a6f7aa
Make PyRef::clone not require T implementing Clone
adrian17 Mar 22, 2019
a895ab3
Make PyWeak::downgrade take a reference
adrian17 Mar 22, 2019
d548f9c
refactor contains
jgirardet Mar 24, 2019
e39df6d
Basic implementation of T.__subclasses__().
adrian17 Mar 22, 2019
d0c4fcb
Doing what is needed for all our non-latin friends.
windelbouwman Mar 24, 2019
6450612
Merge branch 'master' into coolreader18/wasm-browser-dom
coolreader18 Mar 24, 2019
9d78fa5
Merge pull request #719 from adrian17/type-subclasses
OddCoincidence Mar 24, 2019
3b58276
Merge pull request #733 from RustPython/coolreader18/wasm-browser-dom
coolreader18 Mar 24, 2019
c2e1e9b
Convert range to new args style
OddCoincidence Mar 24, 2019
9a0113d
range: represent w/ int refs
OddCoincidence Mar 24, 2019
f2d562a
pyint: use as_bigint() everywhere
OddCoincidence Mar 24, 2019
0409e81
Merge pull request #744 from RustPython/joey/range-new-style
OddCoincidence Mar 24, 2019
ca11e7d
Add support for emoji as name.
windelbouwman Mar 24, 2019
d0fe48d
add bytes.__getitem__
jgirardet Mar 24, 2019
9989795
Merge pull request #742 from RustPython/emoji-support
cthulahoops Mar 25, 2019
3562b8f
Store class attributes inside PyClass struct.
cthulahoops Mar 25, 2019
17c3f9f
builtin_locals can just return a reference to the locals dict.
cthulahoops Mar 25, 2019
602f2a8
Update grcov
adrian17 Mar 25, 2019
bbb7162
Various dictionary changes.
cthulahoops Mar 25, 2019
55e0fb1
AST class for nodes instead of just using object everywhere.
cthulahoops Mar 25, 2019
e44b02b
Avoid trace log in tests
adrian17 Mar 25, 2019
4ab59a8
Do not run benchmarks in the main test suite
adrian17 Mar 25, 2019
16e04cf
Run rustpython tests without cargo middleman
adrian17 Mar 25, 2019
2131a81
Clean up some tests
adrian17 Mar 25, 2019
e47032f
Merge pull request #749 from adrian17/tests-cleanup
windelbouwman Mar 25, 2019
983be0f
Merge pull request #725 from palaviv/frozen-set-2
windelbouwman Mar 25, 2019
6ae10ed
Fix build and add extend_class macro usage for set and frozenset
windelbouwman Mar 25, 2019
20c09f0
Merge pull request #747 from adrian17/master
windelbouwman Mar 25, 2019
cac9da4
Merge pull request #748 from RustPython/attributes_and_dictionaries
cthulahoops Mar 25, 2019
17b816f
Fix objset compilation error caused by merge race.
cthulahoops Mar 25, 2019
cc4f3fd
Clean up TypeProtocol
OddCoincidence Mar 26, 2019
6474a4a
Remove objtype::get_type_name()
OddCoincidence Mar 26, 2019
8bdc766
Use name field directly
OddCoincidence Mar 26, 2019
625d235
Fix wasm
OddCoincidence Mar 26, 2019
e68eb9c
Merge pull request #750 from RustPython/joey/cleanup-type-protocol
cthulahoops Mar 26, 2019
4a5592d
Change types inside Scope to PyDictRef.
cthulahoops Mar 26, 2019
5ef8220
Merge pull request #751 from RustPython/scope_holds_dictionaries
OddCoincidence Mar 26, 2019
4bee9d9
fix bytes.__repr__ according to pyton formating
jgirardet Mar 26, 2019
c5203a4
Remove .gcno files before a coverage run
adrian17 Mar 26, 2019
14d3aab
Merge pull request #753 from adrian17/master
windelbouwman Mar 26, 2019
7044df8
fix class()
jgirardet Mar 26, 2019
90fc86b
Merge branch 'bytes' into essai_merge
jgirardet Mar 26, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ log="0.4.1"
regex="0.2.2"
num-bigint = "0.2"
num-traits = "0.2"

unicode-xid = "0.1.0"
unic-emoji-char = "0.9.0"
Loading