Re: [Python-Dev] lament for the demise of unbound methods

2013-07-07 Thread Chris Withers
On 05/07/2013 11:26, Martin v. Löwis wrote: ... A.__getattribute__(A,'s') staticmethod object at 0x100937828 A.__getattribute__(A,'c') classmethod object at 0x100937860 A.__getattribute__(A,'r') function A.r at 0x100938378 Okay, but with this line: found = found.__getattribute__(found,

Re: [Python-Dev] PEP 446: Add new parameters to configure the inherance of files and for non-blocking sockets

2013-07-07 Thread Charles-François Natali
2013/7/7 Cameron Simpson c...@zip.com.au: On 06Jul2013 11:23, Charles-François Natali cf.nat...@gmail.com wrote: | I've read your Rejected Alternatives more closely and Ulrich | Drepper's article, though I think the article also supports adding | a blocking (default True) parameter to

Re: [Python-Dev] Accepting PEP 445

2013-07-07 Thread Antonio Cavallo
Yes that is indeed a great news. Having to debug some binary only extension modules that will make my (rather selfish) life so much easier ;) Thanks On 7 Jul 2013, at 00:04, Victor Stinner victor.stin...@gmail.com wrote: 2013/7/6 Antonio Cavallo a.cava...@cavallinux.eu: Could that remove

Re: [Python-Dev] Rough idea for adding introspection information for builtins

2013-07-07 Thread Larry Hastings
On 07/07/2013 07:19 AM, Ronald Oussoren wrote: Not entirely on topic, but close enough: pydoc currently doesn't use the __signature__ information at all. Adding such support would be easy enough, see #17053 for an implementation ;-) True, it doesn't use inspect.signature, it uses

Re: [Python-Dev] Rough idea for adding introspection information for builtins

2013-07-07 Thread Ronald Oussoren
On 7 Jul, 2013, at 13:35, Larry Hastings la...@hastings.org wrote: On 07/07/2013 07:25 AM, Ronald Oussoren wrote: Signature objects use a name in angled brackets to indicate that a parameter is positional only, for example input(prompt). That might be an alternative to adding a / in the

Re: [Python-Dev] PEP 446: Add new parameters to configure the inherance of files and for non-blocking sockets

2013-07-07 Thread Victor Stinner
2013/7/7 Charles-François Natali cf.nat...@gmail.com: 2013/7/7 Cameron Simpson c...@zip.com.au: On 06Jul2013 11:23, Charles-François Natali cf.nat...@gmail.com wrote: | I've read your Rejected Alternatives more closely and Ulrich | Drepper's article, though I think the article also supports

Re: [Python-Dev] Accepting PEP 445

2013-07-07 Thread Victor Stinner
2013/7/6 Antoine Pitrou solip...@pitrou.net: I'm accepting PEP 445 (A C API to customize memory allocators) by Victor. There is probably some grammar to correct here and there (neither Victor nor I are native English speakers), but I don't want this to hold back acceptance. The PEP is an

Re: [Python-Dev] Rough idea for adding introspection information for builtins

2013-07-07 Thread Larry Hastings
On 07/07/2013 01:42 PM, Ronald Oussoren wrote: On 7 Jul, 2013, at 13:35, Larry Hastings la...@hastings.org wrote: On 07/07/2013 07:25 AM, Ronald Oussoren wrote: Signature objects use a name in angled brackets to indicate that a parameter is positional only, for example input(prompt). That

Re: [Python-Dev] Rough idea for adding introspection information for builtins

2013-07-07 Thread Ronald Oussoren
On 7 Jul, 2013, at 19:20, Larry Hastings la...@hastings.org wrote: On 07/07/2013 01:42 PM, Ronald Oussoren wrote: On 7 Jul, 2013, at 13:35, Larry Hastings la...@hastings.org wrote: On 07/07/2013 07:25 AM, Ronald Oussoren wrote: Signature objects use a name in angled brackets to

Re: [Python-Dev] Rough idea for adding introspection information for builtins

2013-07-07 Thread Terry Reedy
On 7/7/2013 7:35 AM, Larry Hastings wrote: On 07/07/2013 07:19 AM, Ronald Oussoren wrote: Not entirely on topic, but close enough: pydoc currently doesn't use the __signature__ information at all. Adding such support would be easy enough, see #17053 for an implementation ;-) True, it