* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Saturday, August 9, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    Peacock’s Biggest Action Show Streams 2 New Episodes Sooner Than You Think – yahoo.com

    Peacock’s Hottest Action Show Drops 2 New Episodes Sooner Than Expected!

    Themed Entertainment Design – Purdue Polytechnic

    Innovative Themed Entertainment Design: Creating Immersive Experiences

    Rachael Leigh Cook and Brandon Routh ‘Happy to Have Found Each Other’ Following Respective Divorces – yahoo.com

    Rachael Leigh Cook and Brandon Routh ‘Happy to Have Found Each Other’ Following Respective Divorces – yahoo.com

    ‘Billie Jean’ – Hyde Park Herald

    The Enduring Magic Behind ‘Billie Jean’ Revealed

    Hank Hill returns to a changed world in new ‘King of the Hill’ episodes – New Haven Register

    Hank Hill Navigates a Bold New World in Thrilling New ‘King of the Hill’ Episodes

    Exclusive | Fox Takes Stake in IndyCar Owner Penske Entertainment – The Wall Street Journal

    Exclusive | Fox Takes Stake in IndyCar Owner Penske Entertainment – The Wall Street Journal

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    Technology, History, and Summer Camp at the Rhode Island Computer Museum – abc6.com

    Exploring Technology, History, and Summer Camp Adventures at the Rhode Island Computer Museum

    MBU showcases student work at Occupational Therapy Technology Fair – WHSV

    Discover the Most Innovative Student Projects at the Occupational Therapy Technology Fair

    BlackSky Technology Inc. (BKSY) Reports Q2 Loss, Lags Revenue Estimates – Yahoo Finance

    BlackSky Technology Inc. Reports Q2 Loss, Misses Revenue Targets

    Improved Technology Access: A Key to Closing the Healthcare Gap for African Americans – BIOENGINEER.ORG

    LMI Expands Technology Org, Appoints New Leaders – GovCon Wire

    LMI Expands Technology Team with Dynamic New Leadership Appointments

    Midland Innovation and Technology Charter School closing down – CBS News

    Midland Innovation and Technology Charter School Closes Permanently

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    Peacock’s Biggest Action Show Streams 2 New Episodes Sooner Than You Think – yahoo.com

    Peacock’s Hottest Action Show Drops 2 New Episodes Sooner Than Expected!

    Themed Entertainment Design – Purdue Polytechnic

    Innovative Themed Entertainment Design: Creating Immersive Experiences

    Rachael Leigh Cook and Brandon Routh ‘Happy to Have Found Each Other’ Following Respective Divorces – yahoo.com

    Rachael Leigh Cook and Brandon Routh ‘Happy to Have Found Each Other’ Following Respective Divorces – yahoo.com

    ‘Billie Jean’ – Hyde Park Herald

    The Enduring Magic Behind ‘Billie Jean’ Revealed

    Hank Hill returns to a changed world in new ‘King of the Hill’ episodes – New Haven Register

    Hank Hill Navigates a Bold New World in Thrilling New ‘King of the Hill’ Episodes

    Exclusive | Fox Takes Stake in IndyCar Owner Penske Entertainment – The Wall Street Journal

    Exclusive | Fox Takes Stake in IndyCar Owner Penske Entertainment – The Wall Street Journal

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    Technology, History, and Summer Camp at the Rhode Island Computer Museum – abc6.com

    Exploring Technology, History, and Summer Camp Adventures at the Rhode Island Computer Museum

    MBU showcases student work at Occupational Therapy Technology Fair – WHSV

    Discover the Most Innovative Student Projects at the Occupational Therapy Technology Fair

    BlackSky Technology Inc. (BKSY) Reports Q2 Loss, Lags Revenue Estimates – Yahoo Finance

    BlackSky Technology Inc. Reports Q2 Loss, Misses Revenue Targets

    Improved Technology Access: A Key to Closing the Healthcare Gap for African Americans – BIOENGINEER.ORG

    LMI Expands Technology Org, Appoints New Leaders – GovCon Wire

    LMI Expands Technology Team with Dynamic New Leadership Appointments

    Midland Innovation and Technology Charter School closing down – CBS News

    Midland Innovation and Technology Charter School Closes Permanently

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

And now for something completely different: Python 3.12

October 3, 2023
in Technology
And now for something completely different: Python 3.12
Share on FacebookShare on Twitter

Python 3.12, the latest stable release of the Python programming language, was released on Monday, offering developers a handful of new capabilities and the removal of some cruft.

The revision arrives almost a year after the previous stable release, Python 3.11.

Python has recently been ranked the most popular, second most popular, or third most popular programming language, depending on whom you ask. Whatever the case, it’s the lingua franca of data science and AI, and a common entry point into programming in academic settings.

The 3.12 release includes more accommodating f-strings, as was proposed in the Python Enhancement Proposal (PEP) 701.

An f-string, or formatted string literal, is a string literal prefixed by an ‘f’ – upper or lowercase – such that it can contain replacement fields within curly braces that get evaluated at run time. Most programming languages have something of the sort and with PEP 701, expression components within an f-string can be any valid Python expression. They can now handle multi-line expressions, comments, backslashes, and Unicode escape sequences.

PEP 695 offers an improved type parameter syntax that makes type variables easier to understand. It allows developers to declare type parameters “at a natural place within a class, function, or type alias declaration statement.”

