TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #175 · 30 окт.

В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks

Hashtags

Резултати

Пронајдени 2 слични објави

Пребарај: #eip8141

当前筛选 #eip8141清除筛选
以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1972 · 20.02.2026 г., 06:58

🤣FOCIL + EIP-8141 enable faster, censorship-resistant transaction inclusion on Ethereum. ⚡️ 這代表未來 Ethereum 在**抗審查能力、隱私應用與帳戶抽象(AA)**層面將進一步強化,提升 L1 的基礎協議競爭力。 #Ethereum#EIP8141#Privacy#Onchain#区块链#以太币#以太坊 ——— 🗣 “Ethereum is going hard.” 以太坊正持續在底層協議層面推進升級。 👇⭐️👇 🤣留言分享觀點 🥲👇

Crypto M - Crypto News

@CryptoM · Post #65229 · 12.04.2026 г., 06:24

🚀 Ethereum's Upcoming Glamsterdam Upgrade Progresses Amid Development Challenges Ethereum Foundation has released its latest development update, indicating steady progress in the upcoming Glamsterdam upgrade. According to Foresight News, while the implementation of ePBS (protocol-level PBS) is complex, the related development network is stabilizing, and the block-level access lists (BALs) development network is advancing smoothly. The current goal is to launch the first generalized Glamsterdam development network next week if the ePBS development network remains stable, followed by client releases, security audits, and test network testing. Additionally, EIP-7954, aimed at increasing the maximum contract size, is likely to be prioritized. The subsequent Hegotá upgrade has selected FOCIL (EIP-7805) as the core feature for the consensus layer, while the proposal for account abstraction (AA), EIP-8141, remains in a pending introduction (CFI) status due to lack of consensus. Non-core feature proposals for Hegotá were initiated on April 9. Regarding the network gas limit, the current benchmark target is set at 60 million, with higher limit testing ongoing. As for the upgrade timeline, Glamsterdam is unlikely to go live in the second quarter, and the progress of Hegotá will largely depend on the completion of the former. #Ethereum#Glamsterdam#ePBS#BALs#EIP7954#Hegotá#FOCIL#EIP7805#AccountAbstraction#EIP8141#Blockchain#Crypto#Upgrade#Development#ETH