[issue11776] types.MethodType() params and usage is not documented

2011-04-05 Thread anatoly techtonik
New submission from anatoly techtonik : types.MethodType(function, instance) is used as a replacement for new.instancemethod(function, instance, class), but this usage is not documented. -- assignee: docs@python components: Documentation messages: 133089 nosy: docs@python, techtonik pri

[issue11776] types.MethodType() params and usage is not documented

2011-04-05 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue11776] types.MethodType() params and usage is not documented

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: All the types in the types module are, being types, potentially callable to produce instances of that type. But they are in types rather than builtins precisely because it is not expected that they be called directly. They are bound to names in types primaril

[issue11776] types.MethodType() params and usage is not documented

2011-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: Message is classified as spam. I am not sure if you see it. -- ___ Python tracker ___ ___ Python

[issue11776] types.MethodType() params and usage is not documented

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Messages that only consist of links are classified that way. To refer to other issues, use #x, as with #6040, but I have no idea which of the many messages you were referring to, so use msgxx. The stack overflow link http://stackoverflow.com/questions

[issue11776] types.MethodType() params and usage is not documented

2011-04-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg133353 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue11776] types.MethodType() params and usage is not documented

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: For anyone curious, I removed the falsely classified as spam message after copying the links into my previous message. -- ___ Python tracker _

[issue11776] types.MethodType() params and usage is not documented

2011-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: Nevermind about #6040 - I just used the same technique to provide a workaround and then remembered I've seen this recipe on StackOverflow. To me types is the right place, because that's exactly where are you sent from the docs of new module: Deprecated

[issue11776] types.MethodType() params and usage is not documented

2011-04-09 Thread Georg Brandl
Georg Brandl added the comment: When we do document types, their constructors and methods should also be documented. This is a valid request. -- nosy: +georg.brandl ___ Python tracker ___

[issue11776] types.MethodType() params and usage is not documented

2011-04-15 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11776] types.MethodType() params and usage is not documented

2012-07-22 Thread anatoly techtonik
anatoly techtonik added the comment: Still not documented.. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11776] types.MethodType() params and usage is not documented

2012-07-22 Thread anatoly techtonik
anatoly techtonik added the comment: Another 4 complains about missing references: http://stackoverflow.com/questions/1015307/python-bind-an-unbound-method -- ___ Python tracker __

[issue11776] types.MethodType() params and usage is not documented

2011-10-10 Thread Guandalino
Changes by Guandalino : -- nosy: +guandalino ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11776] types.MethodType() params and usage is not documented

2011-10-10 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11776] types.MethodType() params and usage is not documented

2011-10-16 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: +mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/