Python implements a Global Interpreter Lock, or GIL, that prevents multiple Python threads from executing at the same time. The GIL is set to become optional in the next version of Python 3.13 because it hinders concurrency – it’s a safety bottleneck that blocks other threads.

In this release, Python has introduced a per-interpreter GIL with PEP 684. It allows the creation of sub-interpreters, which makes it easier to work with multiple CPU cores. Initially, this must be done with a C API, though a Python API is planned for 3.13. One of the potential use cases would be running sub-interpreters concurrently and accessing the shared state in a thread-safe C++ library.

From browser brat to backend boss: Will WASM win the web wars?

This profiler chatbot promises to help speed up your Python – we can believe it

Microsoft teases Python scripting in Excel

Sneaky Python package security fixes help no one – except miscreants

The latest Python update also arrives with support for PEP 669, a new API for profilers, debuggers, and other monitoring tools. PEP 669 is supposed to be “low-impact,” so it can be implemented in code without significant overhead – debuggers and profilers have been known to slow code down by an order of magnitude.

“We have been following and are looking at incorporating some of the modifications made as part of PEP 669 to improve the performance of monitoring,” University of Massachusetts Amherst computer science professor Emery Berger told The Register. Berger also noted that SlipCover – a near zero-overhead Python code coverage tool that he and graduate student Juan Altmayer Pizzorno developed – served as inspiration for PEP 669.

Berger, Pizzorno, and another graduate student, Sam Stern, also developed a Python profiler called Scalene. And Berger said he and his students are exploring how they can add some of the Python 3.12 changes into their existing projects.

“We plan to use [PEP 669] to further reduce the overhead of Scalene’s line-level tracking of memory usage, especially for some pathological cases,” said Berger. “No surprise, given SlipCover was used as justification for the PEP, we are looking at using it to streamline and future-proof the implementation of SlipCover.”

Other Python 3.12 improvements include PEP 688, which makes the buffer protocol – a way to access the underlying memory of an object – accessible via a Python API instead of just a C API, and PEP 709, which adds a compiler optimization called inlining to list, dictionary, and set comprehensions for improved performance.

Also, there are some type hint improvements, for those who prefer to be explicit about Python data types (PEP 692 and PEP 698). And error messages have been improved.

Finally, beyond the various module enhancements, a slew of older features were removed after several years in deprecation purgatory. All the details are available in the online documentation. ®

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : The Register – https://go.theregister.com/feed/www.theregister.com/2023/10/03/python_312_release/

Tags: completelysomethingtechnology
Previous Post

Dish Network Hit With Historic Fine Over Space Debris

Next Post

Microsoft kills its classic Azure DaaS, because it isn’t really Azure

Technology, History, and Summer Camp at the Rhode Island Computer Museum – abc6.com

Exploring Technology, History, and Summer Camp Adventures at the Rhode Island Computer Museum

August 9, 2025
Veteran sports reporter Wes Rucker joins WBIR – WBIR

Veteran Sports Reporter Wes Rucker Joins the WBIR Team

August 9, 2025
Netflix Scores Canadian Rights To FIFA Women’s World Cup For Next Two Tournaments – Deadline

Netflix Scores Canadian Rights To FIFA Women’s World Cup For Next Two Tournaments – Deadline

August 8, 2025
Professor Emeritus Peter Temin, influential and prolific economic historian, dies at 87 – MIT News

Renowned Economic Historian Professor Peter Temin Dies at 87

August 8, 2025
Peacock’s Biggest Action Show Streams 2 New Episodes Sooner Than You Think – yahoo.com

Peacock’s Hottest Action Show Drops 2 New Episodes Sooner Than Expected!

August 8, 2025
Nebraska doctors struggling with mental health issues had nowhere to go, until now – KSNB

Nebraska doctors struggling with mental health issues had nowhere to go, until now – KSNB

August 8, 2025
White House readies order to fine banks for dropping clients over politics, WSJ reports – Reuters

White House readies order to fine banks for dropping clients over politics, WSJ reports – Reuters

August 8, 2025
Icing‐related injuries in polar bears (Ursus maritimus) at high latitudes – Laidre – 2024 – Ecology – ESA Journals

Frozen Peril: The Devastating Impact of Icing Injuries on Polar Bears in the High Arctic

August 8, 2025
Carnegie Science Center launching new name in September – CBS News

Carnegie Science Center Unveils Exciting New Name This September

August 8, 2025
Petersburg youth explore Coho Creek for science education – Petersburg Pilot

Petersburg Youth Dive into Science with Hands-On Exploration of Coho Creek

August 8, 2025

Categories

Archives

August 2025
MTWTFSS
 123
45678910
11121314151617
18192021222324
25262728293031
« Jul    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (760)
  • Economy (783)
  • Entertainment (21,660)
  • General (16,354)
  • Health (9,823)
  • Lifestyle (793)
  • News (22,149)
  • People (784)
  • Politics (793)
  • Science (15,996)
  • Sports (21,281)
  • Technology (15,764)
  • World (766)

Recent News

Technology, History, and Summer Camp at the Rhode Island Computer Museum – abc6.com

Exploring Technology, History, and Summer Camp Adventures at the Rhode Island Computer Museum

August 9, 2025
Veteran sports reporter Wes Rucker joins WBIR – WBIR

Veteran Sports Reporter Wes Rucker Joins the WBIR Team

August 9, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version