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

TGINSIGHT SIMILAR POSTS

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

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

Что нового добавили в REPL в Python 3.13 На самом деле серьезно его прокачали! ▫️Както я писал, что для выхода из REPL приходится писать exit, еще и скобки для вызова. И было бы удобней сделать это по аналогии с обычным терминалом. Видимо, я не один такой😁 В новом REPL добавили несколько команд: exit или quit: для выхода. Именно так, без вызова функции! clear: для очистки терминала help или F1: для входа в режим справки (q для выхода) ▫️ Автокомплит по TAB аналогичный Linux-терминалу. Одиночный TAB заполняет самое пхожее совпадение, двойной показывает все доступные варианты. Эти варианты фильтруются по мере набора. ▫️ Ранее при вставке многострочного кода с пустыми строками мы получали ошибку IndentationError, теперь это исправили. Хотя, в некоторых терминалах это даже с 3.6 работает нормально, но зависит от конкретной реализации именно терминала а не Python. На винде точно не работает до 3.13. Пример кода для теста в 3.12 и 3.13 class A: def test(self): pass ▫️ История ввода теперь учитывает многосрочные команды.При нажатии стрелки вверх появятся все строки из прошлого многосрочного ввода, по ним даже можно перемещаться и редактировать. По нажатию F2 можно открыть всю историю ввода. ▫️ Колоризация кода для tracebacks и doctest. Также я заметил что имеет цвет промт функции input(). Кстати, для тестов на винде без установки можно использовать портейбл версию из проектаWinPython. #release

Hashtags

Резултати

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

Глобално пребарување

Surge's Changelog

@SurgeChangelog · Post #1891 · 08.07.2025 г., 09:07

#Mac#Release Version 6.0.0-7180 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge's Changelog

@SurgeChangelog · Post #1889 · 08.07.2025 г., 06:55

#Mac#Release Version 6.0.0-7170 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge's Changelog

@SurgeChangelog · Post #1887 · 07.07.2025 г., 16:11

#Mac#Release Version 6.0.0-7160 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge's Changelog

@SurgeChangelog · Post #1885 · 07.07.2025 г., 15:43

#Mac#Release Version 6.0.0-7150 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge's Changelog

@SurgeChangelog · Post #1883 · 07.07.2025 г., 14:39

#Mac#Release Version 6.0.0-7140 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge's Changelog

@SurgeChangelog · Post #1881 · 07.07.2025 г., 12:54

#Mac#Release Version 6.0.0-7130 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge's Changelog

@SurgeChangelog · Post #1879 · 07.07.2025 г., 12:41

#Mac#Release Version 6.0.0-7120 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge's Changelog

@SurgeChangelog · Post #1877 · 07.07.2025 г., 12:28

#Mac#Release Version 6.0.0-7110 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

12•••5•••10•••15•••202122232425•••30•••35•••40•••45•••50•••55•••60•••6566
ПретходнаСтраница 23 од 66Следна