History log of /external/python/cpython3/Lib/test/test_copy.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
818e18dd94611a2f0f4b0015661488ef0cd867dc 06-Mar-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #26167: Minimized overhead in copy.copy() and copy.deepcopy().
Optimized copying and deepcopying bytearrays, NotImplemented, slices,
short lists, tuples, dicts, sets.
/external/python/cpython3/Lib/test/test_copy.py
0a20bbf66913157bb54b8d6e426f540233c7ea6c 28-Jan-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #26202: copy.deepcopy() now correctly copies range() objects with
non-atomic attributes.
/external/python/cpython3/Lib/test/test_copy.py
b63015b01a07c535ef4c26fe0bc4c336295dd08e 30-Nov-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #25718: Fixed copying object with state with boolean value is false.
cbbec1c53f4b6fb88b4ae984e69db2d2951cd560 30-Nov-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #25718: Fixed copying object with state with boolean value is false.
/external/python/cpython3/Lib/test/test_copy.py
f488fb422a641aa7c38eb63c09f459e4baff7bc4 03-Jul-2015 Yury Selivanov <yselivanov@sprymix.com> Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.
/external/python/cpython3/Lib/test/test_copy.py
38c707e7e0322f9139bb51ad73ede1e3b46985ef 13-Apr-2015 Zachary Ware <zachary.ware@gmail.com> Issue #21741: Update 147 test modules to use test discovery.

I have compared output between pre- and post-patch runs of these tests
to make sure there's nothing missing and nothing broken, on both
Windows and Linux. The only differences I found were actually tests
that were previously *not* run.
/external/python/cpython3/Lib/test/test_copy.py
32af7549a7cf8f112c44526a28afa6c99e67269c 24-Mar-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #20289: The copy module now uses pickle protocol 4 (PEP 3154) and
supports copying of instances of classes whose __new__ method takes
keyword-only arguments.
/external/python/cpython3/Lib/test/test_copy.py
dc9215f8828b23ed6c294f8e64342a55dcdf1e4c 27-Feb-2014 Antoine Pitrou <solipsis@pitrou.net> Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes object. Initial patch by Peter Otten.
/external/python/cpython3/Lib/test/test_copy.py
5c1c3b4f197c57952760be37d77d73669284a607 01-Dec-2013 Alexandre Vassalotti <alexandre@peadrop.com> Issue #11480: Fixed copy.copy to work with classes with custom metaclasses.

Patch by Daniel Urban.
/external/python/cpython3/Lib/test/test_copy.py
4dc9c84ed9ad3a22d37abc06e53c450130bba317 05-Aug-2011 Sandro Tosi <sandro.tosi@gmail.com> #11572: improvements to copy module tests along with removal of old test suite
/external/python/cpython3/Lib/test/test_copy.py
e90ec366fb1f29705f3f6ed970091c5b3fa131a8 27-Jun-2011 Benjamin Peterson <benjamin@python.org> don't memoize objects that are their own copies (closes #12422)

Patch mostly by Alex Gaynor.
/external/python/cpython3/Lib/test/test_copy.py
3941a8fece7e714583965565795f2986aa203cb1 04-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> Issue #1100562: Fix deep-copying of objects derived from the list and dict types.
Patch by Michele Orrù and Björn Lindqvist.
/external/python/cpython3/Lib/test/test_copy.py
b58e0bd8bb7592dd48b30af546fc20f52ac625bd 23-Jan-2010 Ezio Melotti <ezio.melotti@gmail.com> use assert[Not]In where appropriate
/external/python/cpython3/Lib/test/test_copy.py
1fc0d2b364b144e501615cf82e998beb87733607 28-Nov-2009 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 76571 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r76571 | antoine.pitrou | 2009-11-28 16:55:58 +0100 (sam., 28 nov. 2009) | 3 lines

Issue #1515: Enable use of deepcopy() with instance methods. Patch by Robert Collins.
........
/external/python/cpython3/Lib/test/test_copy.py
c9c0f201fed21efcf669dbbf5f923eaf0eeb1db9 01-Jul-2009 Benjamin Peterson <benjamin@python.org> convert old fail* assertions to assert*
/external/python/cpython3/Lib/test/test_copy.py
6e61006cc2dfa6c07fa84126622685769bac635d 15-May-2009 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 72669 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r72669 | antoine.pitrou | 2009-05-15 18:54:52 +0200 (ven., 15 mai 2009) | 3 lines

