LWN.net's Journal
 
[Most Recent Entries] [Calendar View]

Wednesday, June 9th, 2021

    Time Event
    3:36p
    Security updates for Wednesday
    Security updates have been issued by Debian (eterm, mrxvt, and rxvt), Mageia (cgal, curl, exiv2, polkit, squid, thunderbird, and upx), openSUSE (firefox and libX11), Oracle (libwebp, nginx:1.18, and thunderbird), Red Hat (.NET 5.0, .NET Core 3.1, 389-ds-base, dhcp, gupnp, hivex, kernel, kernel-rt, libldb, libwebp, microcode_ctl, nettle, postgresql:10, postgresql:9.6, qemu-kvm, qt5-qtimageformats, rh-dotnet50-dotnet, and samba), SUSE (apache2-mod_auth_openidc, firefox, gstreamer-plugins-bad, kernel, libX11, pam_radius, qemu, runc, spice, and spice-gtk), and Ubuntu (intel-microcode and rpcbind).
    4:57p
    [$] When and how to evaluate Python annotations
    Annotations in Python came late to the party; they were introduced in
    Python 3 as a way to attach information to functions describing their arguments and
    return values. While that mechanism had obvious applications for adding
    type information to Python functions, standardized interpretations for the
    annotations came later with type hints.
    But evaluating the annotations at function-definition time caused some
    difficulties, especially with respect to forward references to type names,
    so a Python Enhancement Proposal (PEP) was created to postpone their
    evaluation until they were needed. The PEP-described behavior was set to
    become the default in the upcoming Python 3.10 release, but that is
    not to be; the postponement of evaluation by default has itself been postponed in the
    hopes of unwinding things.

    << Previous Day 2021/06/09
    [Calendar]
    Next Day >>

LWN.net   About LJ.Rossia.org