summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_buffer.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29902: Emit a Py3k deprecation warning when pickling or copying (#2823)Serhiy Storchaka2017-08-021-7/+12
| | | | | | some builtin and extension objects that don't support pickling explicitly and are pickled incorrectly by default (like memoryview or staticmethod).
* Comment out two tests that won't pass now after reverting the typeobject.cBarry Warsaw2016-01-111-5/+6
| | | | | change. Also, as per further discussion, we'll just remove the regressing code in typeobject.c
* Issue #22995: Instances of extension types with a state that aren'tSerhiy Storchaka2015-12-301-0/+13
| | | | | | 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.
* avoid overflow with large buffer sizes and/or offsets (closes #21831)Benjamin Peterson2014-06-241-0/+6
|
* Issue #10211 : Buffer object should support the new buffer interface.Kristján Valur Jónsson2013-03-191-0/+8
|
* #7092 - Silence more py3k deprecation warnings, using ↵Florent Xicluna2010-03-211-1/+3
| | | | test_support.check_py3k_warnings() helper.
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-081-6/+1
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-081-1/+6
| | | | Patch by flox
* Improve extended slicing support in builtin types and classes. Specifically:Thomas Wouters2007-08-281-0/+29
- 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.