Issue #2116: Weak references and weak dictionaries now support copy()ing and deepcopy()ing.
........
/external/python/cpython3/Lib/test/test_copy.py
a56c467ac39ab1a6a2e9dc2fa41a9f573f989839 27-Jan-2009 Mark Dickinson <dickinsm@gmail.com> Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from
the standard library and tests.
/external/python/cpython3/Lib/test/test_copy.py
ee8712cda46338d223509cc5751fd36509ad3860 20-May-2008 Benjamin Peterson <benjamin@python.org> #2621 rename test.test_support to test.support
/external/python/cpython3/Lib/test/test_copy.py
f7fa63dd55e638d300a8d4a148dcedb402fdb750 11-May-2008 Alexandre Vassalotti <alexandre@peadrop.com> Rename copy_reg module to copyreg.
Updated documentation.
Merged revisions 63042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r63042 | alexandre.vassalotti | 2008-05-11 04:25:28 -0400 (Sun, 11 May 2008) | 5 lines

Added module stub for copy_reg renaming in 3.0.
Renamed copy_reg to copyreg in the standard library, to avoid
spurious warnings and ease later merging to py3k branch. Public
documentation remains intact.
........
/external/python/cpython3/Lib/test/test_copy.py
05e8be17fd15d8e649e026600f5ab20e1154599f 23-Feb-2008 Christian Heimes <christian@cheimes.de> Merged revisions 60990-61002 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r60990 | eric.smith | 2008-02-23 17:05:26 +0100 (Sat, 23 Feb 2008) | 1 line

Removed duplicate Py_CHARMASK define. It's already defined in Python.h.
........
r60991 | andrew.kuchling | 2008-02-23 17:23:05 +0100 (Sat, 23 Feb 2008) | 4 lines

#1330538: Improve comparison of xmlrpclib.DateTime and datetime instances.
Remove automatic handling of datetime.date and datetime.time.
This breaks backward compatibility, but python-dev discussion was strongly
against this automatic conversion; see the bug for a link.
........
r60994 | andrew.kuchling | 2008-02-23 17:39:43 +0100 (Sat, 23 Feb 2008) | 1 line

#835521: Add index entries for various pickle-protocol methods and attributes
........
r60995 | andrew.kuchling | 2008-02-23 18:10:46 +0100 (Sat, 23 Feb 2008) | 2 lines

#1433694: minidom's .normalize() failed to set .nextSibling for last element.
Fix by Malte Helmert
........
r61000 | christian.heimes | 2008-02-23 18:40:11 +0100 (Sat, 23 Feb 2008) | 1 line

Patch #2167 from calvin: Remove unused imports
........
r61001 | christian.heimes | 2008-02-23 18:42:31 +0100 (Sat, 23 Feb 2008) | 1 line

Patch #1957: syslogmodule: Release GIL when calling syslog(3)
........
r61002 | christian.heimes | 2008-02-23 18:52:07 +0100 (Sat, 23 Feb 2008) | 2 lines

Issue #2051 and patch from Alexander Belopolsky:
Permission for pyc and pyo files are inherited from the py file.
........
/external/python/cpython3/Lib/test/test_copy.py
3add4d78ff9f5de02e2c0de09efe9a9b5317539f 30-Aug-2007 Collin Winter <collinw@gmail.com> Raise statement normalization in Lib/test/.
/external/python/cpython3/Lib/test/test_copy.py
805365ee39298f93e433e19ae0dd87c6f782145b 08-May-2007 Guido van Rossum <guido@python.org> Merged revisions 55007-55179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
r55077 | guido.van.rossum | 2007-05-02 11:54:37 -0700 (Wed, 02 May 2007) | 2 lines

Use the new print syntax, at least.
........
r55142 | fred.drake | 2007-05-04 21:27:30 -0700 (Fri, 04 May 2007) | 1 line

remove old cruftiness
........
r55143 | fred.drake | 2007-05-04 21:52:16 -0700 (Fri, 04 May 2007) | 1 line

make this work with the new Python
........
r55162 | neal.norwitz | 2007-05-06 22:29:18 -0700 (Sun, 06 May 2007) | 1 line

Get asdl code gen working with Python 2.3. Should continue to work with 3.0
........
r55164 | neal.norwitz | 2007-05-07 00:00:38 -0700 (Mon, 07 May 2007) | 1 line

