On Mon, Apr 15, 2019 at 4:06 PM Nathaniel Smith wrote:
> On Mon, Apr 15, 2019, 15:27 Michael Sullivan wrote:
>
>> > The main question is if anyone ever used Py_TRACE_REFS? Does someone
>> > use sys.getobjects() or PYTHONDUMPREFS environment variable?
>>
>> I used sys.getobjects() today to track
On Mon, Apr 15, 2019 at 5:00 PM Michael Sullivan wrote:
>
> I've submitted PEP 591 (Adding a final qualifier to typing) for discussion to
> typing-sig [1].
I'm not on typing-sig [1] so I'm replying here.
> Here's the abstract:
> This PEP proposes a "final" qualifier to be added to the ``typing`
Hi Jukka,
Thanks for submitting this PEP, I think it will be a net plus for the
python language. I have been using TypedDict as a mypy_extensions module
and it's been a great help.
I found that the one thing that may be less intuitive and its design is the
totality property. The fact that you nee
I've submitted PEP 591 (Adding a final qualifier to typing) for discussion
to typing-sig [1].
Here's the abstract:
This PEP proposes a "final" qualifier to be added to the ``typing``
module---in the form of a ``final`` decorator and a ``Final`` type
annotation---to serve three related purposes:
*
On Mon, Apr 15, 2019, 15:27 Michael Sullivan wrote:
> > The main question is if anyone ever used Py_TRACE_REFS? Does someone
> > use sys.getobjects() or PYTHONDUMPREFS environment variable?
>
> I used sys.getobjects() today to track down a memory leak in the
> mypyc-compiled version of mypy.
>
>
> The main question is if anyone ever used Py_TRACE_REFS? Does someone
> use sys.getobjects() or PYTHONDUMPREFS environment variable?
I used sys.getobjects() today to track down a memory leak in the
mypyc-compiled version of mypy.
We were leaking memory badly but no sign of the leak was showing u
On Mon, 15 Apr 2019 at 22:35, Stefano Borini wrote:
>
> Hello,
>
> I am on a PEP scouting effort to check the current status of python
> packaging and its historical context, mostly for learning purposes. I
> noted that the PEP defines some functions for pkgutil (e.g.
> get_distributions), but I c
Hello,
I am on a PEP scouting effort to check the current status of python
packaging and its historical context, mostly for learning purposes. I
noted that the PEP defines some functions for pkgutil (e.g.
get_distributions), but I cannot find them.
I tried to do some searching on the mailing list
On 15Apr2019 1344, Christian Heimes wrote:
Hi Steve,
(memory dump before I go to bed)
Steve Grubb from Red Hat security pointed me to some interesting things
[1]. For instance there is some work on a new O_MAYEXEC flag for open().
Steve came to similar conclusions like we, e.g. streaming code f
On 28/03/2019 23.35, Steve Dower wrote:
> Hi all
>
> Time is short, but I'm hoping to get PEP 578 (formerly PEP 551) into
> Python 3.8. Here's the current text for review and comment before I
> submit to the Steering Council.
>
> The formatted text is at https://www.python.org/dev/peps/pep-0578/
On Mon, 15 Apr 2019 12:50:00 +0200
Antoine Pitrou wrote:
> On Thu, 11 Apr 2019 08:26:47 -0700
> Steve Dower wrote:
> > On 10Apr2019 1917, Nathaniel Smith wrote:
> > > It sounds like --with-pydebug has accumulated a big grab bag of
> > > unrelated features, mostly stuff that was useful at some p
On 12Apr2019 1819, Nathaniel Smith wrote:
On Fri, Apr 12, 2019 at 5:05 PM Steve Dower wrote:
On 12Apr.2019 1643, Nathaniel Smith wrote:
On Thu, Apr 11, 2019 at 8:26 AM Steve Dower wrote:
The very first question I asked was whether this would let us converge
the ABIs, and the answer was "no"
Hi everyone,
I submitted PEP 589 (TypedDict: Type Hints for Dictionaries with a Fixed
Set of Keys) for discussion to typing-sig [1].
Here's an excerpt from the abstract of the PEP:
PEP 484 defines the type Dict[K, V] for uniform dictionaries, where each
value has the same type, and arbitrary key
Hi Python devs,
I work on the Snapcraft [0] team at Canonical. I'm looking for a Python
contributor to collaborate with us on making snaps of supported releases of
Python available in the Snap Store [1].
Travis CI and Canonical are looking for someone (preferably North-America
based) to participa
I don't know if Julien Palard is on this mailing list, but maybe he
could be interested by this initiative.
On 04/15, Senthil Kumaran wrote:
Hello Python Developers,
Google is running a program called Season of Docs (
https://developers.google.com/season-of-docs/) to encourage technical
writers
Hello Python Developers,
Google is running a program called Season of Docs (
https://developers.google.com/season-of-docs/) to encourage technical
writers to improve the documentation of Open Source Projects.
As Python-Dev, and Python Software Foundation, do you think:
a) We should participate?
On Thu, 11 Apr 2019 08:26:47 -0700
Steve Dower wrote:
> On 10Apr2019 1917, Nathaniel Smith wrote:
> > It sounds like --with-pydebug has accumulated a big grab bag of
> > unrelated features, mostly stuff that was useful at some point for
> > some CPython dev trying to debug CPython itself? It's cle
On 2019-04-14 13:30, Mark Shannon wrote:
PY_VECTORCALL_ARGUMENTS_OFFSET exists so that callables that make onward
calls with an additional argument can do so efficiently. The obvious
example is bound-methods, but classes are at least as important.
cls(*args) -> cls.new(cls, *args) -> cls.__init__
On 2019-04-14 13:34, Mark Shannon wrote:
I'll address capability first.
I don't think that comparing "capability" makes a lot of sense since
neither PEP 580 nor PEP 590 adds any new capabilities to CPython. They
are meant to allow doing things faster, not to allow more things.
And yes, the
19 matches
Mail list logo