* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Friday, September 5, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    ITV Studios Launches New Entertainment Label – Global Bulletin – IMDb

    ITV Studios Unveils Exciting New Entertainment Label

    TS Entertainment bringing Malibu Jack’s to former Owensboro mall – Lane Report

    TS Entertainment Launches Malibu Jack’s at Former Owensboro Mall Location

    Jenny Han Dropped a Major ‘The Summer I Turned Pretty’ Easter Egg Revealing [SPOILER] – yahoo.com

    Jenny Han Just Unveiled a Huge ‘The Summer I Turned Pretty’ Easter Egg That Changes Everything [SPOILER]

    Liam Payne’s Cousin Ross Harris Honors Late Singer With Emotional Song ‘Bones’ – yahoo.com

    Liam Payne’s Cousin Ross Harris Honors Late Singer with Emotional New Song ‘Bones

    Country music star apologizes after drunken show ends with cops taking him down: ‘I’m not OK’ – PennLive.com

    Country Music Star Apologizes After Drunken Show Ends in Police Intervention: ‘I’m Not OK

    Comanche Nation Entertainment closes casino near Devol – KSWO 7News

    Comanche Nation Entertainment Closes Casino Near Devol in Surprising Move

  • 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
    Monkey Island LNG Picks ConocoPhillips’ Liquefaction Technology – Hart Energy

    Monkey Island LNG Selects ConocoPhillips’ Advanced Liquefaction Technology for Next-Gen Energy Solutions

    Credo Technology Group Holding Ltd. (CRDO) Surpasses Q1 Earnings and Revenue Estimates – Yahoo Finance

    Credo Technology Group Surpasses Q1 Earnings and Revenue Expectations

    The Economist is hiring a science and technology correspondent – The Economist

    Exciting Opportunity: Become Our Next Science and Technology Correspondent!

    Blockchain lender Figure Technology seeks to raise up to $526M in IPO (FIGR:Pending) – Seeking Alpha

    Blockchain Lender Figure Technology Sets Sights on $526M in Thrilling IPO Launch

    New Technology from Ramsey Theory Group Brings Diagnostic Testing and Telehealth Directly into Patients’ Homes – Yahoo Finance

    Revolutionary Ramsey Theory Technology Delivers Diagnostic Testing and Telehealth Right to Your Doorstep

    China’s CATL sells stake in Finnish subcontract car manufacturer – Reuters

    China’s CATL Sells Stake in Finnish Auto Supplier in Strategic Move

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    ITV Studios Launches New Entertainment Label – Global Bulletin – IMDb

    ITV Studios Unveils Exciting New Entertainment Label

    TS Entertainment bringing Malibu Jack’s to former Owensboro mall – Lane Report

    TS Entertainment Launches Malibu Jack’s at Former Owensboro Mall Location

    Jenny Han Dropped a Major ‘The Summer I Turned Pretty’ Easter Egg Revealing [SPOILER] – yahoo.com

    Jenny Han Just Unveiled a Huge ‘The Summer I Turned Pretty’ Easter Egg That Changes Everything [SPOILER]

    Liam Payne’s Cousin Ross Harris Honors Late Singer With Emotional Song ‘Bones’ – yahoo.com

    Liam Payne’s Cousin Ross Harris Honors Late Singer with Emotional New Song ‘Bones

    Country music star apologizes after drunken show ends with cops taking him down: ‘I’m not OK’ – PennLive.com

    Country Music Star Apologizes After Drunken Show Ends in Police Intervention: ‘I’m Not OK

    Comanche Nation Entertainment closes casino near Devol – KSWO 7News

    Comanche Nation Entertainment Closes Casino Near Devol in Surprising Move

  • 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
    Monkey Island LNG Picks ConocoPhillips’ Liquefaction Technology – Hart Energy

    Monkey Island LNG Selects ConocoPhillips’ Advanced Liquefaction Technology for Next-Gen Energy Solutions

    Credo Technology Group Holding Ltd. (CRDO) Surpasses Q1 Earnings and Revenue Estimates – Yahoo Finance

    Credo Technology Group Surpasses Q1 Earnings and Revenue Expectations

    The Economist is hiring a science and technology correspondent – The Economist

    Exciting Opportunity: Become Our Next Science and Technology Correspondent!

    Blockchain lender Figure Technology seeks to raise up to $526M in IPO (FIGR:Pending) – Seeking Alpha

    Blockchain Lender Figure Technology Sets Sights on $526M in Thrilling IPO Launch

    New Technology from Ramsey Theory Group Brings Diagnostic Testing and Telehealth Directly into Patients’ Homes – Yahoo Finance

    Revolutionary Ramsey Theory Technology Delivers Diagnostic Testing and Telehealth Right to Your Doorstep

    China’s CATL sells stake in Finnish subcontract car manufacturer – Reuters

    China’s CATL Sells Stake in Finnish Auto Supplier in Strategic Move

    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

