Polskie forum Pythona
  • PyPolska
search
  • chevron_right Tematy
  • label Nowości

Python 3.15

rafalp
11 października 2026
chat_bubble_outline 1
  • link
    rafalp
    Zespół 104 posty
    11 października 2026 01:52 11 października 2026 01:52
    link

    Ukazał się Python 3.15!

    Release announcement: www.python.org/downloads/release/python-3150/

    Kilka benchmarków i porównań z poprzednimi wersjami: blog.miguelgrinberg.com/post/how-fast-is-python-3-15

    HibernateJPA i CC_PL lubią to.

    favorite 2

  • link
    CC_PL
    Członkowie 167 postów
    16 października 2026 20:03 16 października 2026 20:03
    link

    Ciekawa nowość to możliwość łatwego i szybkiego "flatten":

    Napisane przez python.org:

    lists = [[1, 2], [3, 4], [5]]
    [*L for L in lists] # equivalent to [x for L in lists for x in L]

    sets = [{1, 2}, {2, 3}, {3, 4}]
    {*s for s in sets} # equivalent to {x for s in sets for x in s}

    dicts = [{'a': 1}, {'b': 2}, {'a': 3}]
    {**d for d in dicts} # equivalent to {k: v for d in dicts for k,v in d.items()}

    HibernateJPA lubi to

    favorite 1

arrow_upward Idź do góry
  • PyPolska
  • pl.python.org
  • Regulamin serwisu
powered by misago