Skip to content

Conversation

sthagen
Copy link
Owner

@sthagen sthagen commented Aug 14, 2021

No description provided.

youknowone and others added 30 commits August 8, 2021 04:23
before: RustPython hangs when
	d = deque('a')
	d.extend(d)
after: it extends to the copy of it
before: when idx >= len it doesn't insert the element to the end
	it inserted to index len-1
after:  when idx >= len it inserts the element to the end of the deque
support deque.insert when idx is gte to len
Co-authored-by: Jim Fasarakis-Hilliard <[email protected]>
`id()` for `str` stays the same after `* 1`
…e-call

support deque.extend recursive call
before: maxlen was writable
        d = deque()
        d.maxlen = 10 was allowed
after : make maxlen read-only
	the before code raise attributError
Cleans up `pyproperty` definitions
Cleans up `pyclassmethod` definition
Fix pickling, length hint, iteration for reverse list iterators.
DimitrisJim and others added 28 commits August 12, 2021 21:04
Check compilation for Android and Redox in CI
Clean up remaining pymethod usages.
Deque.__init__ handles initialization.
vscode lldb configuration template
Retrying contains, remove, discard with a frozenset.
metaclass support for #[pyclass] macro
In python, `count` in `sendfile` doesn't include nbytes in headers or trailers.
But in `nix::sys::sendfile::sendfile` does.

From nix doc,
```
If any headers are specified and `count` is non-zero,
the length of the headers will be counted in the limit of total bytes sent.
```
give an own module for buffer protocol + TryFromBorrowedObject
@sthagen sthagen merged commit 68d4f11 into sthagen:master Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants