Guido van Rossum
f0666949fd
Issue 27598: Add Collections to collections.abc.
...
Patch by Ivan Levkivskyi, docs by Neil Girdhar.
2016-08-23 10:47:07 -07:00
Benjamin Peterson
ab078e9ed1
Backed out changeset af29d89083b3 ( closes #25548 ) ( closes #27498 )
2016-07-13 21:13:29 -07:00
Serhiy Storchaka
8918b89e61
Issue #25455 : Clean up reference loops created in tests for recursive
...
functools.partial objects.
2016-06-12 15:53:09 +03:00
Serhiy Storchaka
46fe29de31
Issue #25455 : Clean up reference loops created in tests for recursive
...
functools.partial objects.
2016-06-12 15:45:14 +03:00
Serhiy Storchaka
b62ff6eb57
Issue #25455 : Fixed a crash in repr of recursive functools.partial objects.
2016-06-12 11:51:26 +03:00
Serhiy Storchaka
179f960d47
Issue #25455 : Fixed a crash in repr of recursive functools.partial objects.
2016-06-12 11:44:06 +03:00
Kushal Das
5801ecb440
Issue #25548 : Showing memory address of class objects in repl
2016-06-04 16:21:13 -07:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Guido van Rossum
16ca06b8cb
Add collections.Reversible. Patch by Ivan Levkivskyi. Fixes issue #25987 .
2016-04-04 10:59:29 -07:00
Serhiy Storchaka
3874128519
Issue #25945 : Fixed bugs in functools.partial.
...
Fixed a crash when unpickle the functools.partial object with wrong state.
Fixed a leak in failed functools.partial constructor.
"args" and "keywords" attributes of functools.partial have now always types
tuple and dict correspondingly.
2016-02-02 18:45:17 +02:00
Serhiy Storchaka
e4d65e3aab
Issue #25447 : Copying the lru_cache() wrapper object now always works,
...
independedly from the type of the wrapped object (by returning the original
object unchanged).
2015-12-28 23:58:07 +02:00
Serhiy Storchaka
45120f272b
Issue #25447 : The lru_cache() wrapper objects now can be copied and pickled
...
(by returning the original object unchanged).
2015-10-24 09:49:56 +03:00
Berker Peksag
9b93c6b5df
Issue #25137 : Add a note to whatsnew/3.5.rst for nested functools.partial calls
...
Also, properly skip the test_nested_optimization test for partial subclasses
and add a test for the suggested usage.
2015-09-22 13:08:16 +03:00
Yury Selivanov
77a8cd65be
Issue #23572 : Fixed functools.singledispatch on classes with falsy metaclasses.
...
Patch by Ethan Furman.
2015-08-18 14:20:00 -04:00
Serhiy Storchaka
391af751f2
Issue #14373 : Other attempt to fix threaded test for lru_cache().
2015-06-08 12:44:18 +03:00
Serhiy Storchaka
e7070f09bc
Issue #14373 : C implementation of functools.lru_cache() now can be used with
...
methods.
2015-06-08 11:19:24 +03:00
Serhiy Storchaka
77cb197aaa
Issue #14373 : Fixed threaded test for lru_cache(). Added new threaded test.
2015-06-08 11:14:31 +03:00
Serhiy Storchaka
bf2b3b72d3
Use test.support.start_threads() in threaded lru_cache tests.
2015-05-30 15:49:17 +03:00
Serhiy Storchaka
46c5611948
Backed out changeset: b0a0b9b59012
2015-05-24 21:53:49 +03:00
Larry Hastings
8252cc9832
Backed out changeset 57776eee74f2
2015-05-23 14:56:23 -07:00
Serhiy Storchaka
1c858c352b
Issue #14373 : Added C implementation of functools.lru_cache(). Based on
...
patches by Matt Joiner and Alexey Kachayev.
2015-05-23 22:42:49 +03:00
Benjamin Peterson
dae2ef1cfa
merge 3.4
2015-05-09 00:29:08 -04:00
Benjamin Peterson
65bcdd7195
ensure .keywords is always a dict
2015-05-09 00:25:18 -04:00
Zachary Ware
38c707e7e0
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.
2015-04-13 15:00:43 -05:00
Alexander Belopolsky
e49af34151
Issue #7830 : Flatten nested functools.partial.
2015-03-01 15:08:17 -05:00
Serhiy Storchaka
90caf017ee
Issue #19681 : Test the repr of partial with more than one keyword argument.
2015-02-15 16:22:11 +02:00
Serhiy Storchaka
0aa74e10bb
Issue #19681 : Test the repr of partial with more than one keyword argument.
2015-02-15 16:20:47 +02:00
Serhiy Storchaka
697a526fa1
Issue #23132 : Improve performance and introspection support of comparison
...
methods created by functool.total_ordering.
2015-01-01 15:23:12 +02:00
Serhiy Storchaka
bad1257c96
Issue #22777 : Test pickling with all protocols.
2014-12-15 14:03:42 +02:00
Raymond Hettinger
4d58897fdb
Issue 22184: Early detection and reporting of missing lru_cache parameters
2014-08-12 12:44:52 -07:00
Serhiy Storchaka
b12cb6a550
Issue #19535 : Fixed test_docxmlrpc, test_functools, test_inspect, and
...
test_statistics when python is run with -OO.
2013-12-08 18:16:18 +02:00
Zachary Ware
101d9e7250
Issue 19572: More silently skipped tests explicitly skipped.
2013-12-08 00:44:27 -06:00
Zachary Ware
9fe6d86709
Issue 19572: More silently skipped tests explicitly skipped.
2013-12-08 00:20:35 -06:00
Christian Heimes
d062892542
Issue #19681 : Apply a quick and minimal band-aid.
...
The flaky buildbots make it hard to detect real issue. This is just a temporary fix until we agree
on a permanent solution.
2013-11-22 01:22:47 +01:00
Nick Coghlan
f4cb48a72b
Issue #4331 : Added functools.partialmethod
...
Initial patch by Alon Horev
2013-11-03 16:41:46 +10:00
Nick Coghlan
f05d981f58
Close #10042 : functools.total_ordering now handles NotImplemented
...
(Patch by Katie Miller)
2013-10-02 00:02:03 +10:00
Nick Coghlan
24c05bc154
Close issue 17482: don't overwrite __wrapped__
2013-07-15 21:13:08 +10:00
Łukasz Langa
3720c77e30
Issue #18244 : Adopt C3-based linearization in functools.singledispatch for improved ABC support
2013-07-01 16:00:38 +02:00
Łukasz Langa
7f7a67aac8
Fixed #18150 : duplicate test inside TestSingleDispatch
...
Thanks to Vajrasky Kok for the patch
2013-06-07 22:25:27 +02:00
Łukasz Langa
6f69251980
Add reference implementation for PEP 443
...
PEP accepted: http://mail.python.org/pipermail/python-dev/2013-June/126734.html
2013-06-05 12:20:24 +02:00
Raymond Hettinger
6c2078d545
merge
2013-03-04 02:58:40 -05:00
Raymond Hettinger
0392342673
Add test for RLock in the lru_cache().
2013-03-04 02:52:50 -05:00
Serhiy Storchaka
ca4220be1f
Issue #17122 : Fix and cleanup test_functools.py.
2013-02-05 22:12:59 +02:00
Serhiy Storchaka
b6a53404b7
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:57:16 +02:00
Serhiy Storchaka
1d0bb9c8f9
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:54:04 +02:00
Serhiy Storchaka
19c4e0df29
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:47:24 +02:00
Serhiy Storchaka
a4fdd599e2
Fix skip conditions in some docstings tests.
2013-01-28 13:26:25 +02:00
Serhiy Storchaka
8e0ae2a4f0
Fix skip conditions in some docstings tests.
2013-01-28 13:25:44 +02:00
Serhiy Storchaka
f011881d7d
Issue #17041 : Fix testing when Python is configured with the
...
--without-doc-strings.
2013-01-27 20:04:26 +02:00