I don't work on these sorts of codebases, and I don't use type hints or
static type checking. So I'm not really qualified to judge how bad /
widespread a problem this is. It's my hope that the greater Python core
dev / user community can ascertain how serious this is.
My main observation i
Python 3.7.10 and 3.6.13, the lastest security fix rollups for Python 3.7 and
Python 3.6, are now available. You can find the release files, links to the
changelogs, and more information here:
https://www.python.org/downloads/release/python-3710/
https://www.python.org/downloads/release/
On Sun, Feb 14, 2021 at 7:17 PM Inada Naoki wrote:
> On Mon, Feb 15, 2021 at 10:20 AM Joseph Perez wrote:
> >
> > > How about having a pseudo-module called __typing__ that is
> > > ignored by the compiler:
> > >
> > > from __typing__ import ...
> > >
> > > would be compiled to a no-op, but recog
On Mon, Feb 15, 2021 at 4:11 PM Victor Stinner wrote:
>
> I didn't use Ruby on Rails, but the feedback that I heard is that the
> ability to extend built-in types is appealing, but it is problematic
> in practice.
>
Monkeypatching's such a part of the Ruby (and Javascript) culture that
there isn
On Tue, Feb 9, 2021 at 4:53 AM Kazantcev Andrey wrote:
> I decided to figure out why it is impossible to change methods of built-in
> types and found
> ```
> if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
> PyErr_Format(
> PyExc_TypeError,
> "can't set attribut
Hi Michał,
I created https://python-security.readthedocs.io/ website to track
known Python vulnerabilities to help me checking if fixes are
backported to all supported Python branches. I'm maintaing this list
manually, it's far from being complete, and likely outdated.
I also created https://gith
Hello,
I hope you are all well, I currently have an issue / merge request that has
become stale and as per the guidelines I am sending this e-mail to request
someone to review it for me please.
Issue Number: 42861 (https://bugs.python.org/issue42861)
Pull Request: 24180 (https://github.com/python
FWIW, it would really be nice if this was called IsInstance[...]; I feel
like that would neatly encapsulate its meaning to both old and new, that
it's just a yes/no on whether this is an instance of [...]. TypeScript has
the concept of a type guard but doesn't use that name in code, so there's
no r
On Mon, Feb 15, 2021 at 6:31 AM Inada Naoki wrote:
> * PYTHONWARNENCODING / warn_ecoding
(I love this "ecoding" typo, but it's not my favorite choice ;-))
I dislike "warn_encoding" because it is too generic. An encoding?
Which one? Why does anyone want to emit a warning when an encoding is
used?
See "A formal specification for the (C)Python virtual machine - Python
Language Summit 2020" by Mark Shannon:
https://pyfound.blogspot.com/2020/04/a-formal-specification-for-cpython.html
Victor
On Fri, Feb 12, 2021 at 7:40 PM Dan Stromberg wrote:
>
>
> What would it take to create an ANSI, ECMA
10 matches
Mail list logo