Verify checkins to p3yk (sic) branch go to 3000 list.
........
r55166 | neal.norwitz | 2007-05-07 00:12:35 -0700 (Mon, 07 May 2007) | 1 line

Fix this test so it runs again by importing warnings_test properly.
........
r55167 | neal.norwitz | 2007-05-07 01:03:22 -0700 (Mon, 07 May 2007) | 8 lines

So long xrange. range() now supports values that are outside
-sys.maxint to sys.maxint. floats raise a TypeError.

This has been sitting for a long time. It probably has some problems and
needs cleanup. Objects/rangeobject.c now uses 4-space indents since
it is almost completely new.
........
r55171 | guido.van.rossum | 2007-05-07 10:21:26 -0700 (Mon, 07 May 2007) | 4 lines

Fix two tests that were previously depending on significant spaces
at the end of a line (and before that on Python 2.x print behavior
that has no exact equivalent in 3.0).
........
/external/python/cpython3/Lib/test/test_copy.py
ef87d6ed94780fe00250a551031023aeb2898365 02-May-2007 Guido van Rossum <guido@python.org> Rip out all the u"..." literals and calls to unicode().
/external/python/cpython3/Lib/test/test_copy.py
52cc1d838f4fee573e57b5b182d8e5f5db63240f 18-Mar-2007 Guido van Rossum <guido@python.org> Implement PEP 3115 -- new metaclass syntax and semantics.
The compiler package hasn't been updated yet; test_compiler.py fails.
Otherwise all tests seem to be passing now. There are no occurrences
of __metaclass__ left in the standard library.
Docs have not been updated.
/external/python/cpython3/Lib/test/test_copy.py
221085de89afa861c49ff4306979dbbad949d393 25-Feb-2007 Neal Norwitz <nnorwitz@gmail.com> Change all the function attributes from func_* -> __*__. This gets rid
of func_name, func_dict and func_doc as they already exist as __name__,
__dict__ and __doc__.
/external/python/cpython3/Lib/test/test_copy.py
cc2b0161257495f859200bce0aea3ed7e646feb3 11-Feb-2007 Guido van Rossum <guido@python.org> - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;
and .keys(), .items(), .values() return dict views.

The dict views aren't fully functional yet; in particular, they can't
be compared to sets yet. but they are useful as "iterator wells".

There are still 27 failing unit tests; I expect that many of these
have fairly trivial fixes, but there are so many, I could use help.
/external/python/cpython3/Lib/test/test_copy.py
e2a383d062434c05b73031f0da57fe82b9da8942 15-Jan-2007 Guido van Rossum <guido@python.org> Rip out 'long' and 'L'-suffixed integer literals.
(Rough first cut.)
/external/python/cpython3/Lib/test/test_copy.py
47b9ff6ba11fab4c90556357c437cb4feec1e853 24-Aug-2006 Guido van Rossum <guido@python.org> Restructure comparison dramatically. There is no longer a default
*ordering* between objects; there is only a default equality test
(defined by an object being equal to itself only). Read the comment
in object.c. The current implementation never uses a three-way
comparison to compute a rich comparison, but it does use a rich
comparison to compute a three-way comparison. I'm not quite done
ripping out all the calls to PyObject_Compare/Cmp, or replacing
tp_compare implementations with tp_richcompare implementations;
but much of that has happened (to make most unit tests pass).

The following tests still fail, because I need help deciding
or understanding:

test_codeop -- depends on comparing code objects
test_datetime -- need Tim Peters' opinion
test_marshal -- depends on comparing code objects
test_mutants -- need help understanding it

The problem with test_codeop and test_marshal is this: these tests
compare two different code objects and expect them to be equal.
Is that still a feature we'd like to support? I've temporarily
removed the comparison and hash code from code objects, so they
use the default (equality by pointer only) comparison.

For the other two tests, run them to see for yourself.
(There may be more failing test with "-u all".)

