Subscribe: Python | Dev
Preview: Python | Dev

Python | Dev

Mailing List Archive by Gossamer Threads

Last Build Date: 21 Oct 2016 23:12:16 -0800

Copyright: (c) Gossamer Threads Inc. All rights reserved.

Is there any remaining reason why weakref callbacks shouldn't be able to access the referenced object?

21 Oct 2016 00:09:21 -0800

Hi all, It's an old feature of the weakref API that you can define an arbitrary callback to be invoked when the referenced object dies, and that when

Re: Python-Dev Digest, Vol 159, Issue 27

20 Oct 2016 14:23:49 -0800

Hi Victor, Thanks for the great contribution to the unified benchmark development! In addition to the OutReachy program that we are currently suppo

Have I got my hg dependencies correct?

20 Oct 2016 04:47:42 -0800

I've recently run into a problem building the math and cmath modules for 2.7. (I don't rebuild very often, so this problem might have been around for

Benchmarking Python and micro-optimizations

20 Oct 2016 03:56:06 -0800

Hi, Last months, I worked a lot on benchmarks. I ran benchmarks, analyzed results in depth (up to the hardware and kernel drivers!), I wrote new tool doesn't export Pattern and Match; is that intentional

18 Oct 2016 11:08:19 -0800

E.g.: import typing print(typing.Pattern, typing.Match) # Works. from typing import * print(Pattern, Match) # NameError: name 'Pattern' is not def

Re: [Python-checkins] cpython (3.5): remove extra PyErr_Format arguments (closes #28454)

17 Oct 2016 02:43:00 -0800

On Sun, Oct 16, 2016 at 4:42 PM, benjamin.peterson wrote: > --- a/Objects/unicodeobject.c > +++ b/Objects/unicodeobject.c

Re: [Python-ideas] Show more info when `python -vV`

16 Oct 2016 23:18:38 -0800

(Added python-dev in CC list, because there are enough +1 already). On Mon, Oct 17, 2016 at 3:06 PM, Chris Angelico wrote: > On Mo

single dispatch for instance methods

13 Oct 2016 18:11:18 -0800

Hi All, It would be nice if the @singledispatch decorator worked on instance methods. I have a reference implementation on pypi that does this ( http

Update to PEP 1 re: content type

13 Oct 2016 11:09:11 -0800

Hello, PEP 1 states that plain/text is an acceptable value for a PEP's content type, and it is the default value if no content type is specified. Ma

Playing games with reference counts (was Re: PyWeakref_GetObject() borrows its reference from... whom?)

13 Oct 2016 04:41:14 -0800

On 10/10/2016 10:38 PM, Chris Angelico wrote: > On Tue, Oct 11, 2016 at 8:14 AM, Larry Hastings wrote: >> These hacks where we pl