Singapore Thrived in a US-Led World. Now What? – Bloomberg

Singapore Thrived in a US-Led World. Now What? – Bloomberg

September 5, 2025
Niger will be Africa’s fastest-growing economy in 2025, says World Bank – Peoples Dispatch

Niger will be Africa’s fastest-growing economy in 2025, says World Bank – Peoples Dispatch

September 5, 2025
Justin Bieber’s ‘Swag II’ Album Isn’t Out as Promised & It’s Keeping Fans Waiting – yahoo.com

Justin Bieber’s ‘Swag II’ Album Postponed, Fans Left Counting Down the Days

September 5, 2025
Kennedy draws bipartisan pushback at Senate hearing over moves to limit vaccines – NBC News

Kennedy Faces Strong Bipartisan Opposition at Senate Hearing Over Vaccine Restrictions

September 5, 2025
Stephen A. Smith is ready to talk politics: ‘I will spare no one’ – The Washington Post

Stephen A. Smith Is Ready to Dive Into Politics: ‘I Will Spare No One

September 5, 2025
Borgo Laudato si’: Pope Leo XIV to launch new ecological and spiritual chapter – Vatican News

Pope Leo XIV to Ignite a Powerful New Era of Ecological and Spiritual Renewal at Borgo Laudato Si

September 4, 2025
Scientific objectivity is a myth – cultural values and beliefs always influence science and the people who do it – The Conversation

Why Scientific Objectivity Is a Myth: How Culture Shapes Science and Its Practitioners

September 4, 2025
Nuclear Fuel: The Art And Science Of The Nuclear Renaissance – The National Interest

Nuclear Fuel Uncovered: The Art and Science Powering the New Energy Revolution

September 4, 2025

Ramlila Artists Embrace Healthy Lifestyles to Truly Bring Divine Characters to Life

September 4, 2025
Monkey Island LNG Picks ConocoPhillips’ Liquefaction Technology – Hart Energy

Monkey Island LNG Selects ConocoPhillips’ Advanced Liquefaction Technology for Next-Gen Energy Solutions

September 4, 2025

Categories

Archives

September 2025
MTWTFSS
1234567
891011121314
15161718192021
22232425262728
2930 
« Aug    
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 (807)
  • Economy (826)
  • Entertainment (21,704)
  • General (16,863)
  • Health (9,867)
  • Lifestyle (839)
  • News (22,149)
  • People (827)
  • Politics (833)
  • Science (16,036)
  • Sports (21,324)
  • Technology (15,806)
  • World (807)

Recent News

Singapore Thrived in a US-Led World. Now What? – Bloomberg

Singapore Thrived in a US-Led World. Now What? – Bloomberg

September 5, 2025
Niger will be Africa’s fastest-growing economy in 2025, says World Bank – Peoples Dispatch

Niger will be Africa’s fastest-growing economy in 2025, says World Bank – Peoples Dispatch

September 5, 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