[Python-Dev] Dead code in json/encoder?

2014-03-20 Thread anatoly techtonik
It looks like _one_shot parameter is always called with True argument and unused. What is the purpose of it? https://github.com/python/cpython/blob/de1b33f6e6071816a1fc52cd5f0c6cd47d704251/Lib/json/encoder.py#L239-L249 -- anatoly t. ___ Python-Dev mail

Re: [Python-Dev] 'Add/Remove Programs' entry missing for 'current user only' 32-bit installations on 64-bit Windows

2014-03-20 Thread Andrew M. Hettinger
Jurko Gospodnetić wrote on 03/19/2014 01:41:19 PM: > >Hi. > > >>Should I open a 'Add/Remove Programs' dialog related issue in the > >> CPython issue tracker? > > > > Please do. It would also good if somebody volunteered to reproduce > > the issue. > >Opened issue #20984. > >http

Re: [Python-Dev] Making proxy types easier to write and maintain

2014-03-20 Thread Daniel Holth
pypy's transparent proxy feature: http://pypy.readthedocs.org/en/latest/objspace-proxies.html#transparent-proxies On Thu, Mar 20, 2014 at 1:56 PM, Larry Hastings wrote: > On 03/20/2014 12:49 AM, Nick Coghlan wrote: > > So long as Graham's willing to go along with it, he doesn't have to to > be

Re: [Python-Dev] Making proxy types easier to write and maintain

2014-03-20 Thread Larry Hastings
On 03/20/2014 12:49 AM, Nick Coghlan wrote: So long as Graham's willing to go along with it, he doesn't have to to be the one to write the PEP. PEP? Why does it need a PEP? I didn't think it'd even be a new top-level library module, it'd be an addition / additions to functools. //arry/ ___

Re: [Python-Dev] Making proxy types easier to write and maintain

2014-03-20 Thread Nick Coghlan
On 20 March 2014 17:17, Larry Hastings wrote: > On 03/19/2014 08:49 PM, Nick Coghlan wrote: > > I had vague plans to bug Graham (yay, spelling!) about proposing wrapt for > inclusion in 3.5 (possibly split between functools and types rather than as > a completely new module, though). > > > I pinge

Re: [Python-Dev] Making proxy types easier to write and maintain

2014-03-20 Thread Larry Hastings
On 03/19/2014 08:49 PM, Nick Coghlan wrote: I had vague plans to bug Graham (yay, spelling!) about proposing wrapt for inclusion in 3.5 (possibly split between functools and types rather than as a completely new module, though). I pinged him about it for 3.4. He didn't have the time for i