Ранее я уже упоминал о другой фишке из ˍˍfutureˍˍ , это оператор деления.
from __future__ import division
Суть проста. Раньше сложность типа данных результата поределялась типом самого сложного операнда.
Например:
int/int => int
int/float => float
В первом случае оба операнда int, значит и результат будет int. Во втором float более сложный тип, поэтому результат будет float.
Если нам требуется получить дробное значение при делении двух int то приходилось форсированно один из операндов конверировать в float.
12/float(5) => float
Но с новой "философией" это не требуется. В Python3 "floor division" заменили на "true division" а старый способ теперь работает через оператор "//".
>>> 3/2
1.5
>>> 3//2
1
То есть теперь деление int на int даёт float если результат не целое число.
В классах теперь доступны методы __floordiv__() и __truediv__() для определения поведения с этими операторами.
Данный переход описан в PEP238.
#pep#2to3#basic
#CPJ urges #Ethiopia to restore #Reuters journalists’ accreditation
The Committee to Protect Journalists (CPJ) has called on Ethiopian authorities to reinstate the accreditation of three journalists from Reuters after their reporting credentials were not renewed following a controversial report on Sudan’s conflict.
Last week, the government of Ethiopia declined to renew accreditation for three Addis Abeba-based journalists from Reuters and withdrew the accreditation to cover the 39th African Union (AU) Summit, days after the news agency published an investigative report alleging Ethiopia is hosting a training facility linked to Sudan’s Rapid Support Forces (RSF).
CPJ Africa Program Coordinator Muthoki Mumo described the move as part of “a troubling pattern of repressive regulatory action against international and independent press,” urging authorities to restore Reuters’ credentials and avoid treating critical journalism as a threat.
https://addisstandard.com/?p=55210
News: CPJ urges fair, transparent trials for four #Ethiopian journalists facing terrorism charges
The Committee to Protect Journalists (#CPJ) has called on Ethiopian authorities to ensure fair and transparent trials for four journalists who face potential death sentences or life imprisonment on terrorism charges.
In a statement issued today, 24 February 2026, CPJ urged due process protections for Gobeze Sisay, Meskerem Abera, Genet Asmamaw, and Dawit Begashaw, who have been in detention for nearly three years over their reporting on unrest in the Amhara region.
Gobeze Sisay of The Voice of Amhara was arrested in May 2023 in Djibouti and transferred under unclear circumstances to Ethiopia.
The four are expected to present their defense in May after a federal court ruled on February 4 that prosecutors had presented sufficient evidence for the case to proceed to trial.....
https://web.facebook.com/AddisstandardEng/posts/pfbid0voRExTEfa4g6PM5jgBBVLsBm8FvampoHPZDj5eyx4og4CufgARyvDrcR4WQE2DXSl
#Ethiopia revokes Addis Standard’s license amid escalating crackdown on independent media
The Committee to Protect Journalists calls on Ethiopian authorities to immediately restore the registration of independent outlet Addis Standard after the Ethiopian Media Authority (#EMA) revoked its online media registration certificate effective February 24.
“This is not regulation — it is retaliation,” said #CPJ Africa Director Angela Quintal. “By weaponizing vague‘national interest’ and ‘media ethics’ provisions, the Ethiopian Media Authority is silencing independent journalism. Revoking Addis Standard’s license is part of a deliberate campaign to dismantle critical reporting in Ethiopia. Authorities must immediately reinstate the outlet’s registration and end their escalating assault on the press.”
In a February 24 statement, the EMA accused Addis Standard of “repeatedly disseminating .....
https://web.facebook.com/AddisstandardEng/posts/pfbid0zjZP54WxmuGYmyTqHxPsmkawVJzr2NgAxUmHPJ6tvRz3gMv8i7UdNFeXKmtzVBLTl
News: CPJ urges immediate release of three female journalists detained by #Sudan’s RSF in #Darfur
The Committee to Protect Journalists (#CPJ) has called on Sudan’s Rapid Support Forces (#RSF) to immediately release three female journalists from Nyala State Radio who have been held in South Darfur since February 28.
Mawaheb Ibrahim, Zahraa Muhammad Al-Hassan, and Ishraqah Abdulrahman, a presenter and host at the station, were arrested while attending a workshop for female journalists in Nyala and transferred to Korea prison.
As of mid-March, they remain detained without formal charges or access to a court hearing, according to a local journalist who spoke to CPJ on condition of anonymity.
“The Rapid Support Forces must immediately release Nyala Radio journalists… and stop arbitrarily detaining members of the press,” said CPJ Regional Director Sara Qudah.........
https://www.facebook.com/AddisstandardEng/posts/pfbid02t2LyU7er97SdsVTLQtsetnF7pkiLq4V4Kqk2ULVgHsqgma7N1pi6rfYJ2ceCzRNVl
#MartyrsForTruth
⚡️The Russian Union of Journalists has published a report – Inconsistencies in the Public Accounting of Killed Journalists in 2025:: A Comparative Analysis of CPJ, UNESCO and IFJ Materials.
📄 FULL REPORT (PDF/ Telegraph)
❗️ The report is based on open sources and addresses a fundamental question: why do some cases of journalists being killed receive full international visibility, while others – despite being publicly recorded by international organisations such as #UNESCO, the International Federation of Journalists (#IFJ), and a number of international bodies – are effectively omitted from the statistics?
The analysis reveals inconsistencies between the Committee to Protect Journalists' (#CPJ) public reporting for 2025 and a number of cases involving Russian journalists whose deaths were recognized by other international bodies.
👉This raises questions not only about the integrity of the record, but about the credibility of the entire international system for documenting journalists’ deaths.
The analysis was prompted by the observed discrepancy between the CPJ’s overall reporting on Ukraine for 2025 and a number of cases involving Russian journalists and media workers, whose deaths were recorded and commented on by other international organisations.
More specifically, on February 25, 2026, the CPJ reported that 129 journalists and media workers were killed worldwide in 2025 – the highest figure in the organisation’s history. In the same review, the CPJ stated that four journalists were killed in Ukraine in 2025. The organisation’s public materials lists a number of Ukrainian journalists and French photojournalist Anthony Lallican among those cases.
❗️ At the same time, several cases involving Russian journalists and media workers killed in 2025 do not appear in the CPJ’s open-source materials, despite public statements by the IFJ and UNESCO, and, in a number of instances, reporting by Reuters. They include:
▪️Alexander Martemyanov
▪️Alexander Fedorchak
▪️ Alexander Sirkeli
▪️Andrey Panov
▪️Anna Prokofyeva
▪️Ivan Zuev
👉 The key question is not about disputing the figures or removing names already included in international lists. It is whether all comparable cases are being recorded publicly, consistently, and by the same standards.
That is why the focus of professional discussion should not be the slogan of “double standards” as such, but the specific gap between the CPJ’s published methodology and what can be observed in its public reporting on a number of 2025 cases.
When that consistency is missing – or left unexplained – it raises questions not just about one report, but about the credibility of the entire international system for documenting threats to journalists.
News: “Closing independent media outlets like #Wazema and #Addis_Standard is an attack on freedom of expression and democratic principles” – #EPRP
The #Ethiopian People's Revolutionary Party (EPRP) has condemned the closure of independent media institutions, describing actions against outlets including Wazema and Addis Standard as “an attack on freedom of expression and democratic principles,” as the Committee to Protect Journalists (#CPJ) called on authorities to immediately restore Addis Standard’s registration, warning that the move amounts to retaliation rather than regulation.
In a statement issued today, 25 February 2026, the party said shutting down independent media, revoking licenses of international outlets, and harassing media professionals undermines the country’s democratic trajectory.
“Preaching free and democratic elections while banning media, arresting and chasing away journalists, and locking down the civic space is mocking the public...
Read more: https://addisstandard.com/?p=55397
News: #CPJ calls for release of #Ethiopian journalists on International Women’s Day, warns of threats to press freedom
The Committee to Protect Journalists (CPJ) has called for the release of imprisoned women journalists worldwide, including Ethiopian reporters #Genet_Asmamaw and #Meskerem_Abera, warning that the criminalization of journalism and targeting of women reporting on politics pose serious threats to freedom of expression.
Marking International Women’s Day 2026, CPJ said the two journalists have been detained for nearly three years over their reporting and commentary on conflict in Ethiopia’s #Amhara region and could face the death penalty if convicted on terrorism charges.
According to CPJ, Genet and Meskerem are expected to present their defense in court in May. The organization said their continued detention highlights broader concerns about the safety........
https://web.facebook.com/AddisstandardEng/posts/pfbid02Qy6nAPq8AXY7A5SjctRTksb7Yoo4TCkButGSCm2xLmgVKcA1pGvb5tQPanjjqXAcl
News: #CPJ calls for release of #Addis_Standard editor seized by unidentified men
The Committee to Protect Journalists has called on #Ethiopian authorities to urgently locate and release #Million_Beyene, who was taken by unidentified individuals from the newsroom of Addis Standard in the capital.
In a statement issued on April 16, CPJ said Million was seized on Wednesday morning by a group of men in plainclothes from the outlet’s newsroom in #Addis_Abeba and taken to an undisclosed location.
#JAKENN Publishing PLC, publisher of Addis Standard, says the whereabouts of its Managing Editor, Million Beyene, remain unknown nearly 24 hours after he was taken by unidentified individuals from the newsroom.
In an update issued this morning, the publisher said concerns are growing over his safety, noting that his family is “increasingly distressed and deeply concerned.”
CPJ described the incident as alarming and urged authorities to determine those responsible
Read more: https://addisstandard.com/?p=56534