| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
some builtin and extension objects that don't support pickling
explicitly and are pickled incorrectly by default (like memoryview or
staticmethod).
|
|
|
|
|
| |
change. Also, as per further discussion, we'll just remove the regressing
code in typeobject.c
|
|
|
|
|
|
| |
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled. Including memoryview.
|
| |
|
| |
|
|
|
|
| |
test_support.check_py3k_warnings() helper.
|
|
|
|
| |
mistake. ( It may come in for sure tough)
|
|
|
|
| |
Patch by flox
|
|
- Specialcase extended slices that amount to a shallow copy the same way as
is done for simple slices, in the tuple, string and unicode case.
- Specialcase step-1 extended slices to optimize the common case for all
involved types.
- For lists, allow extended slice assignment of differing lengths as long
as the step is 1. (Previously, 'l[:2:1] = []' failed even though
'l[:2] = []' and 'l[:2:None] = []' do not.)
- Implement extended slicing for buffer, array, structseq, mmap and
UserString.UserString.
- Implement slice-object support (but not non-step-1 slice assignment) for
UserString.MutableString.
- Add tests for all new functionality.
|