mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

739
active users

#python2

0 posts0 participants0 posts today
Simon Tatham<p>I wonder when I'll stop finding forgotten <a href="https://hachyderm.io/tags/Python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python2</span></a> scripts in dusty subdirectories which need hasty updating.</p><p>Apparently it won't be today.</p>
⏚ ȺՀղöɾէհ 🍉 βօӀìçҽ ժմ βօղƓօûէ<p>Pff, les paquets qui ont encore besoin de python2…</p><p><a href="https://framapiaf.org/tags/Python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python2</span></a> <a href="https://framapiaf.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a></p>
BLE TOU 202 FX National<p>Si Python 2 N'est Pas Disponible Sur Votre Distribution Linux, Il Faut Le Compiler ::::::::::::::::::::::::::::::: <a href="https://www.python.org/downloads/release/python-2718/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">python.org/downloads/release/p</span><span class="invisible">ython-2718/</span></a></p><p>Faite :::::::<br>./configure<br>make<br>sudo make install</p><p><a href="https://mamot.fr/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a> <a href="https://mamot.fr/tags/astuce" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astuce</span></a></p>
R.L. Dane :Debian: :OpenBSD: 🍵 :MiraLovesYou:<p><span class="h-card"><a href="https://polymaths.social/@amin" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>amin</span></a></span></p><p>Eh...</p><p>It's a rolling release, so it's got that going for it, but a lot/most of their custom utilities (such as the package manager) is still on Python 2, which is... <em>not</em> good.</p><p><code>/usr/bin/python</code> is even a symlink to <code>python2</code> which is <strong>really</strong> not good.</p><p>Small team. Looks like the original dev, who started a new distro, is going to re-work a lot of those things, which will be the basis for Solus going forward, so there's a lot of hope for newer and better utilities.</p><p>To be clear, my only real complaint so far is the python2-ness of it.</p><p>Also, they don't have a <code>ksh</code> package (which some of my scripts require), but I managed to compile the standard ksh2020.</p><p>I don't know if I will stay. <a href="https://polymaths.social/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python2</span></a> is kind of a deal-breaker.</p><p>Still slowly replicating my <a href="https://polymaths.social/tags/kde" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>KDE</span></a> <a href="https://polymaths.social/tags/plasma" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Plasma</span></a> setup from my work <a href="https://polymaths.social/tags/debian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Debian</span></a> box. I have a lot of custom keybinds that make it a <em>little</em> more like i3/sway for me.</p><p>My other options are Debian testing, <a href="https://polymaths.social/tags/freebsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> (probably will lose the ability to run KSP), or <a href="https://polymaths.social/tags/opensuse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSuSE</span></a> tumbleweed (if they can ever just enable polkit by default, already).</p>
postmodern<p>Spoke too soon about InfoSec projects still clinging to Python 2.7. Turns out my <a href="https://github.com/ronin-rb/ronin-payloads" rel="nofollow noopener noreferrer" target="_blank">ronin-payloads</a> project, a Ruby project, requires the <code>python2</code> package in order to test it's Python Payload Encoders under Python versions 2 <em>and</em> 3.<br><a href="https://github.com/ronin-rb/ronin-payloads/blob/1ae19ec2c3ae0a244b02d4a8cfc7d638c2414743/spec/encoders/builtin/python/base64_encode_spec.rb#L25-L31" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/ronin-rb/ronin-payl</span><span class="invisible">oads/blob/1ae19ec2c3ae0a244b02d4a8cfc7d638c2414743/spec/encoders/builtin/python/base64_encode_spec.rb#L25-L31</span></a></p><p>Appears that GitHub has recently updated their GitHub Actions Ubuntu VM to 24.04.1, which no longer has a <code>python2</code> package :(<br><a href="https://github.com/ronin-rb/ronin-payloads/actions/runs/13234890368/job/36937936068" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/ronin-rb/ronin-payl</span><span class="invisible">oads/actions/runs/13234890368/job/36937936068</span></a></p><p>Also looks like the <a href="https://github.com/actions/setup-python" rel="nofollow noopener noreferrer" target="_blank">setup-python</a> GitHub Action has also already removed python2.7.<br><a href="https://github.com/actions/setup-python/issues/672" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/actions/setup-pytho</span><span class="invisible">n/issues/672</span></a></p><p>This poses a bit of a problem for software which <em>needs</em> to test against other legacy software.</p><p><a href="https://infosec.exchange/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a> <a href="https://infosec.exchange/tags/githubactions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>githubactions</span></a></p>
9Lukas5 🚂 🐧<p>Imagine:<br>- small custom tool in <a href="https://mastodontech.de/tags/Python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python2</span></a> / <a href="https://mastodontech.de/tags/Jython" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Jython</span></a>, bundled to an .exe<br>- Last time bundled was a few years back<br>- executable used on CI server</p><p>Then:<br>- suddenly all builds across the Server fail 😳<br>- The CI server and your own PC fail executing your small tool, saying "This application needs <a href="https://mastodontech.de/tags/Java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java</span></a> 8" 🤔<br>- But your CI Server and own PC _have_ Java 8 installed 🤨<br>- The fellas around you have seemingly the same tools installed and can execute the tool 🧐</p><p><a href="https://mastodontech.de/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodontech.de/tags/magic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>magic</span></a> <a href="https://mastodontech.de/tags/CI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CI</span></a></p>
Horror Nerd Online<p>Python 2 | Full Monster Horror Movie | WATCH FOR FREE</p><p><a href="https://mastodon.social/tags/horror" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>horror</span></a> – <a href="https://mastodon.social/tags/Trailers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Trailers</span></a> – <a href="https://mastodon.social/tags/horrormovies" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>horrormovies</span></a> – <a href="https://mastodon.social/tags/Python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python2</span></a> – @GoldwynFilms – A man, his business partner, and his wife are enlisted to transport an unknown object from a Russian military base, only to discover that the object is a giant, genetically-altered python. …</p><p><a href="https://mastodon.social/tags/ad" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ad</span></a> <a href="https://mastodon.social/tags/horror" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>horror</span></a> <a href="https://mastodon.social/tags/Python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python2</span></a> <a href="https://mastodon.social/tags/Trailers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Trailers</span></a></p><p><a href="https://horrornerdonline.com/2024/10/python-2-full-monster-horror-movie-watch-for-free/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">horrornerdonline.com/2024/10/p</span><span class="invisible">ython-2-full-monster-horror-movie-watch-for-free/</span></a></p>
postmodern<p>Added integration tests for <a href="https://github.com/ronin-rb/ronin-payloads/tree/0.3.0#readme" rel="nofollow noopener noreferrer" target="_blank">ronin-payload</a>'s new payload encoders and discovered that Python2 does not support evaling a <code>print</code> statement. Python3 however added support for this.</p><pre><code>&gt;&gt;&gt; eval('print "test"')<br>Traceback (most recent call last):<br> File "&lt;stdin&gt;", line 1, in &lt;module&gt;<br> File "&lt;string&gt;", line 1<br> print "test"<br> ^<br>SyntaxError: invalid syntax<br></code></pre><p>Lol, wtf, how did people seriously tout Python2 over Python3. Even Ruby and JavaScript are more consistent.</p><p><a href="https://infosec.exchange/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a> <a href="https://infosec.exchange/tags/payloads" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>payloads</span></a> <a href="https://infosec.exchange/tags/roninrb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>roninrb</span></a></p>
Hugo van Kemenade<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@mariatta" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>mariatta</span></a></span> </p><p>Packages still depending on six (via "pipdeptree --reverse -p six"):</p><p>asttokens<br>bleach<br>fire<br>html5lib<br>ics<br>isodate<br>lplight<br>Mastodon.py<br>python-coveralls<br>python-dateutil</p><p><a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/six" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>six</span></a> <a href="https://mastodon.social/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a> <a href="https://mastodon.social/tags/pipdeptree" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pipdeptree</span></a></p>
David Bremner<p>I have discovered a new way to procrastinate making a talk: convert a legacy <a href="https://mathstodon.xyz/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a> codebase to <a href="https://mathstodon.xyz/tags/python3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python3</span></a>. Clearly this is better than just re-using figures I have lying around. <a href="https://mathstodon.xyz/tags/wcpgw" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wcpgw</span></a></p>
Nerdeiro :debian: :steamdeck:<p>Python gurus, can I wrap a function in more than one decorator at the same time? On the same topic, can I wrap a decorator in another decorator ?</p><p>Asking for a friend...</p><p><a href="https://fosstodon.org/tags/programing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programing</span></a> <a href="https://fosstodon.org/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a></p>
QuirkyFilms<p><a href="https://c.im/tags/Python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python2</span></a> (2002) 🐍<br>A man, his business partner, and his wife are enlisted to transport an unknown object from a Russian military base, only to discover that the object is a giant, genetically-altered python.<br><a href="https://c.im/tags/CreatureFeature" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CreatureFeature</span></a> <a href="https://c.im/tags/FilmsWithBite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FilmsWithBite</span></a> <br><a href="https://c.im/tags/FilmMastodon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FilmMastodon</span></a> 📽️ 🎬</p>
Joxean Koret (@matalaz)<p>Some questions regarding Ghidra:</p><p>* NetworkX libraries don't support Jython, right?<br>* Which Python 3.X bridge is the most used for Ghidra? Is it Ghidrathon? Or perhaps ghidra-bridge?<br>* Do you happen to know if there are differences big enough to worry about supporting Ghidrathon or Ghidra Bridge?</p><p><a href="https://mastodon.social/tags/Ghidra" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ghidra</span></a> <a href="https://mastodon.social/tags/NetworkX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NetworkX</span></a> <a href="https://mastodon.social/tags/Jython" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Jython</span></a> <a href="https://mastodon.social/tags/Ghidrathon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ghidrathon</span></a> <a href="https://mastodon.social/tags/GhidraBridge" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GhidraBridge</span></a><br><a href="https://mastodon.social/tags/Python3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python3</span></a> <a href="https://mastodon.social/tags/Python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python2</span></a></p>
IT News<p>PyOBD Gets Python3 Upgrades - One of the best things about open source software is that, instead of being lost t... - <a href="https://hackaday.com/2023/09/17/pyobd-gets-python3-upgrades/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackaday.com/2023/09/17/pyobd-</span><span class="invisible">gets-python3-upgrades/</span></a> <a href="https://schleuss.online/tags/softwarehacks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>softwarehacks</span></a> <a href="https://schleuss.online/tags/opensource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensource</span></a> <a href="https://schleuss.online/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a>-obd <a href="https://schleuss.online/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a> <a href="https://schleuss.online/tags/library" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>library</span></a> <a href="https://schleuss.online/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a> <a href="https://schleuss.online/tags/python3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python3</span></a> <a href="https://schleuss.online/tags/vehicle" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vehicle</span></a> <a href="https://schleuss.online/tags/elm327" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>elm327</span></a> <a href="https://schleuss.online/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://schleuss.online/tags/pyobd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pyobd</span></a> <a href="https://schleuss.online/tags/obd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>obd</span></a></p>
CryptGoat<p><span class="h-card"><a href="https://fosstodon.org/@richards" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>richards</span></a></span> Will <span class="h-card"><a href="https://mozilla.social/@mozilla" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>mozilla</span></a></span> ever release the code to a <a href="https://digitalcourage.social/tags/FirefoxSync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FirefoxSync</span></a> server that does not use <a href="https://digitalcourage.social/tags/Python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python2</span></a>?</p>
Bazza 🔶<p>¿Cómo puedo hacer que <a href="https://mograph.social/tags/Inkscape" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Inkscape</span></a> tome <a href="https://mograph.social/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a>.7 en lugar del <a href="https://mograph.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> del sistema?</p>
Mark Gardner<p><span class="h-card"><a href="https://home.social/@lolzac" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>lolzac</span></a></span> <span class="h-card"><a href="https://mastodon.social/@dmnelson" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>dmnelson</span></a></span> <span class="h-card"><a href="https://mastodon.social/@scriptingosx" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>scriptingosx</span></a></span> Yes, but <a href="https://social.sdf.org/tags/Apple" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Apple</span></a> has been slowly making good on the deprecations announced in <a href="https://social.sdf.org/tags/Catalina" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Catalina</span></a> (2019): <a href="https://developer.apple.com/documentation/macos-release-notes/macos-catalina-10_15-release-notes#Scripting-Language-Runtimes" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.apple.com/documentat</span><span class="invisible">ion/macos-release-notes/macos-catalina-10_15-release-notes#Scripting-Language-Runtimes</span></a></p><p>• Deprecated <a href="https://social.sdf.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> 2 in <a href="https://social.sdf.org/tags/Monterey" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Monterey</span></a> and quietly removed <a href="https://social.sdf.org/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a> (2021): <a href="https://developer.apple.com/documentation/macos-release-notes/macos-12_0_1-release-notes#Python" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.apple.com/documentat</span><span class="invisible">ion/macos-release-notes/macos-12_0_1-release-notes#Python</span></a><br>• Completely removed <a href="https://social.sdf.org/tags/Python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python2</span></a> in Monterey 12.3 (2022): <a href="https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes/#Python" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.apple.com/documentat</span><span class="invisible">ion/macos-release-notes/macos-12_3-release-notes/#Python</span></a><br>• With <a href="https://social.sdf.org/tags/Ventura" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ventura</span></a> (2022), running `python3` prompts you to install the <a href="https://social.sdf.org/tags/Xcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Xcode</span></a> Command Line Tools to get it. It's not part of the core <a href="https://social.sdf.org/tags/macOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>macOS</span></a> anymore.</p><p>The writing's on the wall.</p>
xenos 🐧🇵🇭<p>i wrote python2 utilities that read and write binary files from WWIV, various data files and wwivnet packets. converting these to python3 is a challenge because of differences in handling of string and binary between python2 and python3. i found it much easier in python2.</p><p><a href="https://mas.to/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://mas.to/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a> <a href="https://mas.to/tags/python3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python3</span></a> <a href="https://mas.to/tags/WWIV" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WWIV</span></a> <a href="https://mas.to/tags/WWIVDEV" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WWIVDEV</span></a></p>
bondolo<p>When your build process updates and replaces a <a href="https://mastodon.social/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a> or <a href="https://mastodon.social/tags/java8" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>java8</span></a> step with modern version. <a href="https://mastodon.social/tags/TinyJoys" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TinyJoys</span></a></p>
Fabian N. T.<p>Just in time with <a href="https://floss.social/tags/Debian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Debian</span></a> removing <a href="https://floss.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> 2 packages I'll be decommissioning a production service this week that was still using <a href="https://floss.social/tags/python2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python2</span></a> in parts. 😅</p><p>(Initial commit: March 2015 – yeah, we had Python 3.4 at that time, but 😬)</p>