Serhiy Storchaka
|
1c7181d764
|
Optimize the test for issue #13454.
Now it requires almost 4x less memory and is almost 2x faster.
|
2013-01-26 11:53:17 +02:00 |
Serhiy Storchaka
|
5bb893c44b
|
Optimize the test for issue #13454.
Now it requires almost 4x less memory and is almost 2x faster.
|
2013-01-26 11:52:06 +02:00 |
Serhiy Storchaka
|
339e91d4cb
|
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
|
2013-01-25 13:24:47 +02:00 |
Serhiy Storchaka
|
a3e9128aba
|
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
|
2013-01-25 13:19:31 +02:00 |
Kristján Valur Jónsson
|
31668b8f7a
|
Issue #14288: Serialization support for builtin iterators.
|
2012-04-03 10:49:41 +00:00 |
Alex Gaynor
|
e151d21883
|
Mark itertools tests of tuple reuse as being specific to CPython.
|
2011-07-17 16:21:30 -07:00 |
Kristjan Valur Jonsson
|
978da33c7a
|
Merge 3.2
|
2011-03-30 11:32:06 +00:00 |
Kristjan Valur Jonsson
|
fa3edbed25
|
Merge 3.1
|
2011-03-30 11:24:58 +00:00 |
Kristjan Valur Jonsson
|
35722a9376
|
Bugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.
ti can raise an exception even if PyLong_Check() has
succeeded.
|
2011-03-30 11:04:28 +00:00 |
Raymond Hettinger
|
5d44613e3b
|
Add optional *func* argument to itertools.accumulate().
|
2011-03-27 18:52:10 -07:00 |
Ezio Melotti
|
3b3499ba69
|
#11565: Merge with 3.1.
|
2011-03-16 11:35:38 +02:00 |
Ezio Melotti
|
13925008dc
|
#11565: Fix several typos. Patch by Piotr Kasprzyk.
|
2011-03-16 11:05:33 +02:00 |
Raymond Hettinger
|
2d93e6ee63
|
Update the itertools.accumulate() docs.
|
2010-12-03 02:33:53 +00:00 |
Raymond Hettinger
|
d8ff4658fb
|
Simplify the signature for itertools.accumulate() to match numpy. Handle one item iterable the same way as min()/max().
|
2010-12-03 02:09:34 +00:00 |
Raymond Hettinger
|
482ba77245
|
Add itertools.accumulate().
|
2010-12-01 22:48:00 +00:00 |
Raymond Hettinger
|
101f09e72f
|
Issue #10323: Predictable final state for slice().
|
2010-11-30 03:09:05 +00:00 |
Raymond Hettinger
|
69b34bfe9c
|
Issue #10323: Predictable final state for slice().
|
2010-11-30 02:49:29 +00:00 |
Ezio Melotti
|
19f2aeba67
|
Merged revisions 86596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424: Replace deprecated assert* methods in the Python test suite.
........
|
2010-11-21 01:30:29 +00:00 |
Ezio Melotti
|
b3aedd4862
|
#9424: Replace deprecated assert* methods in the Python test suite.
|
2010-11-20 19:04:17 +00:00 |
Ezio Melotti
|
b58e0bd8bb
|
use assert[Not]In where appropriate
|
2010-01-23 15:40:09 +00:00 |
Raymond Hettinger
|
a3e1ad27a8
|
Issue 7410: deepcopy of itertools.count() reset the count.
|
2009-11-30 22:02:31 +00:00 |
Raymond Hettinger
|
6c8ee7a333
|
Issue #7410: deepcopy of itertools.count was resetting the count.
|
2009-11-30 21:55:17 +00:00 |
Raymond Hettinger
|
a9311a3c50
|
Fix exception handling in itertools.izip_longest().
|
2009-11-01 21:02:38 +00:00 |
Raymond Hettinger
|
fc438518a0
|
Fix exception handling in itertools.izip_longest().
|
2009-11-01 20:55:33 +00:00 |
Georg Brandl
|
ab91fdef1f
|
Merged revisions 73715 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line
convert old fail* assertions to assert*
........
|
2009-08-13 08:51:18 +00:00 |
Benjamin Peterson
|
c9c0f201fe
|
convert old fail* assertions to assert*
|
2009-06-30 23:06:06 +00:00 |
Raymond Hettinger
|
eb13fdda59
|
Port r69837: Fix keyword arguments for itertools.count(). Step arg without a start arg was ignored.
|
2009-02-21 22:30:12 +00:00 |
Raymond Hettinger
|
cdf8ba369b
|
Add some cross-references to the docs. Simplify the python code equivalent for zip(). Supply an optional argument for the nth() recipe.
|
2009-02-19 04:45:07 +00:00 |
Raymond Hettinger
|
f4bb7f2100
|
Add keyword arg support to itertools.repeat().
|
2009-02-19 02:44:01 +00:00 |
Raymond Hettinger
|
15a4950da1
|
Add keyword arg support to itertools.compress().
|
2009-02-19 02:17:09 +00:00 |
Raymond Hettinger
|
d6280f4b78
|
Add GC support to count() objects.
|
2009-02-16 20:50:56 +00:00 |
Raymond Hettinger
|
9e8dbbcdcd
|
Add keyword argument support to itertools.count().
|
2009-02-14 04:21:49 +00:00 |
Raymond Hettinger
|
de09acf298
|
One more test.
|
2009-02-12 12:53:53 +00:00 |
Raymond Hettinger
|
8a882a74dc
|
Add an extra testcase.
|
2009-02-12 12:08:18 +00:00 |
Raymond Hettinger
|
3072921d0e
|
Issue 5032: added a step argument to itertools.count() and allowed non-integer arguments.
|
2009-02-12 06:28:27 +00:00 |
Raymond Hettinger
|
d04fa31f73
|
Minor doc fixes.
|
2009-02-04 19:45:13 +00:00 |
Raymond Hettinger
|
191e850053
|
Add more tests for the powerset() recipe.
|
2009-01-27 13:29:43 +00:00 |
Raymond Hettinger
|
da6bc5214f
|
More exhaustive combinatoric checks.
|
2009-01-27 10:39:42 +00:00 |
Raymond Hettinger
|
d17ad8d638
|
Stronger tests for combinatoric relationships.
|
2009-01-27 09:56:30 +00:00 |
Raymond Hettinger
|
eb508ad8cf
|
Add tests to verify combinatoric relationships.
|
2009-01-27 09:35:21 +00:00 |
Raymond Hettinger
|
883d27607a
|
Beautify grouper() recipe in docs.
|
2009-01-27 04:57:51 +00:00 |
Raymond Hettinger
|
d07d939c5e
|
Forward port r69001: itertools.combinations_with_replacement().
|
2009-01-27 04:20:44 +00:00 |
Raymond Hettinger
|
6b3b0fc4d4
|
Forward port r68941 adding itertools.compress().
|
2009-01-26 02:56:58 +00:00 |
Raymond Hettinger
|
ace673391a
|
Backport r68942: update powerset() recipe.
|
2009-01-26 02:23:50 +00:00 |
Raymond Hettinger
|
5bad41eefc
|
Merge in r68394 fixing itertools.permutations() and combinations().
|
2009-01-08 21:01:54 +00:00 |
Raymond Hettinger
|
ad9d96bc1a
|
Issue #4615. Document how to use itertools for de-duping.
|
2009-01-02 21:39:07 +00:00 |
Benjamin Peterson
|
d18de0e28b
|
Merged revisions 65259,65263,65296,65307,65321 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65259 | benjamin.peterson | 2008-07-27 10:22:14 -0500 (Sun, 27 Jul 2008) | 1 line
clarify Popen argument
........
r65263 | andrew.kuchling | 2008-07-28 12:04:48 -0500 (Mon, 28 Jul 2008) | 1 line
Clarify wording
........
r65296 | raymond.hettinger | 2008-07-30 02:27:30 -0500 (Wed, 30 Jul 2008) | 1 line
Neaten-up the itertools recipes.
........
r65307 | benjamin.peterson | 2008-07-30 08:46:53 -0500 (Wed, 30 Jul 2008) | 1 line
getrandombits is actually getrandbits
........
r65321 | raymond.hettinger | 2008-07-30 20:19:50 -0500 (Wed, 30 Jul 2008) | 4 lines
Alter recipe to show how to call izip_longest() with
both a keyword argument and star arguments.
........
|
2008-07-31 20:21:46 +00:00 |
Raymond Hettinger
|
f5a2e47ad3
|
Neaten-up the itertools recipes.
|
2008-07-30 07:37:37 +00:00 |
Georg Brandl
|
3dbca81c9b
|
Merged revisions 65012,65035,65037-65040,65048,65057,65077,65091-65095,65097-65099,65127-65128,65131,65133-65136,65139,65149-65151,65155,65158-65159,65176-65178,65183-65184,65187-65190,65192,65194 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65012 | jesse.noller | 2008-07-16 15:24:06 +0200 (Wed, 16 Jul 2008) | 2 lines
Apply patch for issue 3090: ARCHFLAGS parsing incorrect
........
r65035 | georg.brandl | 2008-07-16 23:19:28 +0200 (Wed, 16 Jul 2008) | 2 lines
#3045: fix pydoc behavior for TEMP path with spaces.
........
r65037 | georg.brandl | 2008-07-16 23:31:41 +0200 (Wed, 16 Jul 2008) | 2 lines
#1608818: errno can get set by every call to readdir().
........
r65038 | georg.brandl | 2008-07-17 00:04:20 +0200 (Thu, 17 Jul 2008) | 2 lines
#3305: self->stream can be NULL.
........
r65039 | georg.brandl | 2008-07-17 00:09:17 +0200 (Thu, 17 Jul 2008) | 2 lines
#3345: fix docstring.
........
r65040 | georg.brandl | 2008-07-17 00:33:18 +0200 (Thu, 17 Jul 2008) | 2 lines
#3312: fix two sqlite3 crashes.
........
r65048 | georg.brandl | 2008-07-17 01:35:54 +0200 (Thu, 17 Jul 2008) | 2 lines
#3388: add a paragraph about using "with" for file objects.
........
r65057 | gregory.p.smith | 2008-07-17 05:13:05 +0200 (Thu, 17 Jul 2008) | 2 lines
news note for r63052
........
r65077 | jesse.noller | 2008-07-17 23:01:05 +0200 (Thu, 17 Jul 2008) | 3 lines
Fix issue 3395, update _debugInfo to be _debug_info
........
r65091 | ronald.oussoren | 2008-07-18 07:48:03 +0200 (Fri, 18 Jul 2008) | 2 lines
Last bit of a fix for issue3381 (addon for my patch in r65061)
........
r65092 | vinay.sajip | 2008-07-18 10:59:06 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65093 | vinay.sajip | 2008-07-18 11:00:00 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65094 | vinay.sajip | 2008-07-18 11:00:35 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65095 | vinay.sajip | 2008-07-18 11:01:10 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65097 | georg.brandl | 2008-07-18 12:20:59 +0200 (Fri, 18 Jul 2008) | 2 lines
Remove duplicate entry in __all__.
........
r65098 | georg.brandl | 2008-07-18 12:29:30 +0200 (Fri, 18 Jul 2008) | 2 lines
Correct attribute name.
........
r65099 | georg.brandl | 2008-07-18 13:15:06 +0200 (Fri, 18 Jul 2008) | 3 lines
Document the different meaning of precision for {:f} and {:g}.
Also document how inf and nan are formatted. #3404.
........
r65127 | raymond.hettinger | 2008-07-19 02:42:03 +0200 (Sat, 19 Jul 2008) | 1 line
Improve accuracy of gamma test function
........
r65128 | raymond.hettinger | 2008-07-19 02:43:00 +0200 (Sat, 19 Jul 2008) | 1 line
Add recipe to the itertools docs.
........
r65131 | georg.brandl | 2008-07-19 12:08:55 +0200 (Sat, 19 Jul 2008) | 2 lines
#3378: in case of no memory, don't leak even more memory. :)
........
r65133 | georg.brandl | 2008-07-19 14:39:10 +0200 (Sat, 19 Jul 2008) | 3 lines
#3302: fix segfaults when passing None for arguments that can't
be NULL for the C functions.
........
r65134 | georg.brandl | 2008-07-19 14:46:12 +0200 (Sat, 19 Jul 2008) | 2 lines
#3303: fix crash with invalid Py_DECREF in strcoll().
........
r65135 | georg.brandl | 2008-07-19 15:00:22 +0200 (Sat, 19 Jul 2008) | 3 lines
#3319: don't raise ZeroDivisionError if number of rounds is so
low that benchtime is zero.
........
r65136 | georg.brandl | 2008-07-19 15:09:42 +0200 (Sat, 19 Jul 2008) | 3 lines
#3323: mention that if inheriting from a class without __slots__,
the subclass will have a __dict__ available too.
........
r65139 | georg.brandl | 2008-07-19 15:48:44 +0200 (Sat, 19 Jul 2008) | 2 lines
Add ordering info for findall and finditer.
........
r65149 | raymond.hettinger | 2008-07-20 01:21:57 +0200 (Sun, 20 Jul 2008) | 1 line
Fix compress() recipe in docs to use itertools.
........
r65150 | raymond.hettinger | 2008-07-20 01:58:47 +0200 (Sun, 20 Jul 2008) | 1 line
Clean-up itertools docs and recipes.
........
r65151 | gregory.p.smith | 2008-07-20 02:22:08 +0200 (Sun, 20 Jul 2008) | 9 lines
fix issue3120 - don't truncate handles on 64-bit Windows.
This is still messy, realistically PC/_subprocess.c should never cast pointers
to python numbers and back at all.
I don't have a 64-bit windows build environment because microsoft apparently
thinks that should cost money. Time to watch the buildbots. It builds and
passes tests on 32-bit windows.
........
r65155 | georg.brandl | 2008-07-20 13:50:29 +0200 (Sun, 20 Jul 2008) | 2 lines
#926501: add info where to put the docstring.
........
r65158 | neal.norwitz | 2008-07-20 21:35:23 +0200 (Sun, 20 Jul 2008) | 1 line
Fix a couple of names in error messages that were wrong
........
r65159 | neal.norwitz | 2008-07-20 22:39:36 +0200 (Sun, 20 Jul 2008) | 1 line
Fix misspeeld method name (negative)
........
r65176 | amaury.forgeotdarc | 2008-07-21 23:36:24 +0200 (Mon, 21 Jul 2008) | 4 lines
Increment version number in NEWS file, and move items that were added after 2.6b2.
(I thought there was a script to automate this kind of updates)
........
r65177 | amaury.forgeotdarc | 2008-07-22 00:00:38 +0200 (Tue, 22 Jul 2008) | 5 lines
Issue2378: pdb would delete free variables when stepping into a class statement.
The problem was introduced by r53954, the correction is to restore the symmetry between
PyFrame_FastToLocals and PyFrame_LocalsToFast
........
r65178 | benjamin.peterson | 2008-07-22 00:05:34 +0200 (Tue, 22 Jul 2008) | 1 line
don't use assert statement
........
r65183 | ronald.oussoren | 2008-07-22 09:06:00 +0200 (Tue, 22 Jul 2008) | 2 lines
Fix buglet in fix for issue3381
........
r65184 | ronald.oussoren | 2008-07-22 09:06:33 +0200 (Tue, 22 Jul 2008) | 2 lines
Fix build issue on OSX 10.4, somehow this wasn't committed before.
........
r65187 | raymond.hettinger | 2008-07-22 20:54:02 +0200 (Tue, 22 Jul 2008) | 1 line
Remove out-of-date section on Exact/Inexact.
........
r65188 | raymond.hettinger | 2008-07-22 21:00:47 +0200 (Tue, 22 Jul 2008) | 1 line
Tuples now have both count() and index().
........
r65189 | raymond.hettinger | 2008-07-22 21:03:05 +0200 (Tue, 22 Jul 2008) | 1 line
Fix credits for math.sum()
........
r65190 | raymond.hettinger | 2008-07-22 21:18:50 +0200 (Tue, 22 Jul 2008) | 1 line
One more attribution.
........
r65192 | benjamin.peterson | 2008-07-23 01:44:37 +0200 (Wed, 23 Jul 2008) | 1 line
remove unneeded import
........
r65194 | benjamin.peterson | 2008-07-23 15:25:06 +0200 (Wed, 23 Jul 2008) | 1 line
use isinstance
........
|
2008-07-23 16:10:53 +00:00 |
Benjamin Peterson
|
ee8712cda4
|
#2621 rename test.test_support to test.support
|
2008-05-20 21:35:26 +00:00 |