A general problem with getting lots of these tests to pass is
the reality that for object types that have a natural total ordering,
implementing __cmp__ is much more convenient than implementing
__eq__, __ne__, __lt__, and so on. Should we go back to allowing
__cmp__ to provide a total ordering? Should we provide some other
way to implement rich comparison with a single method override?
Alex proposed a __key__() method; I've considered a __richcmp__()
method. Or perhaps __cmp__() just shouldn't be killed off...
/external/python/cpython3/Lib/test/test_copy.py
1968ad32cd7f46d9bb64826672ef68cdaee35288 25-Feb-2006 Guido van Rossum <guido@python.org> - Patch 1433928:
- The copy module now "copies" function objects (as atomic objects).
- dict.__getitem__ now looks for a __missing__ hook before raising
KeyError.
- Added a new type, defaultdict, to the collections module.
This uses the new __missing__ hook behavior added to dict (see above).
/external/python/cpython3/Lib/test/test_copy.py
70a6b49821a3226f55e9716f32d802d06640cb89 12-Feb-2004 Walter Dörwald <walter@livinglogic.de> Replace backticks with repr() or "%r"

From SF patch #852334.
/external/python/cpython3/Lib/test/test_copy.py
2b3eb4062c5e50abf854f7e68038243ca7c07217 28-Oct-2003 Armin Rigo <arigo@tunes.org> Deleting cyclic object comparison.
SF patch 825639
http://mail.python.org/pipermail/python-dev/2003-October/039445.html
/external/python/cpython3/Lib/test/test_copy.py
ba8f5ff76c8e0aa7767a9a7c59f25a2db95f5d57 14-Jun-2003 Martin v. Löwis <martin@v.loewis.de> Copy builtin functions as atomic. Fixes #746304. Will backport to 2.2.
/external/python/cpython3/Lib/test/test_copy.py
99d2c251df4782c52c3e1cb89064374af39ecb46 13-Jun-2003 Guido van Rossum <guido@python.org> SF patch 707900, fixing bug 702858, by Steven Taschuk.
Copying a new-style class that had a reference to itself didn't work.
(The same thing worked fine for old-style classes.)
/external/python/cpython3/Lib/test/test_copy.py
e2fdc610043a29a4e95287ff53b1a2c43e401b11 08-Jun-2003 Neal Norwitz <nnorwitz@gmail.com> Fix SF #749831, copy raises SystemError when getstate raises exception
/external/python/cpython3/Lib/test/test_copy.py
21d3a32b99c5763444c34c189ef653ac9745f3c4 01-May-2003 Walter Dörwald <walter@livinglogic.de> Combine the functionality of test_support.run_unittest()
and test_support.run_classtests() into run_unittest()
and use it wherever possible.

Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.

From SF patch #662807.
/external/python/cpython3/Lib/test/test_copy.py
e690883ccf8081e5baab0e9d71f596f26245b569 19-Feb-2003 Guido van Rossum <guido@python.org> Use __reduce_ex__ in copy.py. The test_*copy_cant() tests are simpler again.
/external/python/cpython3/Lib/test/test_copy.py
1dca482dbdd42fc9a81cab1ae2f04471511c338d 07-Feb-2003 Guido van Rossum <guido@python.org> Somehow, copy() of a classic class object was handled
atomically, but deepcopy() didn't support this at all.
I don't see any reason for this, so I'm adding ClassType
to the set of types that are deep-copied atomically.
/external/python/cpython3/Lib/test/test_copy.py
c06e3acc735a6e9cf28d0f511493bcfd8829117d 07-Feb-2003 Guido van Rossum <guido@python.org> Add support for copy_reg.dispatch_table.

Rewrote copy() and deepcopy() without avoidable try/except statements;
getattr(x, name, None) or dict.get() are much faster than try/except.
/external/python/cpython3/Lib/test/test_copy.py
85233bf74679a5dae4365507526789883a3c1158 06-Feb-2003 Guido van Rossum <guido@python.org> Fix a bug in the way __getnewargs__ was handled.
/external/python/cpython3/Lib/test/test_copy.py
c7557589063d07ecf8a65e88e6e396f0f750821b 06-Feb-2003 Guido van Rossum <guido@python.org> Support all the new stuff supported by the new pickle code:
- subclasses of list or dict
- __reduce__ returning a 4-tuple or 5-tuple
- slots
/external/python/cpython3/Lib/test/test_copy.py
90e05b0e25a3e69d23054c5f05cbe5b6ec475ca5 06-Feb-2003 Guido van Rossum <guido@python.org> Support __reduce__ returning a 4-tuple or 5-tuple.
/external/python/cpython3/Lib/test/test_copy.py
581cb938d0650a44b8a959ebc924439992e595df 06-Feb-2003 Guido van Rossum <guido@python.org> A test suite for the copy module. This should provide full code
coverage.
/external/python/cpython3/Lib/test/test_copy.py