Antoine Pitrou
721738fbee
Issue #15604 : Update uses of PyObject_IsTrue() to check for and handle errors correctly.
...
Patch by Serhiy Storchaka.
2012-08-15 23:20:39 +02:00
Antoine Pitrou
6f430e4963
Issue #15604 : Update uses of PyObject_IsTrue() to check for and handle errors correctly.
...
Patch by Serhiy Storchaka.
2012-08-15 23:18:25 +02:00
Martin v. Löwis
33cac8578b
Add safecase to silence Win64 warning.
2012-05-15 14:34:58 +02:00
Kristján Valur Jónsson
31668b8f7a
Issue #14288 : Serialization support for builtin iterators.
2012-04-03 10:49:41 +00:00
Martin v. Löwis
1c67dd9b15
Port SetAttrString/HasAttrString to SetAttrId/GetAttrId.
2011-10-14 15:16:45 +02:00
Martin v. Löwis
bd928fef42
Rename _Py_identifier to _Py_IDENTIFIER.
2011-10-14 10:20:37 +02:00
Martin v. Löwis
afe55bba33
Add API for static strings, primarily good for identifiers.
...
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
2011-10-09 10:38:36 +02:00
Mark Dickinson
a61b053e61
Merge #12973 itertools fix.
2011-09-24 08:57:00 +01:00
Mark Dickinson
b2f6bc72a2
Issue #12973 : Fix itertools bug caused by signed integer overflow. Thanks Stefan Krah.
2011-09-24 08:56:09 +01: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
5bf7091df0
Update docstrings for itertools.accumulate().
2011-03-27 18:59:51 -07:00
Raymond Hettinger
5d44613e3b
Add optional *func* argument to itertools.accumulate().
2011-03-27 18:52:10 -07: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
7a61e3c359
Merged revisions 81891 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r81891 | ezio.melotti | 2010-06-11 05:26:42 +0300 (Fri, 11 Jun 2010) | 9 lines
Merged revisions 81889 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81889 | ezio.melotti | 2010-06-11 05:21:25 +0300 (Fri, 11 Jun 2010) | 1 line
Remove extra ] from itertools.count docstring.
........
................
2010-06-11 02:28:37 +00:00
Ezio Melotti
bfd73faf86
Merged revisions 81889 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81889 | ezio.melotti | 2010-06-11 05:21:25 +0300 (Fri, 11 Jun 2010) | 1 line
Remove extra ] from itertools.count docstring.
........
2010-06-11 02:26:42 +00:00
Antoine Pitrou
7f14f0d8a0
Recorded merge of revisions 81032 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines
Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
................
2010-05-09 16:14:21 +00:00
Antoine Pitrou
f95a1b3c53
Recorded merge of revisions 81029 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
2010-05-09 15:52:27 +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
d3a77c0ad3
Fix docstrings for itertools combinatoric functions.
2009-11-19 01:23:41 +00:00
Raymond Hettinger
36c3c027ad
Fix docstrings for itertools combinatoric functions.
2009-11-19 01:20:07 +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
Benjamin Peterson
bbcd1eb64c
add sys prefix
2009-06-24 02:29:57 +00:00
Raymond Hettinger
ec7bfb314c
Issue 6305: Clarify error message for large arguments to itertools.islice().
2009-06-23 21:27:39 +00:00
Benjamin Peterson
912fbcade3
Merged revisions 69855 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69855 | benjamin.peterson | 2009-02-21 17:09:33 -0600 (Sat, 21 Feb 2009) | 1 line
fix compiler warnings
........
2009-02-21 23:14:55 +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
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
Benjamin Peterson
25e26a02f4
Merged revisions 69688,69690 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69688 | benjamin.peterson | 2009-02-16 15:07:52 -0600 (Mon, 16 Feb 2009) | 1 line
fix compiler warnings
........
r69690 | benjamin.peterson | 2009-02-16 15:23:04 -0600 (Mon, 16 Feb 2009) | 1 line
PyList_Append() can fail
........
2009-02-16 21:28:29 +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
6dfff19743
Fix spaces/tabs in example.
2009-02-12 10:19:59 +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
Benjamin Peterson
a86f2c06fd
Merged revisions 69466,69480 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69466 | raymond.hettinger | 2009-02-09 12:39:41 -0600 (Mon, 09 Feb 2009) | 3 lines
Issue 5171: itertools.product docstring missing 'repeat' argument
........
r69480 | raymond.hettinger | 2009-02-09 19:24:05 -0600 (Mon, 09 Feb 2009) | 1 line
Issue 1818: collections.namedtuple() to support automatic renaming of invalid fieldnames.
........
2009-02-10 02:41:10 +00:00
Mark Dickinson
e94c679df0
Issue #1717 : rename tp_compare to tp_reserved. I'll change the
...
type of tp_compare in a separate commit, for ease of reversion
should things go wrong.
2009-02-02 20:36:42 +00:00
Raymond Hettinger
811f3dc174
Fix typo.
2009-01-29 03:48:02 +00:00
Raymond Hettinger
3522a58665
Update itertools.__doc__ to include all tools.
2009-01-29 03:41:55 +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
Amaury Forgeot d'Arc
f343e01c17
Merged revisions 68560 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68560 | amaury.forgeotdarc | 2009-01-13 00:36:55 +0100 (mar., 13 janv. 2009) | 6 lines
#3720 : Interpreter crashes when an evil iterator removes its own next function.
Now the slot is filled with a function that always raises.
Will not backport: extensions compiled with 2.6.x would not run on 2.6.0.
........
2009-01-12 23:58:21 +00:00
Raymond Hettinger
5bad41eefc
Merge in r68394 fixing itertools.permutations() and combinations().
2009-01-08 21:01:54 +00:00
Martin v. Löwis
1a21451b1d
Implement PEP 3121: new module initialization and finalization API.
2008-06-11 05:26:20 +00:00
Georg Brandl
0c77a82c3d
Merged revisions 63829-63831,63858,63865,63879,63882,63948,63970-63972,63976,63989,64014-64015,64021-64022,64063-64065,64067 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63829 | mark.summerfield | 2008-05-31 15:05:34 +0200 (Sat, 31 May 2008) | 4 lines
Added a note to [] that special forms & special chars lose their meaning
and backrefs can't be used inside []
........
r63830 | georg.brandl | 2008-05-31 16:40:09 +0200 (Sat, 31 May 2008) | 2 lines
#3010 : clarification about stdin/use_rawinput.
........
r63831 | georg.brandl | 2008-05-31 16:45:55 +0200 (Sat, 31 May 2008) | 2 lines
#3005 : add explaining sentence to easydialogs docs.
........
r63858 | georg.brandl | 2008-06-01 18:41:31 +0200 (Sun, 01 Jun 2008) | 2 lines
Add plain text make target.
........
r63865 | georg.brandl | 2008-06-01 21:24:36 +0200 (Sun, 01 Jun 2008) | 2 lines
Spaces vs. tabs.
........
r63879 | gregory.p.smith | 2008-06-02 00:57:47 +0200 (Mon, 02 Jun 2008) | 3 lines
Make the _H #define's match the header file names. Fix comments to
mention the correct type names.
........
r63882 | gregory.p.smith | 2008-06-02 01:48:47 +0200 (Mon, 02 Jun 2008) | 3 lines
Adds a Thread.getIdent() method to provide the _get_ident() value for
any given threading.Thread object. feature request issue 2871.
........
r63948 | alexandre.vassalotti | 2008-06-04 22:41:44 +0200 (Wed, 04 Jun 2008) | 2 lines
Fixed complex.__getnewargs__() to not emit another complex object.
........
r63970 | andrew.kuchling | 2008-06-06 01:33:54 +0200 (Fri, 06 Jun 2008) | 1 line
Document 'utc' parameter
........
r63971 | andrew.kuchling | 2008-06-06 01:35:31 +0200 (Fri, 06 Jun 2008) | 1 line
Add various items
........
r63972 | andrew.kuchling | 2008-06-06 01:35:48 +0200 (Fri, 06 Jun 2008) | 1 line
Grammar fix
........
r63976 | georg.brandl | 2008-06-06 09:34:50 +0200 (Fri, 06 Jun 2008) | 2 lines
Markup fix.
........
r63989 | thomas.heller | 2008-06-06 20:42:11 +0200 (Fri, 06 Jun 2008) | 2 lines
Add a reminder for the maintainer of whatsnew.
........
r64014 | georg.brandl | 2008-06-07 17:59:10 +0200 (Sat, 07 Jun 2008) | 3 lines
Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()
to ease standalone use of the algorithm.
........
r64015 | georg.brandl | 2008-06-07 18:04:01 +0200 (Sat, 07 Jun 2008) | 2 lines
Revert unwanted changes.
........
r64021 | georg.brandl | 2008-06-07 20:16:12 +0200 (Sat, 07 Jun 2008) | 2 lines
X-ref to numbers module.
........
r64022 | georg.brandl | 2008-06-07 20:17:37 +0200 (Sat, 07 Jun 2008) | 3 lines
Document the "st" API, to avoid confusion with the "new" AST.
Add a note about using the new AST module.
........
r64063 | martin.v.loewis | 2008-06-10 07:03:35 +0200 (Tue, 10 Jun 2008) | 2 lines
Add Gregor Lingl.
........
r64064 | georg.brandl | 2008-06-10 09:45:28 +0200 (Tue, 10 Jun 2008) | 2 lines
Add the "ast" module, containing helpers to ease use of the "_ast" classes.
........
r64065 | raymond.hettinger | 2008-06-10 09:57:15 +0200 (Tue, 10 Jun 2008) | 1 line
Add Arnaud for his efforts on multi-arg set operations.
........
r64067 | georg.brandl | 2008-06-10 14:46:39 +0200 (Tue, 10 Jun 2008) | 2 lines
#2536 : fix itertools.permutations and itertools.combinations docstrings.
........
2008-06-10 16:37:50 +00:00
Neal Norwitz
d2bee32e9e
Fix a refleak
2008-04-01 07:37:58 +00:00