Re: [Python-Dev] Making proxy types easier to write and maintain
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 it. I hope we can talk him into it for 3.5, wrapt is pretty sweet! //arry/ ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Making proxy types easier to write and maintain
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 pinged him about it for 3.4. He didn't have the time for it. I hope we > can talk him into it for 3.5, wrapt is pretty sweet! So long as Graham's willing to go along with it, he doesn't have to to be the one to write the PEP. Just needs someone that understands the problem it's designed to solve and is willing to write it up as a PEP, and look at the question of whether it makes more sense to drop it in wholesale as a new module, or to break it up amongst existing modules. (and python-ideas discussion can help with that). One particularly thorny question to investigate: would it be possible to *implicitly* switch functools.wraps() over to using it? I suspect the backwards compatibility implications wouldn't be acceptable, but the idea at least needs to be looked into to identify the specific problems with the concept. Cheers, Nick. > > > /arry > > ___ > Python-Dev mailing list > [email protected] > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com > -- Nick Coghlan | [email protected] | Brisbane, Australia ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Making proxy types easier to write and maintain
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/ ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Making proxy types easier to write and maintain
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 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 > > ___ > Python-Dev mailing list > [email protected] > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/dholth%40gmail.com > ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] 'Add/Remove Programs' entry missing for 'current user only' 32-bit installations on 64-bit Windows
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://bugs.python.org/issue20984 > >Anyone have Windows 8 x64 available to try this out by any chance? > >Best regards, > Jurko Gospodnetić > I confirm this behavior on Windows 8.1 x64. (I added a note to the bug as well)___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Dead code in json/encoder?
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 mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
