Python joins movement to dump 'offensive' master, slave terms

Programming language bites its tongue to be more inclusive


Python creator Guido van Rossum retired as "benevolent dictator for life" in July, but like Michael Corleone in The Godfather III, he's been pulled back in to resolve a debate about politically incorrect language.

Like other open source communities, Python's minders have been asked whether they really want to continue using the terms "master" and "slave" to describe technical operations and relationships, given that the words remind some people of America's peculiar institution, a historical legacy that fires political passions to this day.

Last week Victor Stinner, a Python developer who works for Red Hat, published four pull requests seeking to change "master" and "slave" in Python documentation and code to terms like "parent," "worker," or something similarly anodyne.

"For diversity reasons, it would be nice to try to avoid 'master' and 'slave' terminology which can be associated to slavery," he explained in his bug report, noting that there have been complaints but they've been filed privately – presumably to avoid being dragged into a fractious flame war.

And when Python 3.8 is released, there will be fewer instances of these terms.

The Redis community wrestled with this last year. In 2014, Drupal, after some argument, swapped the terms "master" and "slave" for "primary" and "replica." The same year, Django traded "master" and "slave" for "leader" and "follower." CouchDB carried out a similar linguistic purge, also in 2014.

The debate goes back further still in the tech industry. In 2003, the County of Los Angeles briefly directed electronics makers doing business with the county to remove or change terms used in the identification or labeling of equipment or components that could be interpreted as discriminatory or offensive, such as "master" and "slave." Public complaints followed and the county backed down by insisting its directive was merely a request.

In 2004, word watching group Global Language Monitor cited the usage of "master" and "slave" in the tech industry as the most politically incorrect term that year. Industry usage of the terms dates back decades; they can be found in multiple RFCs, such as RFC 977 (1986).

Begun, the flame wars have

Predictably, not every Python developer participating in the discussion agrees with Stinner's changes. The comments in the bug report filed by Stinner echo every other online flame war on this topic.

"I'm not super-excited by the idea that Python has to change its behavior based on secret comments," lamented Larry Hastings. "Python has traditionally had a very open governance model where all discussions happen in public."

"Is it really necessary to pollute Python code base with SJW ideology/terminology?" asked Gabriel Marko. "What comes next?"

Data_image_via_Shutterstock

Redis releases respectable revision, tiptoes through tricky political terminology

READ MORE

Raymond Hettinger asked whether there's any demonstrable harm from the terms. "If a particular passage is demonstrably unclear or offensive, it should be changed; otherwise, we shouldn't let vaguely formed notions of political correctness shape other clear uses of plain English," he wrote.

"As far as I can't tell there isn't a single instance where the docs use 'master' as a reference to human slavery or where the use could be seen to imply an endorsement of that notion."

Finally, van Rossum stepped in to end what appears to be an irresolvable discussion. "I'm closing this now," he wrote. "Three out of four of Victor's [pull requests] have been merged. The fourth one should not be merged because it reflects the underlying terminology of UNIX ptys. There's a remaining quibble about 'pliant children' -> 'helpers' but that can be dealt with as a follow-up [pull request] without keeping this discussion open."

Getting rid of actual masters and slaves, however, will take more than a pull request. ®

Broader topics


Other stories you might like

  • North Korea pulled in $400m in cryptocurrency heists last year – report

    Plus: FIFA 22 players lose their identity and Texas gets phony QR codes

    In brief Thieves operating for the North Korean government made off with almost $400m in digicash last year in a concerted attack to steal and launder as much currency as they could.

    A report from blockchain biz Chainalysis found that attackers were going after investment houses and currency exchanges in a bid to purloin funds and send them back to the Glorious Leader's coffers. They then use mixing software to make masses of micropayments to new wallets, before consolidating them all again into a new account and moving the funds.

    Bitcoin used to be a top target but Ether is now the most stolen currency, say the researchers, accounting for 58 per cent of the funds filched. Bitcoin accounted for just 20 per cent, a fall of more than 50 per cent since 2019 - although part of the reason might be that they are now so valuable people are taking more care with them.

    Continue reading
  • Tesla Full Self-Driving videos prompt California's DMV to rethink policy on accidents

    Plus: AI systems can identify different chess players by their moves and more

    In brief California’s Department of Motor Vehicles said it’s “revisiting” its opinion of whether Tesla’s so-called Full Self-Driving feature needs more oversight after a series of videos demonstrate how the technology can be dangerous.

    “Recent software updates, videos showing dangerous use of that technology, open investigations by the National Highway Traffic Safety Administration, and the opinions of other experts in this space,” have made the DMV think twice about Tesla, according to a letter sent to California’s Senator Lena Gonzalez (D-Long Beach), chair of the Senate’s transportation committee, and first reported by the LA Times.

    Tesla isn’t required to report the number of crashes to California’s DMV unlike other self-driving car companies like Waymo or Cruise because it operates at lower levels of autonomy and requires human supervision. But that may change after videos like drivers having to take over to avoid accidentally swerving into pedestrians crossing the road or failing to detect a truck in the middle of the road continue circulating.

    Continue reading
  • Alien life on Super-Earth can survive longer than us due to long-lasting protection from cosmic rays

    Laser experiments show their magnetic fields shielding their surfaces from radiation last longer

    Life on Super-Earths may have more time to develop and evolve, thanks to their long-lasting magnetic fields protecting them against harmful cosmic rays, according to new research published in Science.

    Space is a hazardous environment. Streams of charged particles traveling at the speed of light, ejected from stars and distant galaxies, bombard planets. The intense radiation can strip atmospheres and cause oceans on planetary surfaces to dry up over time, leaving them arid and incapable of supporting habitable life. Cosmic rays, however, are deflected away from Earth, however, since it’s shielded by its magnetic field.

    Now, a team of researchers led by the Lawrence Livermore National Laboratory (LLNL) believe that Super-Earths - planets that are more massive than Earth but less than Neptune - may have magnetic fields too. Their defensive bubbles, in fact, are estimated to stay intact for longer than the one around Earth, meaning life on their surfaces will have more time to develop and survive.

    Continue reading

Biting the hand that feeds IT © 1998–2022