This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients BreamoreBoy, christian.heimes, py.user, rhettinger, terry.reedy
Date 2014-01-03.23:57:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388793427.79.0.832465922444.issue18310@psf.upfronthosting.co.za>
In-reply-to
Content
It is an unfortunate (to my mind) but true fact that the docs do not indicate which functions are coded in C and for such functions, whether args passable by position can also be passed by name. If one wishes to pass by name, one simply has to experiment. The problem is possibly a bit worse for itertools because its docs have 'equivalent' Python code that is not quite equivalent for position-only C parameters. Solutions would be a fit topic for python-ideas list.

The tee docs do not describe 'n' as a keyword. They only indicate its default value, which is a different issue altogether.

The word 'keyword' only appears in the 'product' entry to describe the 'repeat' parameter. It there means 'pass by name only', as product() takes an indefinite number of positional iterables, so that a repeat value cannot be passed by position.


'user': please do not play with the Status: value. This is a good way to make yourself unpopular with developers. If a developer 'closes' an issue and you wish it 'reopened', ask and explain, and be willing for the request to be ignored or rejected.
History
Date User Action Args
2014-01-03 23:57:07terry.reedysetrecipients: + terry.reedy, rhettinger, christian.heimes, py.user, BreamoreBoy
2014-01-03 23:57:07terry.reedysetmessageid: <1388793427.79.0.832465922444.issue18310@psf.upfronthosting.co.za>
2014-01-03 23:57:07terry.reedylinkissue18310 messages
2014-01-03 23:57:07terry.reedycreate